Per-User DNS configuration does not work

sskaje sskaje at gmail.com
Tue Jun 24 09:56:11 PDT 2014


I’m using 0.8.0, as it’s said in the manual,


# Configuration files that will be applied per user connection or

# per group. Each file name on these directories must match the username

# or the groupname.

# The options allowed in the configuration files are dns, nbns,

# ipv?-network, ipv4-netmask, ipv6-prefix, rx/tx-per-sec, iroute, route,

# net-priority, deny-roaming, no-udp and cgroup



I tried to add lines to my per-user conf, route and dns, leaving both
empty in etc/config, route works but not dns

dns pushed to client using

X-CSTP-DNS:

are lines in etc/config, even it’s left empty, none of dns lines in my
config file below is pushed.




# cat etc/config-per-user/dnsonly

dns = 114.114.114.114

dns = 8.8.8.8


# Google routes

route = 8.8.0.0/255.255.0.0

route = 216.239.32.0/255.255.224.0

route = 64.233.160.0/255.255.224.0

route = 66.249.80.0/255.255.240.0

route = 72.14.192.0/255.255.192.0

route = 209.85.128.0/255.255.128.0

route = 66.102.0.0/255.255.240.0

route = 74.125.0.0/255.255.0.0

route = 64.18.0.0/255.255.240.0

route = 207.126.144.0/255.255.240.0

route = 173.194.0.0/255.255.0.0




https://sskaje.me/

sskaje at gmail.com



More information about the openconnect-devel mailing list