1

iptables / ipset, redirect a set to another host/ip?

view story
linux-howto

http://www.linuxquestions.org – Hi everyone, I'm looking for some help with iptables and ipset. I currently have it working well to drop or accept connections from IPs in a set. I'm looking to redirect ALL traffic from certain sets to another IP/server. iptables -A INPUT -m set –set BadSet src -j DROP iptables -A INPUT -m set –set GoodSet src -j ACCEPT If I have a set "SoSoSet", I'd like it to be redirected to another IP. 1.1.1.1 Thanks in advance. (HowTos)