SSH to your Router, in this case we are going to forward traffic to my IDS on: 192.168.1.200
iptables -A PREROUTING -t mangle -j ROUTE --gw 192.168.1.200 --teeTo confirm the rules have been created we can run the following command:
iptables -A POSTROUTING -t mangle -j ROUTE --gw 192.168.1.200 --tee
iptables -L -t mangleTo remove the rule we run the following command:
iptables -F -t mangle
No comments:
Post a Comment