iptables

How to Redirect SNMP Outgoing Traffic from 162 to a Different Port

Introduction Following a test I’ve just made, here is how to re-route a specific output traffic to a different port/host/etc using iptables. In this example , my test machine is 10.0.0.22 and my traps receiving machine is 1.2.3.4. I redirect port 162 to port 8787   The command # iptables -t nat -A OUTPUT –src […]

Articles