IP Route
-
Greetings,
I have a single public IP which is my WAN address. it is accessible from outside and hits pfsense's logon page via http.
I have a webcam/ DVR on my LAN ( a single private IP) witch communicates with port 5800.
I need to be able to enter my WAN IP with port 5800 on my browser from outside or inside and be able to hit the DVR box . I created a NAT:
Source WAN
gave it a custom port of 5800destination LAN
redirect: the private IP and port 5800 to 5800I am not able to connect. I even changed the ports set them at 80 but getting nothing.
What would be the best configuration to accomplish this?
thanks
-
@byounessian@gmail.com:
I have a single public IP which is my WAN address. it is accessible from outside and hits pfsense's logon page via http.
It's not recommended to open up the web GUI to WAN.
https://doc.pfsense.org/index.php/How_can_I_forward_ports_with_pfSense
@byounessian@gmail.com:
Source WAN
gave it a custom port of 5800"WAN" is neither an IP nor a network, it's an interface. "WAN net" will also be wrong here, this is the subnet defined on the WAN interface.
Since you will not know the real source IP, you should set this to any.
The same applies to the port. So set it also to any.@byounessian@gmail.com:
destination LAN
The destination of the origin request is your WAN address and the destination port 5800.
-
Thank you for your reply. I"v got the following NAT configuration, not sure why can't connect:
Interface = WAN
Protocol = TCP
Destination = WAN address
Port + 5800 TO 5800
Redirect target IP = x.x.x.x ( the private IP of the DVR )
Redirect target port = Other , 5800and I left everything else as default. Is this correct?
-
https://doc.pfsense.org/index.php/Port_Forward_Troubleshooting