LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-26-2002, 05:30 AM   #1
glenlynam
LQ Newbie
 
Registered: Jul 2002
Posts: 3

Rep: Reputation: 0
IPTables and VPN Problems


Hi All!

I am having trouble setting up my VPN with IPSec BUT i do have a strange set up ... here it is..

Internal Network - Watchguard - Linux - Internet - Host

Basically what happens is this, the watchguard box authenticates the VPN log ins and my linux box acts as a second firewall and a router. Using NAT

I have got it to work as far as the watchguard firebox authenticates the user via the linux firewall forwarding all the relevant data to it BUT when the watchguard sends a reply back to the client it isnt getting there. I think its my linux box which is blocking the data getting to the client.

Does anyone know of rules that will allow the data back out??

ps. The data ports the watchguard needs are ...
udp 500
ip 50 (ESP)
ip51 (AH)
 
Old 07-29-2002, 12:18 AM   #2
krunkwick
Member
 
Registered: Jun 2002
Location: Memphis
Distribution: Suse 8.0 Pro
Posts: 45

Rep: Reputation: 15
I dont think your going to be able to run this like you want. Since NATting manipulates the packet headers, the IPSEC wont work right. You have two choices here:

1) Move your vpn server to the linux box. You can run Freeswan (IPSEC for linux) on the linux box and do something else with Watchguard.

2) Trade places with the Linux box and Watchguard. Have Watchguard sitting on the internet with Linux behind it.

IPSEC needs to be implemented on the Linux Firewall/router or after it. If NAT gets a hold of an IPSEC packet it will basically render it useless.
 
  


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 behind iptables kris2002 Linux - Networking 3 06-26-2005 10:18 AM
iptables VPN bentman78 Linux - Software 0 05-03-2004 07:27 AM
VPN / Iptables a_borg1 Linux - Networking 0 08-13-2003 07:20 PM
Iptables VPN Problems glenlynam Linux - Security 5 08-06-2002 03:48 AM
iptables and vpn buttnutt Linux - Security 1 05-29-2002 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:09 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