Openvpn is not working probably under routing mode !! ?

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
q8_legend
OpenVpn Newbie
Posts: 6
Joined: Tue Apr 09, 2013 3:17 pm

Openvpn is not working probably under routing mode !! ?

Post by q8_legend » Fri May 10, 2013 3:27 pm

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..

jerometam
OpenVpn Newbie
Posts: 1
Joined: Sat May 18, 2013 3:19 am

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

Post by jerometam » Sat May 18, 2013 3:20 am

Same issue when doing a routed site to site using both 1043nd@ddwrt 21286

Any idea?

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

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

Post by janjust » Sat May 18, 2013 7:55 am

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.

Post Reply