[Openswan Users] net-to-net configuration

Paul Wouters paul at xelerance.com
Thu May 18 21:42:30 CEST 2006


On Thu, 18 May 2006, Ian Firla wrote:

> conn net-to-net

>    leftsubnet=192.168.1.0/24       #
>    rightsubnet=192.168.20.0/24        #

> Raising the tunnel is successful:

> From a client pc on the local lan (192.168.1.4), I can ping the
> private ip address on the remote server (192.168.20.5) but I can't,
> for example, ping anything behind it (ie. 192.168.20.41 or
> 192.168.20.1).
>
> Yes, I've confirmed that those addresses are pingable from the remote gateway.
>
> Any ideas on what I should be looking at and where?

enable ip forwarding on the gateway (/etc/sysctl.conf)

Paul


More information about the Users mailing list