Re: VPN Passthrough with iptables
From: Dieter Sarrazyn (dieter.sarrazyn@no.spam.pandora.be)Date: 09/19/02
- Next message: Birger Toedtmann: "Re: VPN Passthrough with iptables"
- Previous message: Wayne SIKORSKI: "Re: Zone Alarm "Auto Dial" Problem"
- In reply to: Ian G Batten: "VPN Passthrough with iptables"
- Next in thread: Ian G Batten: "Re: VPN Passthrough with iptables"
- Reply: Ian G Batten: "Re: VPN Passthrough with iptables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: dieter.sarrazyn@no.spam.pandora.be (Dieter Sarrazyn) Date: Thu, 19 Sep 2002 12:11:36 GMT
I think the only thing you'll need is to do is to allow IKE (500/udp)
and IPSec (ip protocol 50) outbound and to perform hide nat of your
internal host/network behind the external ip of your firewall (should
work with dynamic addresses as well).
Dieter
On 19 Sep 2002 10:20:21 GMT, Ian G Batten <I.G.Batten@batten.eu.org>
wrote:
>
>If I have this scenario:
>
>[PC]--local ethernet---[Linux Firewall/NAT]---Internet---[VPN Server]
>
>how do I configure the Firewall/NAT box so that it will do IPSec VPN
>passthrough from a VPN client on the PC to the VPN Server? The client
>will and server will Symantec, if that matters, but I would like to pass
>through arbitrary IPSec. I don't believe this is hard, as most
>commodity SOHO routers support ``VPN Passthrough'' as part of their NAT
>offering, and just knowing what they do would be sufficient (I'm fluent
>with iptables, but not with IPSec).
>
>I would be happy with a solution which only works for one PC.
>
>>From basic reading, I believe I need to use IKE key exchange, pass
>outbound UDP traffic headed for a remote port 500 through (applying
>simply the SNAT but leaving the source port alone) and use DNAT to pass
>incoming traffic for port 500 on the NAT host to port 500 on the VPN
>client. I think I can use SPI tracking on more recent kernels to
>discriminate.
>
>Am I on the right lines?
>
>ian
>
- Next message: Birger Toedtmann: "Re: VPN Passthrough with iptables"
- Previous message: Wayne SIKORSKI: "Re: Zone Alarm "Auto Dial" Problem"
- In reply to: Ian G Batten: "VPN Passthrough with iptables"
- Next in thread: Ian G Batten: "Re: VPN Passthrough with iptables"
- Reply: Ian G Batten: "Re: VPN Passthrough with iptables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|