IP forwarding on virtual IP



  • Hi guys,

    I am trying to achieve something that I could do easily on an F5 - creating an IP forwarder with an internal IP address (in this case 172.16.0.251:0) that will forward packets to an external IP address.

    The reason I am doing this is because I want to prove that our existing non-pfSense firewall is stopping forwarding of traffic. I am using our NMS to ping our default GW to our ISP through this non-pfSense firewall. Because pfSense is not the default the default route from our internal network, I need to be able to ping a virtual IP, and that VIP forward the traffic to the default gateway.

    I have been looking at all the NAT options and nothing seems to work.

    I was also looking at HAProxy but I need it to operate at layer 3 rather than layer 4 because I want to forward ICMP.

    Any ideas?

    TIA,
    PC