The server cannot access external IP address, such as with apt-get.
I have searched quite a few times for this problem. I have tried various options in the server.conf and I have followed this: openvpn and resolv.conf.
But still no luck.
Basically, with OpenVPN running, resolv.conf has no nameserver IP address, just the lines:
Code: Select all
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
I have tried adding:
Code: Select all
user nobody
group nobody