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

    Can't get mail from LAN (Solved)

    Scheduled Pinned Locked Moved Firewalling
    9 Posts 3 Posters 1.1k 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.
    • R Offline
      rougement
      last edited by

      Hi everyone,

      I hope this isn't a stupid question but I could use some guidance on setting up PFSense.

      I bought a box from PFSense to replace an Apple Airport base station, which is now disconnected. I managed to set to the WAN and LAN so that each client can access the internet, this works fine.

      Next, I navigated to Firewall > NAT > Port Forward and copied over the settings from the airport for the services I need so that traffic for the mail server is routed correctly.

      Example rule:

      Interface: WAN
      Protocol: TCP
      Destination: WAN address
      Port: 25
      Redirect target IP: mail server's IP
      Redirect target port: 25
      I tried letting PFSense create its own filter rule as well as trying "pass"

      I tested this from outside the network and I can send and receive mail just fine. If I try from a client on the LAN, no dice. I can ping the mail server fine, the client can load web pages but mail isn't working.

      I'm sure it's something obvious that I'm missing here and any help would be appreciated.

      1 Reply Last reply Reply Quote 0
      • H Offline
        hda
        last edited by

        You are running a global post-office. And how does your client address from LAN to that SMTP-server ? By Public IP ?

        1 Reply Last reply Reply Quote 0
        • R Offline
          rougement
          last edited by

          I'm not sure what you mean by global post-office.

          Mailserver is mail.companyaddress.com. I can ping the address from within the LAN fine.

          It was working great with port forwarding through the Apple Airport.

          1 Reply Last reply Reply Quote 0
          • H Offline
            hda
            last edited by

            @rougement:

            I'm not sure what you mean by global post-office.
            …

            You state that you have an post-office at your location…

            Sending mail from your client LAN to mail.companyaddress.com is NOT a rule on WAN or Port-Forwarding or NAT, but a rule on LAN to anywhere.

            1 Reply Last reply Reply Quote 0
            • R Offline
              rougement
              last edited by

              I'm running a mail server on the LAN.

              How would I define a rule on LAN to anywhere?

              If you're referring to the default Firewall > Rules > LAN rule, that hasn't been touched and a client on the LAN can access web pages.

              What I'm stuck on is that a client outside of the LAN is able to get through port forwarding and access the mail server. A client on the LAN cannot.

              1 Reply Last reply Reply Quote 0
              • pttP Offline
                ptt Rebel Alliance
                last edited by

                https://doc.pfsense.org/index.php/Why_can%27t_I_access_forwarded_ports_on_my_WAN_IP_from_my_LAN/OPTx_networks

                1 Reply Last reply Reply Quote 0
                • R Offline
                  rougement
                  last edited by

                  Thank you ptt, it's working as expected now.

                  1 Reply Last reply Reply Quote 0
                  • pttP Offline
                    ptt Rebel Alliance
                    last edited by

                    You're welcome !

                    Glad to be of help ;)

                    Maybe you can to edit the First post title, and add [Solved]

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      hda
                      last edited by

                      @ptt:

                      Glad to be of help ;)

                      Good shot.  ;)

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