add some server mode iptables redirect logic