Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
ipip_tunnel [2021/04/24 15:18] cubebuilder |
ipip_tunnel [2022/02/27 04:58] (current) onekopaka change the tunnel endpoints to unfiltered IP |
||
---|---|---|---|
Line 50: | Line 50: | ||
echo ' | echo ' | ||
sysctl -p | sysctl -p | ||
- | iptunnel add ipip1 mode ipip local YOUR_FILTERED_IP | + | iptunnel add ipip1 mode ipip local YOUR_UNFILTERED_IP |
ip addr add 192.168.168.1/ | ip addr add 192.168.168.1/ | ||
ip link set ipip1 up | ip link set ipip1 up | ||
Line 58: | Line 58: | ||
< | < | ||
- | iptunnel add ipip1 mode ipip local DESTINATION_SERVER_IP remote | + | iptunnel add ipip1 mode ipip local DESTINATION_SERVER_IP remote |
ip addr add 192.168.168.2/ | ip addr add 192.168.168.2/ | ||
ip link set ipip1 up | ip link set ipip1 up |