X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=examples%2Fosx%2Ftinc-up;fp=examples%2Fosx%2Ftinc-up;h=999f651b41c7dc183785a369deaa75e68963535c;hb=7c74a57cd95cfc0358fdd5980d9170ea16751dfb;hp=0000000000000000000000000000000000000000;hpb=f980b3945271b51a8a200c44b8d3e7d61d086bab;p=wiki diff --git a/examples/osx/tinc-up b/examples/osx/tinc-up new file mode 100644 index 0000000..999f651 --- /dev/null +++ b/examples/osx/tinc-up @@ -0,0 +1,3 @@ +#!/bin/sh + +ifconfig $INTERFACE 192.168.1.2 192.168.1.3 mtu 1500 netmask 255.255.255.255 #bring up an interface with ip 192.168.1.2. (the ip has to be the same as in you /hosts/myclient0 file). The second ip (192.168.1.3) is the ip of the client on the other side of the vpn tunnel. Usually it is set to be the next available ip.