If your Peplink device has at least one WAN public IP the it is possible to use port forwarding so that LAN devices may be reached from the outside. Normally NAT and firewall would block such unsolicited connections, however adding a Port Forward rule allows these device to be reached from the outside. Typical uses for this are CCTV cameras, or a remote Desktop Connection.
This article assumes that either:
- No Fusionhub is in use, and you have a Peplink router with a public IP using NAT for at least one connected WAN- if you want the incoming traffic to be forwarded from the Fusionhub through the VPN see: https://knowhow.peplink.ninja/kb/accessing-a-server-hosted-behind-pepvpn-from-the-internet-using-port-forwarding/
- A Fusionhub VPN is in use however you would like the incoming requests to be forwarded on a WAN outside the of the VPN.
Forwarding Ports on the Peplink Device
From the device’s InControl details, navigate to Settings>Remote Web Admin
Advanced>Port Forwarding>Add Service.
As per the below example, enter the service name, protocol type, port number (or port range)
Next, select all WAN incoming interfaces for the port forwarding, then finally the LAN IP of the device to be forwarded to, then save settings.
In the above example we are forwarding the incoming request at port 8080 to the LAN device assigned 192.168.50.25
Finally, save settings.