hardware:gatewaynetflow
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
hardware:gatewaynetflow [2019/01/04 17:53] – [Shutdown ufw or disable firewalld] dhinesh | hardware:gatewaynetflow [2019/01/07 11:44] – [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. | ||
+ | If you want to setup a GRE Tunnel instead of a NAT , to preserve the router IPs while also using the source IP of the gateway node, read " | ||
===== IPTABLES Port based NAT ===== | ===== IPTABLES Port based NAT ===== | ||
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.txt · Last modified: 2019/01/07 11:45 by veera