tun

настройка gre в debian

auto tun0
iface tun0 inet static
address 10.0.0.1
netmask 255.255.255.255
up ifconfig tun0 multicast
pre-up iptunnel add tun0 mode gre remote 222.222.222.222 local 111.111.111.111 ttl 255
pointopoint 10.0.0.2
post-down iptunnel del tun0