LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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
  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



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
Vpn poptop - CTRL: PTY read or GRE write failed (pty,gre)=(5,6) dezeque Linux - Networking 9 08-26-2016 10:39 AM
Port forward GRE and PPTP using IPtables twistedpair Linux - Networking 19 04-12-2015 08:12 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:07 AM.

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