VPN zentral
Warum
Damit alle DSLer einen zusaetzlichen Nachbarn bekommen, wird ein VPN Router im Internet (=M18) aufgestellt. Strecken ueber viele Hops werden dann durch den Tunnel geleitet
Wie
Die Software der Wahl ist vtun.
Konfiguration
- Server in der M18 = Linksys
- Installation mit: ipkg update; ipkg install vtund
- Aufruf mit: vtund -s -f /etc/vtund.conf
- KonfigDatei /etc/vtund.conf:
vpn {
passwd bla;
type tun;
proto udp;
compress no;
encrypt no;
keepalive yes;
multi yes;
stat no;
up {
ifconfig "%% 104.63.254.1 pointopoint 104.63.254.41 mtu 1450";
};
}
- Klient = jeder DSLer
- Aufruf mit: vtund -f /etc/vtund.conf vpn 141.54.160.25
- KonfigDatei /etc/vtund.conf:
vpn {
passwd bla;
device tun1;
persist yes;
up {
ifconfig "%% 104.63.254.41 pointopoint 104.63.254.1 mtu 1450";
};
}