[Openswan Users] Using ipsec0 instead of eth0?

David Clymer david at hrcsb.org
Thu Aug 19 11:57:20 CEST 2004


Thus quoth Matthew Claridge:
> To: users at lists.openswan.org
> From: Matthew Claridge <mclaridge at rwa-net.co.uk>
> Subject: [Openswan Users] Using ipsec0 instead of eth0?
> 
> Hi guys,
> 
> Thanks for all the help so far - I've now got a working VPN tunnel to 
> the cisco box...yay!
> 
> However, the tunnel runs over eth0 and I'd prefer it to use its own 
> ipsec0 interface, but I can't for the life of me work out how! My 
> interfaces line in ipsec.conf reads "interfaces="ipsec0=eth0" which I 
> thought would bring up an ipsec0 alias with the same address etc as 
> eth0, but apparently not.
> 
> I'm confused.....and probably being very stupid....and would appreciate 
> just a little more help before I can put this to bed ;)
> 

I'm not sure which ipsec implemenation you are using, but only KLIPS
provides the ipsecX interfaces. The "native" IPsec implimentation
(kernels 2.6.x, and most recent 2.4.x kernels, i think) do not provide
the virtual interfaces.

-davidc



More information about the Users mailing list