Multi IP Single WAN
pfSense v1.2.3 RC1
One LAN - 192.168.10.1/24
One WAN - Static IPs - 18.104.22.168/25
How do we forward :
all WAN traffic from StaticIP 22.214.171.124 to LAN achine at 192.168.10.18 ?
all WAN traffic from StaticIP 126.96.36.199 to LAN achine at 192.168.10.30 ?
GruensFroeschli last edited by
- Create VIPs for your additional IPs.
- Create portforwards: either 1:1 NAT, or normal portforwards with AoN rules.
The following did the job:
Firewall -> Virtual IPs -> + Type: Proxy ARP Interface: WAN IP Addresses(s): Type: Single Address Address: Global IP2 Firewall -> Aliases => + Name: Server1Alias Type: Host(s) Host(s): LAN IP of Server1 Firewall -> NAT -> NAT 1:1 -> + Interface: WAN External subnet: GlobalIP2 Internal subnet: Server1Alias Firewall -> Rules Action: Pass Interface: WAN Protocol: any Source: Any Destination: Type: Single Host or Alias Address: Server1Alias
Thx for sharing your solution, but maybe somebody know it works with different public subnets?
Public WAN IPs
xx.xx.1.1/29 gw xx.xx.1.1
xx.xx.2.1/29 gw xx.xx.2.1
xx.xx.3.1/29 gw xx.xx.3.1
Local LAN IPs
Problem: to handle with NAT 1:1 from public to lan IPs