Cookbook: https://docs.fortinet.com/document/fortigate/6.0.0/cookbook/419996/creating-virtual-ip-addresses
About FortiGate Port Forwarding
Step 1: Create Virtual IP
- Policy & Objects > Virtual IPs > Create New > Virtual IP
- Assign a Name
- Here I change the color to “Blue” so is just to make sure choose the right address later
- Interface select “WAN Interface”
- Enter External IP Address
- Enter Mapped IP Address = Internal IP
- Enter the Map Port from External to Internal
- After creating the Virtual IP, the Ref. is 0, which means no policy for this Virtual IP and should be not working now.
Step 2. Create Policy for Virtual IP
- Create New Policy the destination is “NVR” is blue color, same as STEP1.PT7, this destination is Virtual IP/Server.
Incoming Interface select WAN Interface
Outgoing Interface select LAN because NVR IP address is under LAN interface
Source select all or you can specify static IP
Destination select NVR that is Virtual IP/Server address
Troubleshooting
Most problem is forgot create policy or create a wrong policy, please make sure Virtual IP/Server ref. have value