DMZ Static NAT

From Wiki of WFilter NG Firewall
(Difference between revisions)
Jump to: navigation, search
(Port Forwarding)
Line 9: Line 9:
  
 
= Port Forwarding =
 
= Port Forwarding =
* Forwarding: map a WAN port to local host.
+
* Forwarding: map a WAN port, port range or all traffic to a local host.
 +
 
 
[[File:port_forward01.png|900px]]
 
[[File:port_forward01.png|900px]]
 +
 +
** Type: if type is "all", "source port" and "target port" shall be blank.
 
** WAN: target WAN IP address.
 
** WAN: target WAN IP address.
 
** Source Port: target port to the WAN interface.
 
** Source Port: target port to the WAN interface.

Revision as of 22:23, 22 January 2018


Contents

1 Introduction

"Port Forwarding", "DMZ" and "Static NAT" are all redirecting firewall rules.

  • "Port Forwarding" : forword packets on certain port(s).
  • "DMZ" equals "port forwarding on all ports". Visits to WAN interfaces will be redirected to the DMZ host(except of the excepted ports).
  • "Static NAT" provides one-to-one NAT for local hosts.

2 Port Forwarding

  • Forwarding: map a WAN port, port range or all traffic to a local host.

Port forward01.png

    • Type: if type is "all", "source port" and "target port" shall be blank.
    • WAN: target WAN IP address.
    • Source Port: target port to the WAN interface.
    • Target IP: "redirected to" local host IP.
    • Target Port: "redirected to" port, leave it blank for same as the source port.

3 DMZ

  • DMZ: port forwarding on all ports.

Dmz01.png

4 Static NAT

You need to define "Local IP" and choose a public IP.

Nat01.png

    • Single: a single IP(192.168.10.100) or subnet(192.168.10.0/24).
    • Range: an IP range.
Personal tools
Namespaces

Variants
Actions
Navigation
Tools