Help - Use E3000 as OpenVPN client for site to site ONLY

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
djanice
DD-WRT Novice


Joined: 31 Dec 2010
Posts: 2

PostPosted: Fri Dec 31, 2010 8:22    Post subject: Help - Use E3000 as OpenVPN client for site to site ONLY Reply with quote
I purchased a Linksys E3000 to try and use as a VPN gateway to my remote network. I am attempting to set it up as an Openvpn client.

I have:

Turned off wan Port.
Turned off spi firewall
Change mode from gateway to router.
Turned off both wifi radios.
Connected to Ethernet port 1
Assigned ip address to 192.168.1.2
Setup my cisco router static routes to use E3000 as gateway for remote site LAN network.
enabled Openvpn client
Setup proper encryption and pasted certificates and keys.
Successfully connected to server and have been assigned an ip address from the pool I configured in Openvpn as server.
Ran route command on E3000 and have been pushed all appropriate routes from Openvpn as server.
Ran ifconfig and noticed that ip address is assigned to tun1 interface properly.
However NO tx or rx packets go through tun1.
I cannot ping remote site. I cannot ping from remote site either. I get no replies.
I can telnet to E3000 and send ping to dynamic pool gateway and notice that tun1 has packets but still get no response.
I have tried tons of iptables commands but I can't figure it out. It seems like it should work!
I have tested my Openvpn as server from a windows machines and it works properly. I can go to another machine and route through the Openvpn client machine and connect to the remote site with no problems. For some reason I just haven't been able to do it with dd-wrt. I'm sure it has to do with my limited Linux knowledge and iptables experience or something. Do I have to use the router as my gateway device for this to work properly???

Any help would be appreciated.

Thanks

David
Sponsor
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Sat Jan 01, 2011 13:31    Post subject: Reply with quote
wiki
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
djanice
DD-WRT Novice


Joined: 31 Dec 2010
Posts: 2

PostPosted: Mon Jan 10, 2011 23:41    Post subject: Reply with quote
Fixed it.... Wiki was no help to me LOL. Too much info for my brain!!!

I'm using OpenVPN Access Server.

I configured my server.

I setup USB and copied my autologon config from the Access Server software "client.ovpn" on it.

I saved a startup script:

openvpn --config /mnt/client.ovpn

I saved some firewall "rules":

iptables -I FORWARD -i br0 -o tun0 -j ACCEPT
iptables -I FORWARD -i tun0 -o br0 -j ACCEPT

Voila
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum