Connected but without routing or ip change !! ?
Posted: Wed Apr 10, 2013 10:52 am
After spending hours & hours for setting up openvpn to my DDWRT router(Wndr3700v2) & without having a chance of success. I have finally get it to be kind of working(just connected without routing, so its useless :p).. I don't know why its not routed !! the ip isn't changed at all !! just it say connected & everything is the same(I mean like its not connected at all , since it doesn't route the packet to my server !!)..
I have tried many things without any chance of luck(connecting), this is the only method(setting) that worked for me..
only using the web gui(config), when I try to use the config(command) its not working nor connected..
before posting the config for the server & the client, i just want to mention that when i'm using the default port for openvpn(1194) it won't connect at all, i don't know why !! I discovered it by trail & error
.
so, I have to change the port to another port..
this is my server config(using GUI):

This is my client config:
and this is the tutorial that worked for me(GUI method; & only connected without routing):
http://www.dd-wrt.com/wiki/index.php/OpenVPN
Note:
I'm using DD-WRT v24-sp2 (03/25/13) std;SVN revision 21061.
Thanks alot
I have tried many things without any chance of luck(connecting), this is the only method(setting) that worked for me..
only using the web gui(config), when I try to use the config(command) its not working nor connected..
before posting the config for the server & the client, i just want to mention that when i'm using the default port for openvpn(1194) it won't connect at all, i don't know why !! I discovered it by trail & error

so, I have to change the port to another port..
this is my server config(using GUI):

This is my client config:
Code: Select all
client
dev tun
proto udp
remote xx.xx.xx.xx 1234
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
ns-cert-type server
comp-lzo
verb 3
and this is the tutorial that worked for me(GUI method; & only connected without routing):
http://www.dd-wrt.com/wiki/index.php/OpenVPN
Note:
I'm using DD-WRT v24-sp2 (03/25/13) std;SVN revision 21061.
Thanks alot