tinc 1.0.18 VPN: tinc ['installedpackages']['package']['$packagename']['config'] Config /pkg_edit.php?xml=tinc_config.xml Hosts /pkg.php?xml=tinc_hosts.xml enabled Name name This is the name which identifies this tinc daemon. It must be unique for the virtual private network this daemon will connect to. input Local IP localip IP Address of local tunnel interface. This is often the same IP as your routers LAN address, for example 192.168.2.1 input Local Subnet localsubnet Subnet behind this router that should be advertised to the mesh. This is usually your LAN subnet, for example 192.168.2.0/24 input VPN Netmask vpnnetmask This is the Netmask that defines what traffic is routed to the VPNs tunnel interface. It is usually broader then your local netmask, for example 255.255.0.0 input AddressFamily addressfamily This option affects the address family of listening and outgoing sockets. If "any" is selected, then depending on the operating system both IPv4 and IPv6 or just IPv6 listening sockets will be created. select RSA private key cert_key RSA private key used for this host. Include the BEGIN and END lines. <br> textarea base64 7 65 RSA public key cert_pub RSA public key used for this host. Include the BEGIN and END lines. <br> textarea base64 7 65 Extra Tinc Parameters extra Anything entered here will be added at the end of the tinc.conf configuration file. <br> textarea base64 8 65 Extra Host Parameters host_extra Anything entered here will be added just prior to the public certiciate in the host configuration file for this machine. <br> textarea base64 8 65 Interface Up Script tinc_up This script is executed right after the tinc daemon has connected to the virtual network device. By default a tinc-up file is created that brings up the tinc interface with the IP Address and Netmask specified above. Entering a value here complely replaces the default script so be sure to bring up the interface in this script. textarea base64 8 65 Interface Down Script tinc_down This script is executed right before the tinc daemon is going to close. textarea base64 8 65 Host Up Script host_up This script is executed when any host becomes reachable. textarea base64 8 65 Host Down Script host_down This script is executed when any host becomes unreachable. textarea base64 8 65 Subnet Up Script subnet_up This script is executed when any subnet becomes reachable. textarea base64 8 65 Subnet Down Script subnet_down This script is executed when any subnet becomes unreachable. textarea base64 8 65 /usr/local/pkg/tinc.inc tinc_save();