Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have setup a router as server with openwrt. I have added the Dynamic DNS configuration.(I created an account with noip)

When I try to connect through openvpn (in a free wifi) , I am using my domain as gateway,it shows connected to my vpn but I have no internet access.

From the DNS configuration (noip) I am using

Host type: DNS(A)

Is there something else I must do/check?

I also have already done on router:

config  'rule'
    option 'target' 'ACCEPT'
    option 'dest_port' '1194'
    option 'src' 'wan'
    option 'proto' 'tcpudp'
    option 'family' 'ipv4'

The route -n after connected:

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface         UG    0      0        0 wlan0
79........... UGH   0      0        0 wlan0   U     0      0        0 tap0   U     9      0        0 wlan0 UGH   303    0        0 lo UGH   303    0        0 lo

The 79... is correct(my external ip). I don't know what is though.

My route -n before connecting to vpn:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface         UG    0      0        0 wlan0   U     9      0        0 wlan0 UGH   303    0        0 lo UGH   303    0        0 lo is routers ip.

I also tried to put in gateway port (at optional settings at network manager)'1194' but this doesn't work either.


Also , I noticed that resolv.conf before connecting to vpn is:

domain lan

and when connected:


Is that right? I tried to put

nameserver myhostname ,but still the same.

share|improve this question
after connecting, what is the output of "route -n" on the vpn client ? – aseaudi Jan 10 '14 at 22:30
@aseaudi:Hello,I updated my post.I think I must find a way to inport the port 1194 to network manager.. – George Jan 11 '14 at 10:16
1. after you connect to your router, can you ping the lan hosts behind your router? – aseaudi Jan 11 '14 at 13:28
2. your default route is pointing to your vpn server router, remove it and add another default route to the wifi gateway instead, also try to use another subnet for your vpn i.e. – aseaudi Jan 11 '14 at 13:29
@aseaudi:For your first question I can't test it because I have 1 desktop and it can't access signal.The laptop ok.For the second question can you please give write me the instructions?Because I am not sure..You mean "route del" and "route add" ,while I am connected to vpn? – George Jan 11 '14 at 13:55
up vote 1 down vote accepted

Try to assign a different subnet for the vpn.

For example set the ip address of the vpn server to and vpn client to

On the router, there is a file /etc/config/openvpn:

option 'server_bridge' ''
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .