[Openswan Users] Gateway Connection to remotenet
Paul Wouters
paul at xelerance.com
Mon Sep 19 01:11:51 CEST 2005
On Sun, 18 Sep 2005, Martin Hochreiter wrote:
> I have an freeswan 1.99 net to net connection between 2 networks
>
> 192.168.2.0/24 --192.168.2.6(Gateway)-- internet
> ----192.168.1.103(Gateway)--- 192.168.1.0/24
>
> It works fine, but I need to connect some services on the Gateway
> (192.168.2.6) to connect
> to machines in the remote network. And that does not work.
> I can't ping (except with a special option) to the remote network from the
> gateway.
> The remote machines can ping the gateway.
add leftsourceip=192.168.2.6 and rightsourceip=192.168.1.103 to your
connection.
alternatively, copy the connection and leave out the lefsubnet= option into
a new connection for a subnet-host tunnel. Your original tunnel just covers
subnet-subnet.
Paul
More information about the Users
mailing list