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

    Redirect smtp traffic to ISP's mailserver

    Scheduled Pinned Locked Moved NAT
    3 Posts 2 Posters 2.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.
    • L
      liontaur
      last edited by

      Hey folks. What i'd like to be able to do is redirect all outgoing traffic on port 25 to my ISP's mailserver as they otherwise block port 25. Often i'll have customers come in and try to send mail and it won't go unless I tell them to change their outgoing mailserver to our ISP's which is kind of a pain in the butt. Any suggestions? I seem to recall being able to divert packets in ipfw but couldn't figure out how to do it in pfsense. Thanks!

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

        Create a portforward at interface LAN for port 25 to that server with ANY as external adress. Not sure if that works for a remote server. Maybe you need to forward this to a local mail relayer instead in that rule that is forwarding the traffic to that server then.

        1 Reply Last reply Reply Quote 0
        • L
          liontaur
          last edited by

          Looks like that will solve the problem just fine. Thanks hoba!

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