All of lore.kernel.org
 help / color / mirror / Atom feed
* Multiple IPSEC VPNs through a firewall based on 2.4.2X kernel
@ 2004-08-24  5:11 Roksana Boreli
  2004-08-24  5:46 ` Ming-Ching Tiew
  2004-08-24  9:31 ` Multiple IPSEC VPNs through a firewall based on 2.4.2X kernel John A. Sullivan III
  0 siblings, 2 replies; 13+ messages in thread
From: Roksana Boreli @ 2004-08-24  5:11 UTC (permalink / raw)
  To: netfilter

Hi,

I am trying to set up multiple ipsec VPN clients working behind a Linux
router with NAT/PAT, based on a 2.4.20 (can be 2.4.22) kernel. I would
like to be able to connect a number of Windows (2k or XP) machines to an
existing Cisco VPN server. 

client 1 (ipsec) --->  | router	|
client 2 (ipsec) --->  |  NAT/	|
.		        PAT	| -> ipsec VPN server (Cisco)
.		     |		|
client 10 (ipsec) --->|		|

A patch seems to be needed to make this work, and I have seen a lot of
emails with a similar question in regards to pptp VPN clients, but
nothing encouraging for ipsec.  I have also seen the IP masquerade HOWTO
and the VPN HOWTO, which both refer to a patch for 2.2 kernels, but
claim nothing is available for 2.4 kernels. I am a netfilter newbie (if
this is not blindingly obvious), so any help would be much appreciated.


Kind regards, Roksana


^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: Multiple IPSEC VPNs through a firewall based on 2.4.2X kernel
@ 2004-08-24 11:56 Jason Opperisano
  0 siblings, 0 replies; 13+ messages in thread
From: Jason Opperisano @ 2004-08-24 11:56 UTC (permalink / raw)
  To: netfilter

> Hi,
>
> I am trying to set up multiple ipsec VPN clients working behind a Linux
> router with NAT/PAT, based on a 2.4.20 (can be 2.4.22) kernel. I would
> like to be able to connect a number of Windows (2k or XP) machines to an
> existing Cisco VPN server.
>
> client 1 (ipsec) --->  | router       |
> client 2 (ipsec) --->  |  NAT/        |
> .                     PAT     | -> ipsec VPN server (Cisco)
> .                  |          |
> client 10 (ipsec) --->|               |
>
> A patch seems to be needed to make this work, and I have seen a lot of
> emails with a similar question in regards to pptp VPN clients, but
> nothing encouraging for ipsec.  I have also seen the IP masquerade HOWTO
> and the VPN HOWTO, which both refer to a patch for 2.2 kernels, but
> claim nothing is available for 2.4 kernels. I am a netfilter newbie (if
> this is not blindingly obvious), so any help would be much appreciated.
>
>
> Kind regards, Roksana

enable IKE over TCP on the clients and UDP encapsulation.  this is not a problem with netfilter, but with multiple IPSec clients behind *any* NAT device.

-j


^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: Multiple IPSEC VPNs through a firewall based on 2.4.2X kernel
@ 2004-08-25  7:24 Roksana Boreli
  2004-08-25 11:29 ` John A. Sullivan III
  0 siblings, 1 reply; 13+ messages in thread
From: Roksana Boreli @ 2004-08-25  7:24 UTC (permalink / raw)
  To: netfilter

Thanks Jason.

> enable IKE over TCP on the clients and UDP encapsulation.  
> this is not a problem with netfilter, but with multiple
>  IPSec clients behind *any* NAT = device.

Perhaps some additional info needs to be added about my configuration.
I need to use standard Cisco Linux clients, as this is for people
visiting (with their laptops and standard VPN setup for remote access)
and wanting to get to their (Cisco) server.  In fact, it could be more
than one ipsec server at some time in the future.  I definitely need to
use a Cisco VPN gateway (can't use FreeSwan), I cannot have a single vpn
client from the Linux router device as the requirement is for multiple
clients behind this device.  The Cisco gateway and Win 2k client can set
up a connection through a NAT router, we have tried this with a Netgear
device.  So I thought the issue was similar to pptp vpn pass-through for
multiple clients (i.e. a patch for the kernel/iptables was the way to
go), hence the question.  

Kind regards, Roksana 


Subject: RE: Multiple IPSEC VPNs through a firewall based on 2.4.2X
kernel
Date: Tue, 24 Aug 2004 07:56:33 -0400
From: "Jason Opperisano" <Jopperisano@alphanumeric.com>
To: <netfilter@lists.netfilter.org>

Hi,

I am trying to set up multiple ipsec VPN clients working behind a Linux
router with NAT/PAT, based on a 2.4.20 (can be 2.4.22) kernel. I would 
like to be able to connect a number of Windows (2k or XP) machines to 
an existing Cisco VPN server.

Kind regards, Roksana


^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: Multiple IPSEC VPNs through a firewall based on 2.4.2X kernel
@ 2004-08-25 11:44 Jason Opperisano
  0 siblings, 0 replies; 13+ messages in thread
From: Jason Opperisano @ 2004-08-25 11:44 UTC (permalink / raw)
  To: netfilter

> Thanks Jason.
>
> > enable IKE over TCP on the clients and UDP encapsulation.
> > this is not a problem with netfilter, but with multiple
> >  IPSec clients behind *any* NAT = device.
>
> Perhaps some additional info needs to be added about my configuration.
> I need to use standard Cisco Linux clients, as this is for people
> visiting (with their laptops and standard VPN setup for remote access)
> and wanting to get to their (Cisco) server.  In fact, it could be more
> than one ipsec server at some time in the future.  I definitely need to
> use a Cisco VPN gateway (can't use FreeSwan), I cannot have a single vpn
> client from the Linux router device as the requirement is for multiple
> clients behind this device.  The Cisco gateway and Win 2k client can set
> up a connection through a NAT router, we have tried this with a Netgear
> device.  So I thought the issue was similar to pptp vpn pass-through for
> multiple clients (i.e. a patch for the kernel/iptables was the way to
> go), hence the question.
>
> Kind regards, Roksana

the standard cisco vpn client for linux supports IKE over TCP & UDP/TCP tunneling of IPSec traffic--read the admin guide for details.  the settings are something like:

  EnableNat=1
  TunnelingMode=0
  TcpTunnelingPort=10000

the easiest way to do this is just take the .pcf file from a working windows client and copy it to your linux client.  this is getting pretty OT...

-j


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

end of thread, other threads:[~2004-08-26 14:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-24  5:11 Multiple IPSEC VPNs through a firewall based on 2.4.2X kernel Roksana Boreli
2004-08-24  5:46 ` Ming-Ching Tiew
2004-08-24  7:32   ` Payal Rathod
2004-08-24  7:50     ` Ming-Ching Tiew
2004-08-24  8:53       ` bridge + transparent proxy ArioS
2004-08-24  9:31 ` Multiple IPSEC VPNs through a firewall based on 2.4.2X kernel John A. Sullivan III
2004-08-26  9:13   ` Thomas Kirk
2004-08-26 10:39     ` John A. Sullivan III
2004-08-26 14:14       ` Tom Eastep
  -- strict thread matches above, loose matches on Subject: below --
2004-08-24 11:56 Jason Opperisano
2004-08-25  7:24 Roksana Boreli
2004-08-25 11:29 ` John A. Sullivan III
2004-08-25 11:44 Jason Opperisano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.