set generic ip
This commit is contained in:
parent
0cbec4bf35
commit
f0c77c819a
3
tinc-up
3
tinc-up
|
@ -1,5 +1,6 @@
|
|||
#!/bin/sh
|
||||
echo "add your ip to this file!"
|
||||
exit 1
|
||||
ifconfig $INTERFACE 10.42.1.10 netmask 255.255.255.255
|
||||
ifconfig $INTERFACE <YOUR IP> netmask 255.255.255.255
|
||||
route del -net <YOUR IP> netmask 255.255.255.255 dev $INTERFACE
|
||||
route add -net 10.42.0.0 netmask 255.255.0.0 dev $INTERFACE
|
||||
|
|
Loading…
Reference in New Issue