Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-26-2008, 10:56 AM   #1
LQ Newbie
Registered: Aug 2004
Location: Laval, FR
Distribution: Debian Sarge 2.6.9
Posts: 25

Rep: Reputation: 15
See subnets with OpenVpn/IpTables

Hi everyone,

I've just setup an OpenVPN server at my hosting company and I'm trying to tunnel all my LAN traffic through the server but I can't see the computers on the other subnet. OpenVPN is routed (tun)

Server Public IP : 91.121.19.??/
Server VPN IP :

Lan Setup:

WRT54GL (OpenWRT) Router as OpenVPN Client:
- Public IP (my provider) : 88.163.41.??/ gw
- LAN IP :
- VPN IP : (automatically set)

Test computer:
- LAN IP : gw

I successfully connect my client (the router) and the server with OpenVPN and I succesfully ping each other with their VPN IP addresses (10.66.67.X) but I can't reach the Server from the test computer and I can't ping the router LAN IP from the Server.

I suspect IPTable on the Router blocking some things but I can't see what is the problem

Could you please tell me which routes/gateways I should have on both sides and the IPTables rules on the OpenVPN Client (the router).

I'm completely lost. Thanks a lot for your help.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Will IPTables w/ NAT conflict w/ OpenVPN? licht Linux - Security 1 07-19-2007 08:22 PM
iptables multiple subnets routing question azdruid Linux - Networking 1 06-28-2006 09:05 AM
Applying iptables rules to multiple subnets eggi Linux - Networking 2 01-04-2006 10:29 PM
iptables block IP subnets bratch Linux - Networking 5 02-07-2005 02:03 AM
Using iptables to only allow certain subnets access ThePlague Linux - Networking 7 12-29-2004 11:11 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration