/etc/ppp/options.pptp, /etc/ppp/peers/falcot, /etc/ppp/ip-up.d/falcot und /etc/ppp/ip-down.d/falcot.
/etc/ppp/options.pptp# PPP options fuer eine PPTP connection lock noauth nobsdcomp nodeflate
/etc/ppp/peers/falcot# vpn.falcot.com ist der PPTP server pty "pptp vpn.falcot.com --nolaunchpppd" # die Verbindung wird dem "vpn" Benutzer zugerechnet user vpn remotename pptp # Verschluesselung wird benuetigt require-mppe-128 file /etc/ppp/options.pptp ipparam falcot
/etc/ppp/ip-up.d/falcot# Erzeuge Route in das Falcot Netzwerk if [ "$6" = "falcot" ]; then # 192.168.0.0/24 ist das (remote) Falcot-Netzwerk route add -net 192.168.0.0 netmask 255.255.255.0 dev $1 fi
/etc/ppp/ip-down.d/falcot# Loesche die Route in das Falcot-Netzwerk if [ "$6" = "falcot" ]; then # 192.168.0.0/24 is the (remote) Falcot network route del -net 192.168.0.0 netmask 255.255.255.0 dev $1 fi