Linux Netfilter discussions
 help / color / mirror / Atom feed
* IPSec passthrough with iptables
@ 2002-10-15  4:47 Thomas Smith
  2002-10-15  8:22 ` Antony Stone
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Smith @ 2002-10-15  4:47 UTC (permalink / raw)
  To: netfilter

I need to be able to connect to clients IPSec VPN from
behind and iptables firewall. I know the VPN is
working and my firewall is masquing traffic but IPSec
doesn't work from systems behind my firewall.

I've got a pretty basic firewall. It's simply masquing
internal traffic.

Are there some iptables' rules or patches I'm missing?

Tom
hpcaz@yahoo.com


^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: IPSec passthrough with iptables
@ 2002-10-15  7:32 Sneppe Filip
  0 siblings, 0 replies; 7+ messages in thread
From: Sneppe Filip @ 2002-10-15  7:32 UTC (permalink / raw)
  To: Thomas Smith, netfilter

Hi,

Thomas Smith [mailto:hpcaz@yahoo.com] wrote:
> 
> I need to be able to connect to clients IPSec VPN from
> behind and iptables firewall. I know the VPN is
> working and my firewall is masquing traffic but IPSec
> doesn't work from systems behind my firewall.
> 
> I've got a pretty basic firewall. It's simply masquing
> internal traffic.
> 
> Are there some iptables' rules or patches I'm missing?
> 

Well, you only need to allow udp port 500 traffic for IKE,
and protocols 50 (ESP) and 51 (AH).

However, you will find that most types of AH and NAT don't 
mix all that well, unless you do some really clever (read: 
hackish) NAT tricks. Basically, the IP addresses on both 
sides may not be NAT'ted. If you use NAT, you must NAT the
addresses back before they reach the other side.

Regards,
Filip


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-10-16  8:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-15  4:47 IPSec passthrough with iptables Thomas Smith
2002-10-15  8:22 ` Antony Stone
2002-10-15 11:09   ` George Agnelli
2002-10-15 13:00     ` Antony Stone
2002-10-16  3:45       ` David A Golden
2002-10-16  8:41         ` Antony Stone
  -- strict thread matches above, loose matches on Subject: below --
2002-10-15  7:32 Sneppe Filip

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox