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

Notices



Reply
 
Search this Thread
Old 03-03-2009, 06:53 PM   #1
GGlinux
LQ Newbie
 
Registered: Oct 2008
Posts: 28

Rep: Reputation: 15
IPTABLES + vpn passthrough issue


Hi All,

I have been able to get multiple VPN connections through coova by writing the following in up.sh file

ipt -t raw -I PREROUTING -j NOTRACK -i $DHCPIF
ipt -t raw -I OUTPUT -j NOTRACK -o $DHCPIF
ipt -I FORWARD -j ACCEPT -i tun0 -p gre
ipt -I FORWARD -j ACCEPT -i tun0 -p tcp --dport 1723
ipt -I PREROUTING -t raw -j NOTRACK -i $DHCPIF
ipt -I OUTPUT -t raw -j NOTRACK -o $DHCPIF

I have an active IP address on eth1, 10.200.100.129/24. Now its all working but I need to allow SMTP, NTP and SNMP traffic to get out via eth1, but I can not because up.sh also has this:

ipt -A FORWARD -j DROP -i $DHCPIF
ipt -A FORWARD -j DROP -o $DHCPIF

Now if I remove the above two lines, or make any modifications, VPN traffic no longer works.

Is there anyone that can help me?
 
  


Reply


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
Kubuntu / Iptables / Windows VPN Issue Jiggs Linux - Networking 1 11-03-2008 07:00 PM
Login issue, local passthrough, remote is secure spitofire Slackware 3 02-15-2008 02:30 AM
Does iptables support ipsec passthrough? Niceman2005 Linux - Security 1 04-09-2007 01:13 AM
VPN passthrough on Shorewall antidelldude Linux - Networking 0 07-16-2006 01:55 AM
VPN Passthrough on Linux himyuza Linux - Networking 2 01-12-2006 05:59 AM


All times are GMT -5. The time now is 11:53 PM.

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