coolacid / GettingStartedWithELK

Getting Started with ELK
50 stars 7 forks source link

IPTables Example #22

Open coolacid opened 10 years ago

coolacid commented 10 years ago

Example on using IP tables to DNAT a source that can not set their destination port:

Iptables –t nat -A PREROUTING -s [SOURCEIP]/32 -p udp -m udp --dport 514 -j REDIRECT --to-ports [PORT]