daemon
log /dev/null
allow * * * *
auth strong
users user:CL:pass
nserver 8.8.8.8
nserver 77.88.8.8
nscache 65536
proxy -p1234 -n -a -i1.2.3.4 -e1.2.3.4
socks -p1235 -i1.2.3.4 -e1.2.3.4
# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:16:25:01:de:1d brd ff:ff:ff:ff:ff:ff
inet 1.1.1.1/24 brd 1.1.1.1 scope global noprefixroute eth0
valid_lft forever preferred_lft forever
inet 192.168.0.100/32 brd 192.168.0.100 scope global eth0:1
valid_lft forever preferred_lft forever
inet6 fe80::216:25ff:fe01:de1d/64 scope link
valid_lft forever preferred_lft forever
9: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 100
link/none
inet 10.0.0.1 peer 10.0.0.2/32 scope global tun0
valid_lft forever preferred_lft forever
# ifconfig -a | grep "UP" | grep -v "lo" | awk -F ": " '{ print $1 }'
eth0
eth0:1
tun0