8 lines
244 B
Bash
Executable File
8 lines
244 B
Bash
Executable File
#!/bin/sh
|
|
echo "add your ip to this file!"
|
|
exit 1
|
|
ifconfig $INTERFACE 10.42.1.10 netmask 255.255.255.255
|
|
route add -net 10.42.0.0 netmask 255.255.0.0 dev $INTERFACE
|
|
|
|
printf "nameserver 10.42.16.1\ndomain vpn" | resolveconf -a "$INTERFACE.inet"
|