• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 434 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 Offline
    CreativeDevelopers
    last edited by Oct 23, 2017, 8:37 PM

    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 Offline
      CreativeDevelopers
      last edited by Oct 23, 2017, 10:14 PM

      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
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received