|
@@ -76,7 +76,9 @@ IP=193.43.220.165 # Die Variable IP wird gesetzt.
|
|
|
# Diese öffentliche ip ist die des tun Gerätes für das wan. Debian erstellt also 2 unabhängige Geräte tun,
|
|
|
# einmal im Verzeichnis /etc/tinc/lan/ für das lan und dann für das wan, beide müssen aktiviert werden.
|
|
|
# Die ip für das tun im lan ist z.B. 192.168.40.1
|
|
|
-NETLEN=27 # Die Varia# Die Variable NETLEN wird gesetzt, sie bestimmt die Netzmaske, also 3 x 8 Bit -1. ble NETLEN wird gesetzt, sie bestimmt die Netzmaske, also 3 x 8 Bit -1.
|
|
|
+NETLEN=27
|
|
|
+# Die Variable $NETLEN wird gesetzt, sie bestimmt die Netzmaske, also 3 x 8 Bit -1.
|
|
|
+
|
|
|
ifconfig `$INTERFACE $IP/$NETLEN` mtu 1504
|
|
|
# der Wert von INTERFACE ist wan. Die Netztmaske $ip/$NETLEN ist 193.43.220.165/27.
|
|
|
# Das Setzen der MTU ist besonders wichtig, voreingestellt sind 1500, hier werden aber
|