Problems with NAT/port forwarding with 2.0Beta



  • decided to give 2.0 beta a try today. install went well… but i can not setup port forwarding, i am trying to setup port forwarding for port 80 (http) so that i can run a server behind the firewall, prior to 2.0beta this was easy as pie, but i am having no luck with the new version, i am probably just missing something.

    the webgui is running on port 8080

    the NAT rule is as follows:
    IF:WAN
    Proto:TCP/UDP
    source:*
    Source port:80 (HTTP)
    Dest:192.168.1.158
    Dest port:80 (HTTP)
    NAT IP:192.168.1.158
    NAT port:80 (HTTP)

    the firewall rule is:
    TCP/UDP * 80 (HTTP) 192.168.1.158 80 (HTTP) * none

    symptoms are never ending loading screen, i can access the server directly using 192.168.1.158 and it worked 100% prior to installing 2.0beta, have i missed something? can someone give me a hand?

    thanks
    kyle



  • Never mess with source ports unless you know what you are doing.  Usually the source port is random on the client.



  • Source port should be: *
    Destination IP should be: "WAN Address" or *

    The rest is fine, i think.


  • Rebel Alliance Developer Netgate

    Not sure if the other two replies were clear, but you need to make sure the source port on the NAT rule and the firewall rule are both set to 'any' and not 80.

    The other parts looks ok.



  • By the way, I've recently added more to the description of the setting on the port forward and firewall rule edit pages to make it a bit more clear.


Locked