hardware:shimtunnel
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| hardware:shimtunnel [2019/01/11 14:54] – [Example 2 : bind to a specific local address for tunnel endpoint] veera | hardware:shimtunnel [2019/01/11 18:16] (current) – veera | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| * Gateway Node real IP : 192.169.2.81 (both should be able to ping each other) | * Gateway Node real IP : 192.169.2.81 (both should be able to ping each other) | ||
| * Port used : UDP 5111 | * Port used : UDP 5111 | ||
| + | * Source IP to use on the gateway end of shim tunnel : 10.251.52.4 | ||
| + | |||
| + | <note warning> | ||
| + | **Pre-check** | ||
| + | * ensure IP Forwarding is disabled '' | ||
| + | * local iptables firewall rules allow the UDP port '' | ||
| + | </ | ||
| ===== Download the Shim software ===== | ===== Download the Shim software ===== | ||
| Line 66: | Line 73: | ||
| - | ===== Options using Source NAT ===== | + | ===== Extra reference : Use Source NAT ===== |
| - | If the above steps still do not work and a different | + | In the very unlikely scenario |
| - | This example NATs the source IP for udp packets to 5111 (custom netflow) | + | < |
| + | iptables -t nat -A | ||
| + | -o enp7s0 | ||
| + | </ | ||
| + | ==== To view rules ==== | ||
| + | |||
| < | < | ||
| - | iptables -t nat -A | + | iptables -t nat -L -v --line-numbers |
| </ | </ | ||
| + | |||
| + | ==== To delete a rule with id 3 ==== | ||
| + | |||
| + | < | ||
| + | iptables -t nat -D POSTROUTING | ||
| + | </ | ||
| + | |||
hardware/shimtunnel.1547198647.txt.gz · Last modified: 2019/01/11 14:54 by veera