Hi,


ive played around with a tunneling setup but got some problems...
this is my network:

local lan -> router -> internet -> vps


for each howto you find, you find different comands even for ipip tunnels...which is kinda weird, but lets start with this one:

Linux Administration: Tunneling: IPIP and GRE Encapsulation

my biggest problem is that one host is connected directly to the internet and most howtos assume that you want to connect two private lans where in my situation i want to connect my private lan with a host on the internet that is reachable via a ipv4 adress


how would you change this command to reflect that i dont have a lan ip:
Code:
ip tunnel add mytun mode ipip remote 240.101.83.2 local 251.4.92.217 ttl 255
ifconfig tun10 10.42.2.1
route add -net 10.42.1.0/24 dev mytun