New Questioin on port forwarding

I recently got my pfsense working thanks to the help found here.

now next issue:

I am trying to portforward to my Domain that is assigned a Static IP issued by Cox,

when I enter the domain name it takes me to the pfsense Dashboard but shows nothing but the red background and the message Potential DNS Rebind attack detected

any idea

Keith

What port are your trying to port forward ? and to which machine

What you have setup is access to the pfsense gui externally which you do not want to do - you have open up attacks to your pfsense.

You can disable this message - System - Advanced / Admin Access - Disable DNS Rebinding Checks

Also I would change the port that pfsense use for the gui from 443 to another port - System - Advanced - Admin Access - tcp port

I tell you I am SOOO uneducated in this, wish I could just sit down with someone and run me through the setup and then into port forwarding, That said.

I am trying to forward port 80 to an application trying to host from home

I have a Static IP from Cox Business

I wonder if it is wise in my case to disable the error message I was getting and just configure the system correctly

Keith

Tom’s videos are going to be what you are looking for.

Port forward:

Getting started with pfsense:

In a previous post, you gave us your public ip. Somehow, your domain name (eg. keith.com) should point to that ip. There are Dynamic DNS services that can do so. When I go to http://keith.com, it will go to your public ip, then hit pfsense on the WAN side, then it will point to the server 192.168.5.10 port 80, and serve the website.

Firewall > NAT > Port Forward > new rule

Interface = WAN
Address Family = IPV4
Protocol = TCP
Source = ANY
Source Port Range = HTTP
Destination = WAN Address
Destination Port Range = HTTP
Redirect Target IP = 192.168.5.10
Redirect Target Port = HTTP
Description = Keith Website

This is what I have

just trying to forward port 80 with a Static IP from cox, my network is working using it right now.
but forwarding port 80 is not working, what information do you need from me to help me.

I watched the video still a no go

Keith

Delete the settings and start again as pfsense will create the required rules

Delete all rules (two) under Nat Port Forwarding

Delete the bottom two rules Under Wan (allowed rules) with description Nat and Nat Access to Server

Goto Firewall - Nat , click on Add which will recreate the rule

Interface - Wan

Address Family - IPv4

Protocol - TCP

Source - Any

Source port - Any

Destination Port - http

Redirected target IP - enter the internal IP of the server

Redirected port - http

After clicking and save the rules, pfsense will create two rules - Port Forward , and Wan

To test the new rules goto Open Port Check Tool - Test Port Forwarding on Your Router , enter your wan port and port 80

2 Likes

Weird Diagnostic/Test Port fails but an external website port checker says ok

Keith, I tested the rule and it works on my network. A few notes:

  1. the NAT rule should have WAN address, not LAN address in Dest.

  2. In Interfaces | WAN last two checkboxes are NOT checked (private, bogon networks)

  3. In Interfaces | LAN same thing

If I check the last two box’s on LAN it stops communicating

I can ping my domain from a workstation on the network, from the pfsense console, from the server and from a external website that checks open ports it show open but Diagnostics/Test Port fails

Thanks

Keith

I tested the LAN settings … the last two boxes either checked or unchecked allow me to see my website from outside. Only if I change the WAN settings and check [private, bogon] I cannot see my website. I assume you corrected the NAT rule to use WAN address as Dest.

You might ask COX, verify that business accounts do NOT have port 80 blocked.

Jumping in here a bit late, but what are your trying to accomplish by forwarding your domain name to your static ip from public internet? Just a thought, if you are wanting access to your internal web resources from the internet, a better solution might be using Cloudflare service

1 Like