X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=examples%2Fon-firewall.mdwn;h=e6451689e0be12d02f5f1a181543b8397b83dfb3;hb=88d7b27291882e23bb9dc1298d5759af1e54d918;hp=e2cce3faed542714fdddaf81e1e0a65e09f3c1d7;hpb=7c74a57cd95cfc0358fdd5980d9170ea16751dfb;p=wiki diff --git a/examples/on-firewall.mdwn b/examples/on-firewall.mdwn index e2cce3f..e645168 100644 --- a/examples/on-firewall.mdwn +++ b/examples/on-firewall.mdwn @@ -94,13 +94,13 @@ The network setup is as follows: > firewall# cat /etc/tinc/vpn/tinc.conf > Name = office -> Device = /dev/tun > ConnectTo = branch +> Interface = vpn > > firewall# cat /etc/tinc/vpn/tinc-up > #!/bin/sh > -> ifconfig vpn 10.20.30.1 netmask 255.255.0.0 +> ifconfig $INTERFACE 10.20.30.1 netmask 255.255.0.0 > > firewall# ls /etc/tinc/vpn/hosts > office branch employee_smith employee_jones ...