Opened 6 years ago

Last modified 5 years ago

#1251 infoneeded bug

openvpn "safe surf" dns resolution doesn't work

Reported by: Thomas Horner <…> Owned by:
Priority: normal Milestone:
Component: fon-plugin-openvpn Version: rc1
Severity: unknown
Cc: Hardware: both


in file /etc/init.d/openvpn you can find the following code:

	[ "$WAN" = "1" ] && {
		DNS=`uci get fon.lan.ipaddr`
		PUSH="--push \"dhcp-option DNS $DNS\" --push \"redirect-gateway bypass-dhcp\""

however, this code does seem to be wrong. the code that correctly works for me is:

	[ "$WAN" = "1" ] && {
		DNS=`uci get fon.wan.dns`
		PUSH="--push \"dhcp-option DNS $DNS\" --push \"redirect-gateway bypass-dhcp\""

this will use the external dns servers which - other than the localhost - correctly resolve external domainnames.

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by matthijs

  • Cc work is already done / solution: see description removed
  • Status changed from new to infoneeded
  • Type changed from enhancement to bug

The current code is intentionally like this, it tells OpenVPN clients to use the Fonera as a DNS server. The Fonera runs dnsmasq, which should correctly forward DNS queries to the upstream DNS servers.

I'm also pretty positive that this actually worked for me around the release, though I can't be 100% sure. Perhaps there is something in your setup that conflicts (perhaps the LAN your OpenVPN client connects from uses the same 192.168.10.x network range as the Fonera your connecting to)?

In any case, you should probably try the release instead of the rc1, there have been a few significant changes since the rc1.

PS, seems you misinterpreted the CC field, the helptext above it is intended for the Severity field instead :-)

comment:2 Changed 5 years ago by Jaray

Overall Rating Comp speed US/UK servers Customer sopuprt Ive been using VyprVPN for a few months now. Before that, I was goinging through a SSH service with mixed results. The service is provided free with my usenet service. So far, its been terrible. My connection speed is around 80Mbps or 4 times faster than the average cable modem connection. Going through VyprVPN, I can only hope to get around 1.5 Mbps. Many times I cant get enough speed to listen to an audio stream. The service has a really hard time connecting through most of the router here in Korea and even back in America.

comment:3 Changed 5 years ago by Asin

Can I ask? What is the<a href=""> prswsoad</a> of WTHDAdministrator ? is it the<a href=""> prswsoad</a> which you set at Directory Services Restore Mode Administrator Password (minute 4:07)? or it is the<a href=""> prswsoad</a> of your windows Administrator account?I've having problem with this kind of<a href=""> prswsoad</a> ((((

comment:4 Changed 5 years ago by anonymous

I try this fix and works for me. I have the fonera 2.0n on brigde mode and without changes the fonera dont push the dns.

Add Comment

Modify Ticket

as infoneeded The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.