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



  • 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



  • 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?


Log in to reply