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

    1:1 NAT selective translation

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 2.0k 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.
    • R
      rscataran
      last edited by

      I have setup a 1:1 NAT between my LAN and WAN interface. Here is my setup..

      LAN - 192.168.1.1/24
      WAN - 192.168.2.1/24

      Virtual IP - 192.168.2.128/25
      1:1 NAT - Interface = WAN
                  - External IP= 192.168.2.128/25
                  - Internal IP= 192.168.1.128/25

      The issue is if I send a packet from the LAN interface say, 192.168.1.65 and the destination is a specific IP address from WAN interface say, 192.168.2.44. I don't want the LAN IP address to translate to 192.168.2.65.

      Is this possible? Thanks.

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

        Try to add some advanced outbound "no nat" rules. Not ruse if this will work though or if they get "beaten" by the 1:1 nat's.

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