Skip to main content
msolanki
Staff
Staff
July 14, 2022

Technical Tip: SSL VPN webmode behavior with SNAT IPpool

  • July 14, 2022
  • 0 replies
  • 2568 views
Description

This article describes when using SNAT IP pool in SSL VPN policy then it has different behavior in some FortiGate versions.

Scope FortiGate.
Solution

Due to recent changes in some versions (v6.4.9, v7.0.1) behavior because of NAT64/NAT46 if using 'IP pool' in SSL VPN web mode firewall policy then it will not work.

 

As a workaround, configure the secondary IP of the interface which is associated in the SSL VPN setting as the listening interface as the IP used in the 'IP pool'.

 

msolanki_0-1657810743459.png

 

msolanki_1-1657810753669.png

 

msolanki_1-1657810753669.png

 

msolanki_2-1657810760628.png

 

This behavior has been fixed in v7.06 and v7.2.1 by introducing the below command option.

 

config vpn ssl settings

set ?

web-mode-snat Enable/disable use of IP pools defined in firewall policy while using web-mode.

 

set web-mode-snat ?

enable Enable use of IP pools defined in firewall policy while using web-mode.

disable Disable use of IP pools defined in firewall policy while using web-mode.

 

set web-mode-snat enable

WARNING: IP-pools should be added as Secondary-IP to the SSL-VPN interface.

 

Note:

Starting from v7.0.12, v7.2.6, v7.4.0 and above 'set web-mode-snat' option under the SSL-VPN settings has been removed.

 

Related articles

Technical Tip: SSL-VPN Web mode with combination of IP Pools

Technical Tip: IP pool and virtual IP behavior changes in FortiOS 6.4, 7.0, 7.2, and 7.4