0

I want to redirect all the traffic to a public IP to a local IP address.

I have te follow network. The server is from internet reachable trough the public IP (1.2.3.4). On the ISP router and the pfsense the NAT forward the traffic to the server (192.168.2.2). In pfsense the DNS is configured with the local IP of the server.

The problem is a laptop (192.168.2.3) in the pfsense LAN, it's a working device and I am not administrator. On the laptop there is a VPN and a configured DNS server that I cannot change. If I try to visit the server the laptop receive the public IP, but the ISP router don't reflect the traffic back.

I have tried to configure a virtual IP (1.2.3.4) on the LAN interface and NAT the traffic to the server (192.168.2.2). But there is no connection.

What can I do? Or what I do wrong?

Mauro
  • 1
  • 1

1 Answers1

0

The problem that I have found was a missing option in System>Advanced in the tab Firewall & NAT you have to check the option Enable automatic outbound NAT for Reflection.

After that you need to recreate the NAT rule.

Mauro
  • 1
  • 1