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

    Ports SMTP, IMAP, POP3

    Scheduled Pinned Locked Moved NAT
    6 Posts 3 Posters 8.6k Views
    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.
    • B
      beezer1424
      last edited by

      Could someone please sum up how to enable these ports to be forwarded on  pfsense 2.0

      Let's make this basic 1 WAN  1 LAN
      I also setup the outbound rule for the LAN subnet to pass any port to any destination

      I have been able to forward most ports no problem (remote desktop, DNS …) but my SMTP IMAP and POP3 port forwarding does not work.  When i use an outside program to see which ports are open i get a response that pfsense is actively blocking these ports, and these ports only, on my system. the rest of the ports are timing out becuase i don't have them forwarded  I am able to successfully send emails, but I am not able to receive them.  I can not telnet on port 25 to my mailserver from an external site either.

      please someone show me these screens (see attached)  and any other outbound rules I need!  thank you.
      Slide1.JPG
      Slide1.JPG_thumb
      Slide3.JPG
      Slide3.JPG_thumb

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        That looks correct, but we'd need to see the contents of the WAN firewall rules as a whole (the list view is fine) and check the firewall logs to see if entries are being blocked there.

        If nothing shows up in the firewall log, check that the target box's gateway is set for pfSense, and also that there is not a local firewall on that box that is blocking the traffic.

        You can also do some packet captures for traffic to those ports to see if it's leaving the LAN side like it should be.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • B
          beezer1424
          last edited by

          Here are the screenshots of the WAN rule, the firewall log (the port 25 scan never even makes it to the log), and the a copy of the response from the port scanner itself.  I have called my ISP and they are not blocking port 25. I have comcast business connection.

          thanks for any and all your help!

          Slide1.JPG
          Slide1.JPG_thumb
          Slide1.JPG
          Slide1.JPG_thumb
          Slide3.JPG
          Slide3.JPG_thumb

          1 Reply Last reply Reply Quote 0
          • E
            Efonnes
            last edited by

            That sounds like the connection to the SMTP port is getting through to the machine but it is refusing it.  Nothing like that is going to happen on pfSense unless you specifically configure a rule that rejects the connection instead of the default of blocking/ignoring it, and you likely wouldn't have done that specifically for SMTP without knowing it.

            Make sure your SMTP server is actually accepting the connection rather than refusing it, either the SMTP server itself or the firewall on the system (if any), and that the SMTP server is actually running on the machine you are forwarding it to.

            1 Reply Last reply Reply Quote 0
            • B
              beezer1424
              last edited by

              I thought I did the pfsense part correct! I know there is no firewall on the machine itself, I will check the smtp to see if it is refusing it.

              thanks!

              1 Reply Last reply Reply Quote 0
              • B
                beezer1424
                last edited by

                It was my mal server…. pfsense is the ballz

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.