In order to get the search domain past to te client a change must be made to the /etc/penvpn/server.conf file. The problem is that untangle is constantly rewriting this file on any change to the vpn. The command that passes the search domain is
push "dhcp-option DOMAIN your.domain"
This needs to be inserted with the other nerwork exports. To make the change sticky add this line to the openvpn start up script usr/share/untangle/openvpn/start-openvpn
insert this line
sed -i -e 's@# Exports@# Exports\npush "dhcp-option DOMAIN your.domain"@' /etc/openvpn/server.conf
right after
echo "Starting the openvpn server"
The OpenVPN is working great now. This setting really should be made available from the gui.
Thanks I hope this helps.
push "dhcp-option DOMAIN your.domain"
This needs to be inserted with the other nerwork exports. To make the change sticky add this line to the openvpn start up script usr/share/untangle/openvpn/start-openvpn
insert this line
sed -i -e 's@# Exports@# Exports\npush "dhcp-option DOMAIN your.domain"@' /etc/openvpn/server.conf
right after
echo "Starting the openvpn server"
The OpenVPN is working great now. This setting really should be made available from the gui.
Thanks I hope this helps.
Comment