策略配置:
config firewall address
edit "PPTP-Pool"
set type iprange
set start-ip 172.16.253.200
set end-ip 172.16.253.254
next
edit "L2TP-Pool"
set type iprange
set start-ip 172.16.252.200
set end-ip 172.16.252.254
end
config firewall policy
edit 0
set srcintf "port15"
set dstintf “any"
set srcaddr "PPTP-Pool" "L2TP-Pool"
set dstaddr "all"
set action accept
set schedule "always"
set service "ALL“
set nat enable
end
该策略让拨号VPN既可以访问内网资源,也可以访问Internet,如果dstintf只有port16则只可以访问内网资源,Internet可能会中断。