[strongSwan] why pluto don't add route automatically for strongswan4.6.1

qiao brookqiao at yahoo.com.cn
Fri Feb 10 12:22:56 CET 2012


 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20120210/3a03f1c2/attachment.html>


More information about the Users mailing list