| 62 | Here we may create NATs based on Port Forward, one to one, outbound, NPT. |
| 63 | |
| 64 | We will focus on one to one NAT for workshop |
| 65 | |
| 66 | Go to Firewall > 1:1 > Add |
| 67 | |
| 68 | - Interface: WAN |
| 69 | - External Subnet IP: 192.248.7.z |
| 70 | - Internal IP: Single host 10.XY.1.1 |
| 71 | - Destination: Any |
| 72 | - Description: Public NAT |
| 73 | |
| 74 | == Rules == |
| 75 | |
| 76 | Lets allow http and https ports from outside |
| 77 | |
| 78 | Go to Firewall > Rules > WAN > Add to end |
| 79 | |
| 80 | - Action: pass |
| 81 | - Interface: WAN |
| 82 | - Address Family: IPv4+IPv6 |
| 83 | - Protocol: TCP |
| 84 | - Source: Any |
| 85 | - Destination: Single host or Alias: wwwserver |
| 86 | - Destination Port: Custom: wwwport |
| 87 | - Log: ticked |
| 88 | - Description: Allow any to Web ports of wwwserver |
| 89 | |
| 90 | Save |
| 91 | |
| 92 | For LAN side, by default web ports are enabled. If you need to allow any other port then, |
| 93 | |
| 94 | Go to Firewall > Rules > WAN > Add to top |
| 95 | |
| 96 | - Action: pass |
| 97 | - Interface: LAN |
| 98 | - Address Family: IPv4+IPv6 |
| 99 | - Protocol: TCP |
| 100 | - Source: Single host or Alias: wwwserver |
| 101 | - Destination: Any |
| 102 | - Destination Port: SSH |
| 103 | - Log: ticked |
| 104 | - Description: Allow wwwserver to SSH outside |
| 105 | |
| 106 | Save |
| 107 | |
| 108 | |
| 109 | You may also add different Separators to define rule groups. |
| 110 | |
| 111 | Click **+ Separator** Give a Name (eg: web) and a Color |
| 112 | |
| 113 | You may drag and drop the separator by holding from its name. Also you may drag rules by holding from the rules **Anchor** mark |
| 114 | |
| 115 | Once drag and Dropping finished click **Save** and **Apply** to complete the separation. |
| 116 | |
| 117 | |
| 118 | |
| 119 | |
| 120 | |
| 121 | |