I've setup a redhat box with two nics and bridged them. No interfaces have an IP on them, this box will be locally managed.
This device will be used to transparently control it's users. I can handle blocking of services that are not allowed, but I would like to redirect web browsing to a page displaying a message to users.
I've found a few examples similar to this, but none work as expected. I'm not sure if it's because I'm bridging or doing something wrong here.
iptables -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination xxx.xxx.xxx.xxx
Halp!
This device will be used to transparently control it's users. I can handle blocking of services that are not allowed, but I would like to redirect web browsing to a page displaying a message to users.
I've found a few examples similar to this, but none work as expected. I'm not sure if it's because I'm bridging or doing something wrong here.
iptables -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination xxx.xxx.xxx.xxx
Halp!