Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ipip_tunnel [2021/04/24 15:11] cubebuilder created |
ipip_tunnel [2022/02/27 04:58] (current) onekopaka change the tunnel endpoints to unfiltered IP |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | //[This how-to tutorial was created by BuyVM. | + | This how-to tutorial was created by BuyVM. |
{{buyvm_logo.png? | {{buyvm_logo.png? | ||
Line 26: | Line 26: | ||
===== Supported Operating Systems ==== | ===== Supported Operating Systems ==== | ||
- | It is possible to use Windows to create, and forward your IPIP tunnel. If you need to protect a Windows server please consider purchasing a KVM plan. | + | It is possible to use Windows to create, and forward your IPIP tunnel. |
In this document we'll only be covering a Linux IPIP tunnel configuration. | In this document we'll only be covering a Linux IPIP tunnel configuration. | ||
- | This guide will work 100% on both our KVM, and OpenVZ based plans. | + | This guide will work 100% on a BuyVM KVM Slice. |
===== Prerequisites ===== | ===== Prerequisites ===== | ||
Line 38: | Line 37: | ||
* A kernel with IPIP support (Linux includes this by default - '' | * A kernel with IPIP support (Linux includes this by default - '' | ||
* A list of ports you need forwarded to your destination | * A list of ports you need forwarded to your destination | ||
- | * A BuyVM VPS (starting as low as $15/yr for our [[http:// | + | * A BuyVM KVM Slice (starting as low as [[https:// |
- | * A [[http:// | + | * A [[http:// |
Line 51: | 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 59: | 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 |