2013-10-02 19:45:50 +00:00
|
|
|
#!/bin/sh
|
2013-10-03 09:16:59 +00:00
|
|
|
ifconfig $INTERFACE <DEINE IP> netmask 255.255.255.255
|
|
|
|
route del -net <DEINE IP> netmask 255.255.255.255 dev $INTERFACE
|
2013-10-02 19:45:50 +00:00
|
|
|
route add -net 10.42.0.0 netmask 255.255.0.0 dev $INTERFACE
|
2013-10-02 22:45:50 +00:00
|
|
|
|
2013-10-02 23:42:24 +00:00
|
|
|
printf "nameserver 10.42.16.1\ndomain vpn" | resolvconf -a "$INTERFACE.inet"
|