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

    Pfsense rewriting my LAN IPs

    Scheduled Pinned Locked Moved Firewalling
    2 Posts 2 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.
    • T Offline
      technopop
      last edited by

      I've got an Alix 3 port box doing routing and NAT.

      WAN-LAN is routing with a routable subnet on the LAN
      WAN-OPT1 is doing NAT with a 192.168.x.x subnet.

      My problem is that outgoing connections from machines on the LAN side are getting their IPs rewritten with the WAN side address of pfsense.

      So a mail server connection appears as if it's originating from pfsense's wan IP and muddles things up when it identifies itself as another.

      How do I turn the rewrite off for LAN -> outside world traffic?

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

        Firewall –> NAT --> outbound
        Enable manual outbound NAT rules.
        Delete the autocreated rule and nothing should be rewritten anymore.
        Make sure you have the correct static routes on the upstream devices set.

        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
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.