Import old website, converted to MarkDown format.
[wiki] / examples / osx / tinc-up
diff --git a/examples/osx/tinc-up b/examples/osx/tinc-up
new file mode 100644 (file)
index 0000000..999f651
--- /dev/null
@@ -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.