LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
LinkBack Search this Thread
Old 12-16-2001, 09:20 PM   #1
jbrandis
LQ Newbie
 
Registered: Dec 2001
Location: Sydney
Distribution: red hat 7.1
Posts: 6

Rep: Reputation: 0
Exclamation IPTABLES and GRE PPTP working


Hi All, Sorry for all the messages

OK, I have got IPTABLES able to pass GRE and PPTP through the firewall and then back to a specified host.
However, I setup up a second host on my LAN to use a second external interface to go out on but the connection fails.

I know why but I dont know how to fix it. I tell iptables to

POSTROUTING -s 192.168.1.30 -o eth0 -p tcp --sport 1723 -j SNAT --to-source x.x.217.22
POSTROUTING -s 192.168.1.30 -o eth0 --proto gre -j SNAT --to-source x.x.217.22

I can then tell via a tcpdump that packets are not coming back in for this host, but for 192.168.1.60 which operates on x.x.217.21

Can any one help with this

Thanks so much, I shall be buying you all beers (or fruit juice)

Last edited by raz; 12-17-2001 at 04:21 AM.
 
Old 12-17-2001, 04:28 AM   #2
raz
Member
 
Registered: Apr 2001
Location: London
Posts: 408

Rep: Reputation: 31
Sounds like the limitation I mentioned.
http://www.linuxquestions.org/questi...threadid=10143

I also edited your post and changed the source IP address, just in case you used a real one.
I'm guessing it's a secure server and shouldn't be publicly announced.

/Raz
 
Old 10-27-2005, 10:14 AM   #3
centershore
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
Who wrote the source for GRE tunneling?

Who or what group wrote the source for GRE on Linux?
 
Old 10-27-2005, 10:15 AM   #4
centershore
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
Who or what group wrote the source for GRE on linux?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Port forward GRE and PPTP using IPtables twistedpair Linux - Networking 18 05-07-2011 07:23 AM
Vpn poptop - CTRL: PTY read or GRE write failed (pty,gre)=(5,6) dezeque Linux - Networking 8 12-11-2009 01:56 PM
GRE keepalives. How can a SUSE 9.0 Linux box send GRE keepalives? dlef Linux - Networking 1 06-28-2005 12:00 PM
Win2000 PPTP behind IPTables 09kevin77 Linux - Security 2 05-02-2005 09:11 AM
Pptp Vpn Iptables jrmann1999 Linux - Networking 1 08-20-2004 11:26 AM


All times are GMT -5. The time now is 04:14 PM.

Main Menu
 
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
Open Source Consulting | Domain Registration