Page 1 of 1

Openvpn is not working probably under routing mode !! ?

Posted: Fri May 10, 2013 3:27 pm
by q8_legend
Hi Guys

I have a "Netgear WNDR3700 v2" with the latest build of DDWRT "DD-WRT v24-sp2 (04/15/13) std",(SVN revision 21286) . but unfortunately, the Openvpn in the routing mode doesn't work. it does connect to it(Openvpn server) but without the internet, only connected to my lan and I can access the router through the browser(as I'm in my lan) but without having any chance to use the internet. so, its useless.

I did make it works(full functionality),but using the bridge mode not the routing mode, and I need to establish it as the routing mode.

This is my setting:

server:
Image

client:

Code: Select all

remote xx.xx.xx.xx 12345

client 
remote-cert-tls server 
dev tun 
proto tcp
resolv-retry infinite 
nobind 
persist-key 
persist-tun 
float 

auth SHA1
cipher BF-CBC

ca ca.crt 
cert client1.crt 
key client1.key 

ns-cert-type server 
mute-replay-warnings 

comp-lzo adaptive 
verb 3 

so, where did I make it wrong ??

Thanks alot..

Re: Openvpn is not working probably under routing mode !! ?

Posted: Sat May 18, 2013 3:20 am
by jerometam
Same issue when doing a routed site to site using both 1043nd@ddwrt 21286

Any idea?

Re: Openvpn is not working probably under routing mode !! ?

Posted: Sat May 18, 2013 7:55 am
by janjust
smells like a dd-wrt issue (which I have no experience with).
Set up routed mode, add

Code: Select all

verb 5
to the client config and connect; post the client connection log; if the server is not pushing the right info it should appear here; do note that in routed mode you'll probably need masquerading/iptables rules to make it work on the dd-wrt box.