Different DNS-configuration for groups?
Posted: Mon Oct 10, 2011 9:35 am
Hello,
I am looking for a way to push different DNS-servers to different users accessing the OpenVPN AS.
I am investigating the use of OpenVPN AS as a vpn concentrator for our hosting solution, and I have managed to make users of different company's connect to their company's servers through OpenVPN. The authentication is made through RADIUS/MOTP and it is working like a charm. My only headache is that I want the clients to use different DNS-servers depending of which company they belong to.
I know that this is possible running the standard openvpn client by putting "push "dhcp-option DNS XX.XX.XX.XX" in the configuration-file, but I want this to be bundled with the configuration file that is created by OpenVPN AS web-site.
Is it possible to make changes to the autogenerated configuration some way or is there some other solution to this?
Best regards
Erik
I am looking for a way to push different DNS-servers to different users accessing the OpenVPN AS.
I am investigating the use of OpenVPN AS as a vpn concentrator for our hosting solution, and I have managed to make users of different company's connect to their company's servers through OpenVPN. The authentication is made through RADIUS/MOTP and it is working like a charm. My only headache is that I want the clients to use different DNS-servers depending of which company they belong to.
I know that this is possible running the standard openvpn client by putting "push "dhcp-option DNS XX.XX.XX.XX" in the configuration-file, but I want this to be bundled with the configuration file that is created by OpenVPN AS web-site.
Is it possible to make changes to the autogenerated configuration some way or is there some other solution to this?
Best regards
Erik