Suggestion:Missing Item in OpenVPN UI

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
User avatar
alienheartbeat
Posts: 22
Joined: Fri Feb 15, 2013 6:59 am
Location: Hong Kong
Contact:

Suggestion:Missing Item in OpenVPN UI

Post by alienheartbeat »

When specifying the OpenVPN settings through the GUI,
there is nowhere to specify DNS servers.

But if one specifies:

Code: Select all

   "Clients Use VPN for:  All Client Traffic"
then the usual VPN servers cannot be reached,
and even thogh the vpn is set up, the internet cannot be browed by domain name, only ip.

At the moment this needs to be solved editing the file:

Code: Select all

/etc/openvpn/ccd/<clientname>
and adding lines similar to the below for each DNS server to use:

Code: Select all

push "dhcp-option DNS 8.8.8.8"
To do this requires ssh and vi, which not all users choosing Gargoyle might know.

Suggest an option for setting DNS servers through the gui be added.

Another reason for doing this through the gui is that settings set by the cli can be overwritten by a gui "save changes". eg adding a new client overwrites any cli changes you made to previously set up clients.

Let me know if I have got this all wrong - it is my first time setting up an openvpn server.
http://alien-heartbeat.com

Post Reply