#Tinc View

Basic tools to generate an HTML visualisation of Tinc Networks.

##Example

Here is an example of a Tinc View page with 3 networks :

![Example of Tinc View page](doc/example.jpg)

##Installation

Prerequies and dependance :

    sudo aptitude install graphviz

Get project :

    git clone https://github.com/24eme/tincview.git
    
Html and Graph generation :

    make
    
Install crontab to update html :

    * * * * * cd path/to/tincview ; make > /dev/null

##Configuration

It exploits the tinc host configuration files and the native *DumpGraph* option (by default the graph file should be *network.graph*).

To add services and VPN Ip address of the host use extra configuration directives *NodeIP* and *HostedServices* in the *hosts* files. Here is a host example :

    #NodeIP=10.1.1.100
    #HostedServices=[http://10.1.1.100:8080/root/app|Tomcat]
    -----BEGIN RSA PUBLIC KEY-----
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    -----END RSA PUBLIC KEY-----


#Tinc View

Basic tools to generate an HTML visualisation of Tinc Networks.

##Example

Here is an example of a Tinc View page with 3 networks :

![Example of Tinc View page](doc/example.jpg)

##Installation

Prerequies and dependance :

    sudo aptitude install graphviz

Get project :

    git clone https://github.com/24eme/tincview.git
    
Html and Graph generation :

    make
    
You can configure Apache vhost

    https://github.com/24eme/tincview/blob/master/webviz/conf/tinc.conf.example
    
Install crontab to update html :

    * * * * * cd path/to/tincview ; make > /dev/null

##Configuration

It exploits the tinc host configuration files and the native *DumpGraph* option (by default the graph file should be *network.graph*).

To add services and VPN Ip address of the host use extra configuration directives *NodeIP* and *HostedServices* in the *hosts* files. Here is a host example :

    #NodeIP=10.1.1.100
    #HostedServices=[http://10.1.1.100:8080/root/app|Tomcat]
    -----BEGIN RSA PUBLIC KEY-----
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    -----END RSA PUBLIC KEY-----


Add doc to configure apache
Add doc to configure apache