1
General Discussion / Unable to change outbound IP of client
« on: January 15, 2024, 01:34:28 am »
Edit: I have tried changing the virtual IP to "Proxy ARP". No effect.
Recently migrated from PFSense to OPNSense, and am struggling with this. OPNSense is on latest, 23.7.11. My configuration is below, but curl to ifconfig.me doesn't change (from my default WAN address).
1.2.3.4 is my (fake) WAN address, and 192.168.1.100 is my (fake) internal address. I want 192.168.1.100's outbound traffic to use 1.2.3.4 (as opposed to, say, 1.2.3.5).
Virtual IPs
Firewall: NAT: Outbound
Recently migrated from PFSense to OPNSense, and am struggling with this. OPNSense is on latest, 23.7.11. My configuration is below, but curl to ifconfig.me doesn't change (from my default WAN address).
1.2.3.4 is my (fake) WAN address, and 192.168.1.100 is my (fake) internal address. I want 192.168.1.100's outbound traffic to use 1.2.3.4 (as opposed to, say, 1.2.3.5).
Virtual IPs
- Mode: IP Alias
- Interface: WAN
- Network/Address: 1.2.3.4/29
Firewall: NAT: Outbound
- Mode: Hybrid
- Interface: WAN
- TCP/IP Version: IPv4
- Protocol: any
- Source address: 192.168.1.100/32
- Source port: any
- Destination address: any
- Destination port: any
- Translation/target: 1.2.3.4