[Openswan Users] IPSEC Netkey routing

Johnny Minty (Liverton) Johnny.Minty at liverton.com
Tue Mar 19 21:57:50 UTC 2013


Hello there,

I am using open swan with netkey and I have an issue with routing from traffic from local interfaces across the tunnel.

Here is the setup I am using :

SITE 1:
  eth0: external addr
  eth1: 192.168.6.254 (network 192.168.6.0/24)
  PC1: 192.168.6.1

SITE 2:
  eth0: external addr
  eth1: 192.168.7. 254 (network 192.168.7.0/24)

I am able to pass traffic to and from machines on both networks happily however when I try and pass traffic from 192.168.7.254(eth1) to 192.168.6.1 or vice versa I can't any traffic originating from eth1 (192.168.7.254) to go over the IPSEC tunnel. (If the traffic originates from PC1 (192.168.6.1) I see the traffic hit eth0 at site 2 but it goes no further.)

Has anyone had a similar situation and found a solution, I have looked in to KLIPS which provides simpler routing so that might be my solution?

Regards,
Johnny

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openswan.org/pipermail/users/attachments/20130319/dd9a527b/attachment.html>


More information about the Users mailing list