Netgate SG-1000 microFirewall

Author Topic: NAT rule is not working  (Read 132 times)

0 Members and 1 Guest are viewing this topic.

Offline openvas

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
NAT rule is not working
« on: February 18, 2018, 04:16:15 pm »
I have just installed pfSense and I cannot make the NAT work
The linux host has a web server on it that works.

Setup in VMware Workstation:

win host(  > pfSense > linux host (

pfSense WAN = EM0 (
pfSense LAN = EM1 (

- from pfSense EM1 telnet -b em1ipaddress linuxhostipaddress 80 >>> successful
- set pfSense to accept GUI connection from WAN interface ie. port 8080 >>> successful
- set a firewall rule to allow ICMP to WAN address>>> successful, behavior change by switching the rule on and off
- arp -a shows correct mac addresses of sources/destinations assigned to the respective interfaces EM0/EM1
- default firewall rules to deny bogus networks and internal IANA address are disabled.

The above should demonstrate that there are no network issues and the issue is in the internal routing.
My NAT > Port forward rule is configured like this:

Interface   Protocol   Source Address   Source Ports   Dest. Address   Dest. Ports   NAT IP   NAT Ports   
WAN              TCP   *                 *                   WAN address   8080       80

This creates a firewall rule as follows:
Protocol   Source   Port   Destination   Port   Gateway   Queue   Schedule   
IPv4TCP      *           *   80 (HTTP)            *          none   

What am I missing? Everything seems configured correctly

Offline Derelict

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10027
  • Karma: +1136/-312
    • View Profile
Re: NAT rule is not working
« Reply #1 on: February 18, 2018, 08:13:11 pm »
Exhaustive list of other things to check here.

When it works from the same subnet but not from others it is almost always either the local firewall on the target or the default gateway of the target is wrong.
Las Vegas, Nevada, USA
Use this diagram to describe your issue.
The pfSense Book is now available for just $24.70!