hardware:gatewaynetflow
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
hardware:gatewaynetflow [2019/01/03 18:28] – [Reference] veera | hardware:gatewaynetflow [2019/01/03 18:33] – [Shutdown ufw or disable firewalld] veera | ||
---|---|---|---|
Line 13: | Line 13: | ||
==== Shutdown ufw or disable firewalld ==== | ==== Shutdown ufw or disable firewalld ==== | ||
+ | since we are working directly with iptables. | ||
< | < | ||
Line 31: | Line 32: | ||
< | < | ||
- | $ iptables -t nat -A PREROUTING -p udp --dport 2055 -j DNAT --to-destination 10.10.10.17: | + | $ iptables -t nat -A PREROUTING -p udp \ |
- | $ iptables -t nat -A POSTROUTING -j MASQUERADE | + | |
</ | </ | ||
Line 39: | Line 40: | ||
+ | <note important> | ||
+ | </ | ||
==== Useful commands ==== | ==== Useful commands ==== | ||
To view NAT rules with counters | To view NAT rules with counters | ||
+ | '' | ||
iptables -t nat -vL | iptables -t nat -vL | ||
+ | '' | ||
==== Reference ==== | ==== Reference ==== | ||
hardware/gatewaynetflow.txt · Last modified: 2019/01/07 11:45 by veera