[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Network Troublshooting  |  General Networking Support in Linux  |  Topic: OPENVPN /IPTABLES help
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: OPENVPN /IPTABLES help  (Read 831 times)
0 Members and 1 Guest are viewing this topic.
woodson2
New Member

Offline Offline

Posts: 3


View Profile
« on: November 05, 2008, 01:30:44 PM »

Hello, I have openvpn up and running successfully on FC9. I'm using routing mode with the following configuration

My internal LAN range 10.10.10.0/24
My Openvpn client range 10.8.0.0/24

I can connect and ping the openvpn server from the openvpn client but can't talk to the other machines on the internal LAN subnet. However, the machines on the internal LAN subnet can ping the openvpn clients. I have entered the following in iptables.



iptables -t nat -I POSTROUTING -s 10.10.10.0/24 -o eth0 -j MASQUERADE
iptables -I INPUT -i tun+ -j ACCEPT
iptables -I INPUT -i tap+ -j ACCEPT
iptables -I FORWARD -i tap+ -j ACCEPT
iptables -I FORWARD -i tun+ -j ACCEPT
iptables -I INPUT -i eth0 -j ACCEPT
iptables -I FORWARD -i eth0 -j ACCEPT


I have also added a route on my d-link router that routes any traffic destined to 10.8.0.0/24 back to the OPENVPN server(10.10.10.xxx). This all works as it should when the firewall is disabled so apparently I'm missing some rule in iptables...Any help would be greatly appreciated..thanks..
Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
IPTABLES General Networking Support in Linux michael 1 1074 Last post December 25, 2003, 01:35:48 AM
by Ricky
iptables with max bandwidth General Networking Support in Linux abc1234 1 1125 Last post April 04, 2004, 10:07:35 AM
by Ricky
iptables & ftp General Networking Support in Linux sathish 1 1155 Last post April 19, 2004, 07:12:00 AM
by Ricky
IPTABLES Configuration -------Help Linux Servers Support Saif 1 912 Last post July 25, 2004, 03:40:52 AM
by Ricky
How to configure iptables Linux Servers Support ReadOne 2 1239 Last post August 05, 2004, 05:30:36 AM
by ReadOne
Search LS
Welcome, Guest. Please login or register.
Did you miss your activation email?
January 09, 2009, 07:18:36 PM

Login with username, password and session length
Navigation
Recent Discussions
[Today at 02:54:26 PM]

[January 08, 2009, 12:15:15 PM]

[January 07, 2009, 03:23:30 PM]

[January 07, 2009, 02:58:26 PM]

[January 07, 2009, 12:37:06 PM]

[January 07, 2009, 12:34:14 PM]

[January 07, 2009, 08:17:54 AM]

[January 07, 2009, 05:38:55 AM]

[January 07, 2009, 05:08:39 AM]

[January 07, 2009, 05:06:15 AM]
Members
Total Members: 6359
Latest: mayursoni4u2u
Stats
Total Posts: 8440
Total Topics: 2299
Online Today: 13
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 5
Total: 5
Privacy Policy| Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Theme & TinyPortal v0.9.8 © Bloc