2013-10-02 19:45:50 +00:00
|
|
|
#!/bin/sh
|
2013-10-03 10:49:11 +00:00
|
|
|
ifconfig $INTERFACE <DEINE IP>/32 netmask 255.255.255.255
|
|
|
|
route del -net <DEINE IP>/32 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-03 13:08:40 +00:00
|
|
|
printf "nameserver 10.42.16.1\nsearch vpn" | resolvconf -a "$INTERFACE.inet"
|