Hi!

> I have a jail running a web server in LAN. There are two routers/WANs 
> that can connect LAN to the internet. I enabled NAT and port forwarding 
> to the web server on both routers.
[...]
> Can I configure either router/host/jail so that the web server sends the 
> response back to the IP that sent the request packet rather than to the 
> default gateway?

I have a vague idea:

If you set a tag (or a keep-state :flowname) using a ipfw rule that matches
the incoming gateway MAC and match that tag/check-state flowname and
the connection (keep-state) to fwd the answer packet back to that gateway ?

-- 
p...@opsec.eu            +49 171 3101372                         3 years to go !
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to