PF how to redirect incoming from a route (fib1) to localhost

I added a second network and now have to routes (fib 0 and fib 1)

I am running HAproxy in the main host and I would like to route incoming traffic from the fib 1 to localhost so that my running service could handle the request, so far I have been trying this with no success:


Code:
rdr pass on vlan0 proto tcp from any to any port 80 -> 127.0.0.1 port 80

Any ideas?
 
Back
Top