Nftables bridge interface redirect to local machine
Hi Guys,
I'm trying to migrate across to nftables as I like its new features. My current sent up is:
br0
LAN <------------> [ens34 bridged ens33] <--------------> ROUTER(Internet)
I would like to redirect any incoming traffic on the LAN side (ens34) of the bridge interface br0 destined to port 80 to the local web server to authenticate.
I would like to do this for all DNS requests as well. Basically, use the bridged Linux box as a transparent gateway.
I have tried the example in the man page but I cannot get it to work. Any help or pointers would be greatly appreciated.
Kernel Version 4.10.0-35-generic
nftables v0.7
Thanks
Evan