Step 1: Create The Server 1 HTTPS Virtual IP
- Navigate to Policy & Objects, then select Virtual IPs.
- Click Create New.

- Configure the following parameters:
- Name: Enter a descriptive name (e.g., VIP_Server1_HTTPS).
- Interface: Set to your internet/public interface (e.g., WAN).
- External IP Address/Range : Enter the external server’s public IP(e.g., 103.40.206.205).
- Mapped IP Address/Range: Enter the local server private IP (e.g., 10.10.3.104).
- Toggle Port Forwarding to ON.
- Protocol: Select Protocol as TCP.
- External Service Port: Set your desired port for the external server(e.g., 443).
- Map to IPv4 port: Set your desired port for the local server (e.g., 443).
- Click OK to save the Virtual IP.

Step 2: Create The Server 1 SSH Virtual IP
- Navigate to Policy & Objects, then select Virtual IPs.
- Click Create New.

- Configure the following parameters:
- Name: Enter a descriptive name (e.g., VIP_Server1_SSH).
- Interface: Set to your internet/public interface (e.g., WAN).
- External IP Address/Range : Enter the external server’s public IP(e.g., 103.40.206.205).
- Mapped IP Address/Range: Enter the local server private IP (e.g., 10.10.3.104).
- Toggle Port Forwarding to ON.
- Protocol: Select Protocol as TCP.
- External Service Port: Set your desired port for the external server(e.g., 22).
- Map to IPv4 port: Set your desired port for the local server (e.g., 22).
- Click OK to save the Virtual IP.

Step 3: Create The Inbound Firewall Policy for Server 1 HTTPS
- Navigate to Policy & Objects, then select Firewall Policy.
- Click Create New.

- Configure the following parameters
- Name: Enter a descriptive name (e.g., WAN_to_Server1_HTTPS).
- Incoming Interface: Set to your internet/public interface (e.g., WAN).
- Outgoing Interface: Set to the internal network interface where the destination server lives (e.g., LAN).
- Source: select all.
- Destination: Select the virtual IP that is configured for HTTPS (e.g., VIP_Server1_HTTPS)
- Service: Select HTTPS.
- Toggle NAT to off.
- Click OK to activate the rule.

Step 4: Create The Inbound Firewall Policy for Server 1 SSH
- Navigate to Policy & Objects, then select Firewall Policy.
- Click Create New.

- Configure the following parameters
- Name: Enter a descriptive name (e.g., WAN_to_Server1_SSH).
- Incoming Interface: Set to your internet/public interface (e.g., WAN).
- Outgoing Interface: Set to the internal network interface where the destination server lives (e.g., LAN).
- Source: select all.
- Destination: Select the virtual IP that is configured for SSH (e.g., VIP_Server1_SSH)
- Service: Select SSH.
- Toggle NAT to off.
- Click OK to activate the rule.

Step 5: Verify the port forwarding configuration for Server 1 HTTPS.
Make sure the applications are actually listening on the Server 1 by running the following command line:
sudo ss -lntp |grep 443
You should see something similar to:
LISTEN 0 128 0.0.0.0:443
To verify the inbound traffic, run the following command line from an external remote device:
Test-NetConnection 103.40.206.205 -Port 443
Expected output:

Make sure the TcpTestSucceeded returns with True.
To verify the outbound traffic, run the following command line on the Server 1 :
nc -vz www.google.com 443
You should ideally get:
Connected to www.google.com:443
or
Connected to 2001:4860:482b:7700:::443
Expected output:

Step 6: Verify the port forwarding configuration for Server 1 SSH.
Make sure the applications are actually listening on the Server 1 by running the following command line:
sudo ss -lntp |grep 22
You should see something similar to:
LISTEN 0 128 0.0.0.0:22
To verify the inbound traffic, run the following command line from an external remote device:
Test-NetConnection 103.40.206.205 -Port 22
Expected output:

Make sure the TcpTestSucceeded returns with True.
To verify the outbound traffic, run the following command line on the Server 1:
nc -vz <external-server-ip> 22
For instance, we are using the public IP 103.40.206.133 in this example.
You should ideally get:
Connected to 103.40.206.133:22
Expected output:
