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

    Force Outgoing Traffic For Server On LAN Through Virtual IP

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    5 Posts 2 Posters 2.9k 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.
    • H
      Hodge
      last edited by

      Hello,

      I have a mail server on the LAN with IP of 192.168.1.20 which has forwards from a virtual external IP of 220.220.220.10.

      I want all outgoing traffic from the mail server at 192.168.1.20 to go through 220.220.220.10.

      For example if I go to www.whatismyip.com on the mail server I want the IP to show as 220.220.220.10.

      I have had a look at AON and set it up, but i'm not sure if this is where to configure these settings.

      Any help would be great.

      Matt

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        Yes you need an AoN rule for this.
        Can you show a screenshot of your rules?
        The order of the rules is important.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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

          @GruensFroeschli:

          Yes you need an AoN rule for this.
          Can you show a screenshot of your rules?
          The order of the rules is important.

          Thanks for the reply GruensFroeschli. Screenshots of ruled attached.

          1 Reply Last reply Reply Quote 0
          • GruensFroeschliG
            GruensFroeschli
            last edited by

            You got the AoN rule wrong.
            This rule is for outbound traffic.
            So the source sgould be the server and not any,
            and the destination should be any and not the server.

            We do what we must, because we can.

            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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

              @GruensFroeschli:

              You got the AoN rule wrong.
              This rule is for outbound traffic.
              So the source sgould be the server and not any,
              and the destination should be any and not the server.

              Awesome! It's working!

              Thanks a lot GruensFroeschli

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