PCNSE
NSE
StrongSwan
config vpn ipsec phase1 edit " l2tp_vpn" set type dynamic set interface " port2" set local-gw x.x.x.227 set dhgrp 2 set proposal aes256-md5 3des-sha1 aes192-sha1 set psksecret blablabla next end config vpn ipsec phase2 edit " l2tp-p2" set encapsulation transport-mode set pfs disable set phase1name " l2tp_vpn" set proposal aes256-md5 3des-sha1 aes192-sha1 set keylifeseconds 3600 next end config system interface edit " port2" set vdom " root" set ip x.x.x.226 255.255.255.224 set allowaccess ping https ssh set type physical set alias " WAN" set secondary-IP enable config secondaryip edit 1 set ip x.x.x.227 255.255.255.255 set allowaccess ping next end next end config vpn l2tp set eip 172.26.110.127 set sip 172.26.110.1 set status enable set usrgrp " vpn_l2tp_usr_grp" end config firewall policy edit 49 set srcintf " wan1" --> (user interface) set dstintf " port2" --> (wan interface) set srcaddr " all" set dstaddr " all" set action ipsec set schedule " always" set service " ANY" set inbound enable set outbound enable set vpntunnel " l2tp_vpn" next edit 51 set srcintf " port2" set dstintf " port2" set srcaddr " l2tp-pool" set dstaddr " all" set action accept set schedule " always" set service " ANY" set nat enable next end
PCNSE
NSE
StrongSwan
PCNSE
NSE
StrongSwan
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1741 | |
1109 | |
755 | |
447 | |
240 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.