[Openswan Users] A working sample linux-linux ipsec conf with PSK searched !

Paul Wouters paul at xelerance.com
Wed Jun 22 17:40:02 CEST 2005


On Wed, 22 Jun 2005, foren titze wrote:

> I habe an working windowsXP/l2tp/ipsec to linux/l2tp/ipsec connection,
>
> but when I try to open a tunnel from linux to linux only per ipsec without
> l2tp I don't get an IP from the server and whatever I have tried (setup a
> route manually ...) I can't ping though the tunnel.

Add a new connection for this. Without L2TP you will not get an assigned IP address.
If you want your linux machine to have an IP from the other side, set it up as 
a subnet-subnet tunnel (even if it is 1 IP)

> Do I have to make always two connections? one to the server and one to the
> subnet behind him? like conn-gw and conn-gw-subnet

If you use a leftsourceip=internalip then you should only need one new conn.

Paul


More information about the Users mailing list