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

    Outbound Manual NAT not applying

    Scheduled Pinned Locked Moved NAT
    10 Posts 4 Posters 1.4k 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.
    • S
      scotttiamit
      last edited by

      Hi guys, I have had some Outbound NAT rules setup and working for a while now. I have just added an additional rule so that all outbound traffic from a specific Network 192.168.15.0/24 uses a specific IP Address of 101.98.12.100. This is a subnet I want to use for all WIFI and BYOD access so it shows as coming from a different IP mas our main corporate traffic.

      The 2 rules to apply the same sort of thing for our mail server 101.98.12.97 is working fine. All other web traffic shows as from 101.98.12.98 which is th ebottom rules you can see in the screenshot below.

      Any ideas why this new rule for 101.98.12.100 is not working?

      The addresses are set as VIPs:

      Also the NIC is set to be 192.168.15.5/24.

      Thanks for your help!

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        It's on the wrong interface. Egress interface, which looks like it should be WAN.

        1 Reply Last reply Reply Quote 0
        • S
          scotttiamit
          last edited by

          Good spot, thanks I totally missed that. I fixed it but it doesn't seem to of changed anything. Traffic from my mobile which is on WIFI using the IP 192.168.15.105 should be showing a WAN IP of 101.98.12.100 but it is still showing 101.98.12.98 so it is getting to the last outbouund NAT rule. Any other ideas?

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            Did you reboot after changing this?

            1 Reply Last reply Reply Quote 0
            • S
              scotttiamit
              last edited by

              haha IT 101. Yes I did. Still no change.

              1 Reply Last reply Reply Quote 0
              • S
                scotttiamit
                last edited by

                Anyone else got any ideas? Cheers.

                1 Reply Last reply Reply Quote 0
                • DerelictD
                  Derelict LAYER 8 Netgate
                  last edited by

                  Post the same screenshots again.

                  Chattanooga, Tennessee, USA
                  A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                  DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                  Do Not Chat For Help! NO_WAN_EGRESS(TM)

                  1 Reply Last reply Reply Quote 0
                  • S
                    scotttiamit
                    last edited by

                    Sure here you go:


                    And here is the ip address my mobile is using when on the BYOD network, still 101.98.12.98:

                    1 Reply Last reply Reply Quote 0
                    • DerelictD
                      Derelict LAYER 8 Netgate
                      last edited by

                      It's still on the wrong interface, Holmes.  OUTBOUND NAT goes on the OUTBOUND interface.  Change that BYOD to WAN.

                      Change the VIP too.  It should also be on WAN.

                      Chattanooga, Tennessee, USA
                      A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                      DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                      Do Not Chat For Help! NO_WAN_EGRESS(TM)

                      1 Reply Last reply Reply Quote 0
                      • S
                        scotttiamit
                        last edited by

                        Ahhh! Right, thanks mate that fixed it. I appreciate the help.

                        Awesome!

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