[Openswan Users] route not created

sasa sasa at shoponweb.it
Tue Sep 20 17:46:06 CEST 2005


Hi, I use Fedora Core 1 with openswan-2.3.1, my ipsec.conf is:

config setup
  interfaces="ipsec0=eth0"
  nat_traversal=yes
conn %default
authby=secret
conn sedeprinsedesecond
auto=start
pfs=yes
left=1.2.3.4
leftsubnet=192.168.1.0/24
leftnexthop=1.2.3.3
leftrsasigkey=SwpOVXdky6E
right=5.6.7.8
rightsubnet=10.0.0.0/24
rightnexthop=5.6.7.7
rightrsasigkey=0sAQNz

when:

left=1.2.3.4 --> public IP of remote fw
leftsubnet=192.168.1.0/24 --> private IP of remote lan
leftnexthop=1.2.3.3 --> public IP of remote router xdsl
right=5.6.7.8 --> public IP of my fw
rightsubnet=10.0.0.0/24 --> private IP of my lan
rightnexthop=5.6.7.7 --> public IP of my router xdsl

..but isn't created route to remote lan, that is 192.168.1.0, in fact I have:

[root at fw4 root]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
5.6.7.8            *               255.255.255.248 U     0      0        0 eth0
5.6.7.8   *               255.255.255.248 U     0      0        0 ipsec0
10.0.0.0        *               255.255.255.0   U     0      0        0 eth1
169.254.0.0     *               255.255.0.0     U     0      0        0 eth1
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         5.6.7.7         0.0.0.0         UG    0      0

..when I mistake ?
thanks.

        Salvatore.


More information about the Users mailing list