Network address translation (NAT) rules


NAT rules allow the rewriting of the source address of traffic. It is used to forward packets to a destination port to an another destination IP and port.
In this example we want to forward  our OpenVPN clients (UDP packets on port 1194)  forwarded to our OpenVPN server 192.168.1.23

  • On the Firewall section, click on New NAT rule under the Network address Translation

2016-05-17_23-44-39

  • On the Type we choose UDP protocol and requested port the 1194,
  • Requested Address limits which client want to access to the port (0.0.0.0/0 means everyone).
  • We can specify which network interface can handle the request port ( we choose our WAN Interface )
  • The destination address is our VPN server and destination port is the port that listen the OpenVPN service.

2016-05-17_23-56-30

Leave a comment