Question
IPSec VPN terminated on a loopback i/f...?
Hello, did anyone successfully tried to terminate IPSec VPN on a loopback interface? I would like to use this scenario as it would make it possible to use a single IP from a huge IP range for terminating the IPSec VPNs without a need to split the IP range. Unfortunately either it does not work or I do not know how to set it up. BTW: In the following configuration the " port1" is primary Internet link. I tried this configuration (only relevant parts of the config are shown): ================================================================= config vpn ipsec phase1-interface edit " DC1as_CPSisp1" set interface " loopback" set proposal 3des-sha1 aes128-sha1 set remote-gw 194.213.34.173 set psksecret ENC sharedsecret next end config vpn ipsec phase2-interface edit " DC1as_CPSisp1-p2_r1" set phase1name " DC1as_CPSisp1" set proposal 3des-sha1 aes128-sha1 next end config firewall policy edit 107 set srcintf " port1" set dstintf " loopback" set srcaddr " all" set dstaddr " all" set action accept set schedule " always" set service " HTTPS" " SSH" " PING" " AH" " ESP" " IKE" set logtraffic enable next edit 93 set srcintf " DC1as_CPSisp1" set dstintf " port1" set srcaddr " all" set dstaddr " all" set action accept set schedule " always" set service " ANY" set logtraffic enable set nat enable next end ================================================================= Unfortunately it seems (see the logs below) the system tries to match this VPN to a dialup-client policy-based VPN named " Remoute_Users" which I don' t know how to alter to the route-based VPN " DC1as_CPSisp1" (defined above). Of course I am taking into an account this behaviour is caused by fact the IPSec VPN just cannot be terminated on the loopback i/f but that' s just another reason to ask if anybody has an experience with such configuration. ================================================================= 1 2011-02-28 15:30:16 log_id=0101037128 type=event subtype=ipsec pri=error vd=" root" msg=" progress IPsec phase 1" action=" negotiate" rem_ip=194.213.34.173 loc_ip=92.43.56.1 rem_port=500 loc_port=500 out_intf=" port1" cookies=" 1c931454415663ee/ee73790cb3363e5d" user=" N/A" group=" N/A" xauth_user=" N/A" xauth_group=" N/A" vpn_tunnel=" Remoute_Users" status=failure init=remote mode=main dir=inbound stage=3 role=responder result=ERROR 2 2011-02-28 15:30:16 log_id=0101037124 type=event subtype=ipsec pri=error vd=" root" msg=" IPsec phase 1 error" action=" negotiate" rem_ip=194.213.34.173 loc_ip=92.43.56.1 rem_port=500 loc_port=500 out_intf=" port1" cookies=" 1c931454415663ee/ee73790cb3363e5d" user=" N/A" group=" N/A" xauth_user=" N/A" xauth_group=" N/A" vpn_tunnel=" Remoute_Users" status=negotiate_error error_reason=probable preshared key mismatch peer_notif=NOT-APPLICABLE ================================================================= Thanks in advance for sharing Your experience Pavel Svika
