i upgrade from  strongswan4.1.0 to strongswan4.6.1, I found route incorrect 
for ikev1, but ikev2 work ok.  I compared with the two versions,  version4.1.0 
add a route automatically:
192.168.2.0     172.16.0.2      255.255.255.0   UG    0      0        0 eth1
but 4.6.1 don't add the route automatically, what need  configuration? 4.6.1 
need add route manually?pls give me som advance,  thanks.
 
sh-2.05b# cat /etc/ipsec.conf
version 2.0
config setup
        nat_traversal=yes
        uniqueids=yes
        virtual_private=%v4:0.0.0.0/0
        plutostderrlog=/var/log/pluto.log
 
conn test
        keyexchange=ikev1
        forceencaps=yes
        dpddelay=30
        dpdtimeout=120
        dpdaction=restart
        left=172.16.0.1
        leftsubnet=192.167.1.0/24
        right=172.16.0.2
        rightsubnet=192.168.2.0/24
        authby=psk
        auto=add
_______________________________________________
Users mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/users

Reply via email to