Navigation

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

    Mail Server behind pfsense

    General pfSense Questions
    3
    4
    759
    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.
    • J
      j90785859 last edited by

      Hi everyone,

      I am new to pfsense and firewall issue, so I hope someone here can give me a hand about this issue.

      The environment is the following:

      Pfsense IP: 192.168.1.1  –> Firewall
      Mail Server 1: 192.168.1.2  --> currently hosting my company emails
      Mail Server 2: 192.168.1.3 --> just for smtp service

      Pfsense NAT: External 25 --> 192.168.1.2 port 25
                            External 1025 --> 192.168.1.3 port 25

      Here is the situtation.

      Mail Server 1 can send out emails to other domains and receive emails from other domains.
      Mail Server 2 can send out emails to other domains as well, however it has problem to send emails to Mail Server 1 and it has the following error msg in mail log

      45EB062CB5: to=tsuser1@xxx.com, relay=none, delay=29822, delays=29790/0.01/32/0, dsn=4.4.1, status=deferred (connect to mail.xxx.com[x.x.x.x]:25: Connection timed out)

      remarks: xxx.com is my company domain, x.x.x.x is my company public IP(Pfsense External IP)

      In this situation, I believe there is a connection problem from Mail Server 2 to external IP port 25, I think there should have some Firewall Rules I need to add to solve this problem.

      Thanks./tsuser1@xxx.com

      1 Reply Last reply Reply Quote 0
      • T
        timthetortoise last edited by

        Make sure that you have NAT reflection turned on (though I think I read somewhere on the forums that it is currently broken).

        1 Reply Last reply Reply Quote 0
        • J
          j90785859 last edited by

          Thx, it works after i turned on the NAT Reflection.

          1 Reply Last reply Reply Quote 0
          • T
            toysareforboys last edited by

            @j90785859:

            Thx, it works after i turned on the NAT Reflection.

            I had the same problem with my mail server, NAT reflection fixed it perfect.

            -Jamie M.

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