hardware:gatewaynetflow
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
hardware:gatewaynetflow [2019/01/03 18:35] – [IPTABLES Port based NAT] veera | hardware:gatewaynetflow [2019/01/07 11:45] (current) – [How to redirect Netflow to Trisul across network segments using NAT] veera | ||
---|---|---|---|
Line 7: | Line 7: | ||
This HOWTO explains how to use Linux IPTABLES NAT to solve the issue. | This HOWTO explains how to use Linux IPTABLES NAT to solve the issue. | ||
+ | < | ||
===== IPTABLES Port based NAT ===== | ===== IPTABLES Port based NAT ===== | ||
Line 23: | Line 24: | ||
# Make sure ip forwarding is enabled in kernel | # Make sure ip forwarding is enabled in kernel | ||
- | echo 1 > / | + | echo 1 > / |
</ | </ | ||
Line 32: | Line 33: | ||
< | < | ||
- | $ iptables -t nat -A PREROUTING -p udp \ | + | $ iptables -t nat -A PREROUTING -p udp --dport 2055 -j DNAT --to-destination 10.10.10.17: |
- | | + | |
</ | </ | ||
hardware/gatewaynetflow.1546520746.txt.gz · Last modified: 2019/01/03 18:35 by veera