OpenWrt Forum Archive

Topic: openvpn unable to see remote network

The content of this topic has been archived on 16 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi. I did follow the site https://wiki.openwrt.org/doc/howto/vpn.openvpn to create an openvpn server.
I can connect but i cannot see anything on the LAN of the openwrt of even the router. when i browse the internet it gives me the public ip of the provider that i am connected from, not the public ip of the openwrt.
could someone help me over here, please?
Running chaos calmer.

To route all the clients traffic through the VPN, execute:

uci add_list openvpn.myvpn.push='redirect-gateway def1'

unable to execute the command. something is wrong

Perhaps you could be more specific...

this is the guide i used
http://www.bitbull.ch/notes/post/openvp … n-openwrt/
when i issue the commands you mentioned, it appears that the command is wrong.
i would like to be able to have all the traffic to LAN thtough the VPN. ALL traffic to the internet to use the local provider.
Any ideas on how to fix my issue please?

The discussion might have continued from here.