How to configure Virtual server (NAT) with security policy?

Zyxel_Chris Posts: 660  Zyxel Employee
First Anniversary 10 Comments Friend Collector First Answer
In most cases, you don't need to configure the firewall rule if there is no virtual server (NAT) rule. NSG has the default rule (running in background) to block the traffic from WAN to LAN.

If there is a NAT rule, you can put trust IP in the "Allowed Remote IP" which is equal to a whitelist.
In Configure > Security gateway > Firewall > NAT > Virtual server, it can fill in a "," syntax for adding multiple IP addresses.

You can still use security policy to block unfriendly traffic If the client IP is not static or in your permit rules.
For instance, the source IP from tries to access this virtual server which is not allowed.
VS_0 means the first entry of the virtual server rule.

Configure the security policy to block an IP address.
Source IP "" destination IP is ", Policy action select as "Deny".

Go to the event log and filter the firewall category, and you will see a log that contains "Priority: 1 from any to any" where the priority is the security policy entry. Check the source and destination IP is the same as what we have configured in above steps.
This access action has been denied by NSG firewall rule.