* NAT'ing multiple IPsec clients to the same destination IPSec server
@ 2007-11-09 22:43 Patrick Wong
2007-11-09 23:01 ` Martijn Lievaart
0 siblings, 1 reply; 3+ messages in thread
From: Patrick Wong @ 2007-11-09 22:43 UTC (permalink / raw)
To: netfilter
Way back in 2.0.18 kernel, there was an IPsec connection tracking module
that would allow me to masquerade multiple IPsec clients (eg Cisco VPN
client) all going to the same remote IPsec server onto one external IP
address. This was done with IPsec connection module + ipmasqadm +
ipchains.
I have never been able to get the above to work on iptables. In the
early days of iptables, I also noticed there was no IPsec conntrack
module.
If I have only 1 external IP address on my firewall/gateway to SNAT to,
is there a way to support multiple IPSec clients on my internal LAN all
establishing IPSec connections to the same destination IPSec server?
Any pointer will be appreciated.
thanks,
patrick
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: NAT'ing multiple IPsec clients to the same destination IPSec server
2007-11-09 22:43 NAT'ing multiple IPsec clients to the same destination IPSec server Patrick Wong
@ 2007-11-09 23:01 ` Martijn Lievaart
2007-11-09 23:19 ` Patrick Wong
0 siblings, 1 reply; 3+ messages in thread
From: Martijn Lievaart @ 2007-11-09 23:01 UTC (permalink / raw)
To: pawong; +Cc: netfilter
Patrick Wong wrote:
> Way back in 2.0.18 kernel, there was an IPsec connection tracking module
> that would allow me to masquerade multiple IPsec clients (eg Cisco VPN
> client) all going to the same remote IPsec server onto one external IP
> address. This was done with IPsec connection module + ipmasqadm +
> ipchains.
>
> I have never been able to get the above to work on iptables. In the
> early days of iptables, I also noticed there was no IPsec conntrack
> module.
>
> If I have only 1 external IP address on my firewall/gateway to SNAT to,
> is there a way to support multiple IPSec clients on my internal LAN all
> establishing IPSec connections to the same destination IPSec server?
>
Cisco VPN client supports UDP encapsulation. You have to allow it on the
concentrator too, but if that is possible, it should work without
specific iptables rules.
M4
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: NAT'ing multiple IPsec clients to the same destination IPSec server
2007-11-09 23:01 ` Martijn Lievaart
@ 2007-11-09 23:19 ` Patrick Wong
0 siblings, 0 replies; 3+ messages in thread
From: Patrick Wong @ 2007-11-09 23:19 UTC (permalink / raw)
To: Martijn Lievaart; +Cc: netfilter
That's the problem. I don't have control over UDP encapsulation because
I don't control the server's end!
-----Original Message-----
From: Martijn Lievaart [mailto:m@rtij.nl]
Sent: Friday, November 09, 2007 6:02 PM
To: Patrick Wong
Cc: netfilter@vger.kernel.org
Subject: Re: NAT'ing multiple IPsec clients to the same destination
IPSec server
Patrick Wong wrote:
> Way back in 2.0.18 kernel, there was an IPsec connection tracking
module
> that would allow me to masquerade multiple IPsec clients (eg Cisco VPN
> client) all going to the same remote IPsec server onto one external IP
> address. This was done with IPsec connection module + ipmasqadm +
> ipchains.
>
> I have never been able to get the above to work on iptables. In the
> early days of iptables, I also noticed there was no IPsec conntrack
> module.
>
> If I have only 1 external IP address on my firewall/gateway to SNAT
to,
> is there a way to support multiple IPSec clients on my internal LAN
all
> establishing IPSec connections to the same destination IPSec server?
>
Cisco VPN client supports UDP encapsulation. You have to allow it on the
concentrator too, but if that is possible, it should work without
specific iptables rules.
M4
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-11-09 23:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-09 22:43 NAT'ing multiple IPsec clients to the same destination IPSec server Patrick Wong
2007-11-09 23:01 ` Martijn Lievaart
2007-11-09 23:19 ` Patrick Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox