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

    Multi WAN with Email server Behind pfsense

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 1 Posters 617 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.
    • I
      ileshwart
      last edited by

      Hi all,

      Hi,

      We are having an issue after we have taken a second internet connection from different ISP which is 100 mbps.

      The scenario is earlier we were using pfsense with only one internet connection which is 2 mbps leased line. which works normal for our email server incoming/outgoing and internet for users.

      When we upgraded to a 100 mbps line which is different ISP we are facing an issue with out going emails only, we are able to receive emails properly. we have configured it as OPT1 and set this interface gateway as default.

      202.xxx.xxx.35
      WAN–----------
          | |pfSense|----->LAN------> 192.168.5.1
      OPT1----------- |
              124.xxx.xxx.11 |------->192.168.5.2 E-Mail Server (we have additional IP and using as virtual IP).

      I am using pfsense 2.2.4. Now our default gateway is OPT1 for internet purpose, and I want to use WAN gateway for email sending/receiving only. I have created a firewall rule in LAN at first place that all traffic from 192.168.5.2 should go from WAN gateway. I have observed that if I set WAN as a default gateway all traffic from email server is going from default gateway only. If i change the default gateway to OPT1 all the traffic is going through OPT1 only. If I block 25 port on OPT1 address emails are showing in queue saying that connection timed out.

      I am attaching screen shots of Firewall rules, NAT, Outbound.

      Can anybody help me.

      Thanks,

      Best Regards
      Ilesh
      pfsense-outbound.png
      pfsense-outbound.png_thumb
      pfsense-NAT.png
      pfsense-NAT.png_thumb
      pfsense-dashboard.png
      pfsense-dashboard.png_thumb
      pfsense-OPT1.png
      pfsense-OPT1.png_thumb
      pfsense-LAN.png
      pfsense-LAN.png_thumb
      pfsense-WAN.png
      pfsense-WAN.png_thumb

      Best Regards
      Ilesh

      1 Reply Last reply Reply Quote 0
      • I
        ileshwart
        last edited by

        Hi,

        Problem Solved.

        Problem is at our ISP they have blocked port 25, they have been told that unfortunately some servers have been improperly shutdown (due to power problem) , from then onwards our emails are not working, when I raise a complaint they have opened port 25. Now its working. Our emails are going from WAN interface and for internet we are using OPT1 interface.

        Thanks,
        Ilesh

        Best Regards
        Ilesh

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