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

    How to setup NAT with static IP-Adresses and NAT outbound for local network?

    Scheduled Pinned Locked Moved NAT
    2 Posts 1 Posters 401 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.
    • C
      CreativeDevelopers
      last edited by

      Hello everybody

      I am perplexed and unfortunately I do not reach my goal.

      My provider gave me the WAN IP-Adresses 85.245.122.49/29.
      These IP addresses are used directly by individual servers. There is no translation from, for example, 85.245.122.50 to 192.168.5.50. The servers directly stored the respective IP address with gateway 85.245.122.49

      My current configuration of the interfaces:

      | eth0 | WAN | auto | DHCP IPv4 |
      | eth1 | LAN | static | 192.168.1.1/24 |
      | eth2 | OPT1 | static | 85.245.122.49/29 |

      How should I set this up with PFSense? Do I need to use NAT 1: 1?
      But how can I then define a certain WAN IP address for the outgoing traffic of 192.168.1.x?

      thank you very much

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

        i have now setup each servers interface with the wan-ip

        example Server1:
        IP: 85.245.122.50
        Gateway: 85.245.122.49

        I have configured a 1:1 NAT external IP 85.245.122.50 to internal IP 85.245.122.50
        this works. Is this not the same like FULL NAT?

        when a computer from the local network 192.168.1.1/24 is going in the internet, the WAN-IP-Address should be always 85.245.122.54. how do I have to do this?

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