fixed subnets
This commit is contained in:
parent
ad3ff46583
commit
f18d10cbed
@ -1,3 +1,8 @@
|
||||
# Public Address: optional
|
||||
#Address = mydomain.com
|
||||
|
||||
# einzelne IP
|
||||
Subnet = <DEINE IP>/32
|
||||
|
||||
# komplettes Subnet (z.B. /24-Netz)
|
||||
#Subnet = <DEINE NETZID>/24
|
||||
|
@ -1,6 +1,5 @@
|
||||
#!/bin/sh
|
||||
ifconfig $INTERFACE <DEINE IP>/32 netmask 255.255.255.255
|
||||
route del -net <DEINE IP>/32 netmask 255.255.255.255 dev $INTERFACE
|
||||
route add -net 10.42.0.0 netmask 255.255.0.0 dev $INTERFACE
|
||||
|
||||
printf "nameserver 10.42.16.1\nsearch vpn" | resolvconf -a "$INTERFACE.inet"
|
||||
ifconfig $INTERFACE <DEINE IP> netmask 255.255.0.0
|
||||
|
||||
# printf "nameserver 10.42.16.1\nsearch vpn" | resolvconf -a "$INTERFACE.inet"
|
||||
|
Loading…
Reference in New Issue
Block a user