Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    PF only seen on LAN but not in WAN

    NAT
    3
    8
    918
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      haoguan last edited by

      Hi Guys,

      I'm kinda newbie in Pfsense, I was ask to set up a Port Forwarding on using port 80, already placed the rules in NAT,
      the problem is, my redirection is only seen in LAN but when i try connecting it from outside our network its shows time out, so i check the States and its show

      Ouside -> myWAN(80) -> redirect ip(8099) CLOSED:SYN_SENT
      when i try to check Port 80 is closed,

      i don't know what's I missed.

      1 Reply Last reply Reply Quote 0
      • KOM
        KOM last edited by

        Do you have a firewall rule on WAN that allows the traffic?

        1 Reply Last reply Reply Quote 0
        • H
          haoguan last edited by

          yes,

          ID Proto  Source Port Destination Port
          IPv4 TCP             *           * WAN address 86
          IPv4 ICMP        *           * WAN address *
          IPv4 *             *           * WAN address *         * none
          IPv4 TCP             *           * 172.15.0.52 8062 * none NAT Web Server

          1 Reply Last reply Reply Quote 0
          • KOM
            KOM last edited by

            Post screenshots of your port forward screen and your WAN rules.

            1 Reply Last reply Reply Quote 0
            • johnpoz
              johnpoz LAYER 8 Global Moderator last edited by

              Those rules don't show any 80, nor do they show what your block is - your block looks like to 8099, but your rule is to 8062

              Post screen shots of wan and your port forwards - also screenshots are easier to read then not aligned text..

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.05

              1 Reply Last reply Reply Quote 0
              • H
                haoguan last edited by

                Here are my screenshot sir,

                1 Reply Last reply Reply Quote 0
                • H
                  haoguan last edited by

                  sorry for the 8062* port typo error..

                  1 Reply Last reply Reply Quote 0
                  • johnpoz
                    johnpoz LAYER 8 Global Moderator last edited by

                    Your allow to 80 to wan might trigger first? Why did you not just let pfsense create the wan rule for you wen you created the forward?  So the rules would be linked.  You don't want to allow 80 to your pfsense wan IP, you want to allow 80 to be forwarded to your box behind pfsense.  That wan rule says hey if you want to talk to my wan IP on port 80 - its allowed.

                    If it sends traffic to pfsense WAN address first - is there anything listening on pfsense on 80 on the wan interface - if not that explains your closed result.

                    If you want to send 80 to 8099, which seems odd normally it would be the other way because isp blocking 80, etc..

                    But your rules would look like this - see attached.  Notice the linked symbol on the forward rule.

                    I never understand why users change the default when doing a forward which is to allow pfsense to create the associated wan rule.  I would start over, remove that rule to 80 and 443 you created and let pfsense create the wan rule when you create the forward (default).

                    Also quite often web server firewall needs to allow traffic from internet, quite often it only allows traffic from the local network until its opened up.  And you sure you listening on 8099 on the webserver?  You can access that from the local network?




                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.05

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post