Question
Microsoft LT2P/IPsec VPN with Loopback Interface?
Hello, I was wondering if anyone has had any experience with setting up a dial-up Microsoft VPN (L2TP/IPsec) VPN with a loopback interface instead of specifying a physical WAN interface? My configuration: L2TP:config vpn l2tpset eip 192.168.55.250set sip 192.168.55.1set status enableset usrgrp "Test" IPsec Phase 1:config vpn ipsec phase1edit "winvpn"set type dynamicset interface "lo_vpn"set peertype anyset proposal aes256-md5 3des-sha1 aes192-sha1set dhgrp 2set psksecret ENC xxxxxxx IPsec Phase 2:config vpn ipsec phase2edit "winvpn"set phase1name "winvpn"set proposal aes256-md5 3des-sha1 aes192-sha1set pfs disableset encapsulation transport-modeset keylifeseconds 3600nextend Security and IPsec policy:edit 25 (To allow L2TP, ICMP, and IPsec to hit the loopback interface)set name "lo_winvpn"set srcintf "wan1"set dstintf "lo_vpn"set srcaddr "all"set dstaddr "lo_winvpn"set action acceptset schedule "always"set service "AH" "ALL_ICMP" "ESP" "GRE" "IKE" "L2TP"nextedit 26set name "ipsec_winvpn"set srcintf "internal"set dstintf "lo_vpn"set srcaddr "all"set dstaddr "all"set action ipsecset schedule "always"set service "ALL"set inbound enableset vpntunnel "winvpn"nextedit 27set name "winvpn"set srcintf "lo_vpn"set dstintf "internal"set srcaddr "windowsvpn_range"set dstaddr "all"set action acceptset schedule "always"set service "ALL"next I followed the following guide:https://help.fortinet.com/fos50hlp/52data/Content/FortiOS/fortigate-ipsecvpn-52/L2TP_and_IPsec/Config_FGT_Unit.htmThe public IP address associated with the loopback interface is a routable IP address which responds to ICMP.Performing a tcpdump on the firewall I can see communication between the client and server over ports 4500, 500, and 1701 although the connection does not establish. Performing the following debug commands also doesn't provide any output when I try to establish the VPN:diagnose debug application ike -1diagnose debug application l2tp -1diagnose debug enable I have also enabled IPsec services on Windows and the error I receive on Windows is "Error 809" which indicates the remote server isn't responding? Any help would be appreciated :)
