Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
freifunk:meshkit [27.08.2014 00:12] – [olsr] stephanj | freifunk:meshkit [29.01.2015 01:45] (aktuell) – [Post-Install-Schritte] stephanj | ||
---|---|---|---|
Zeile 18: | Zeile 18: | ||
| | ||
| | ||
- | - Install fastd from openwork | + | - Install fastd from openwrt |
- | opkg install http:// | + | # opkg update |
+ | # opkg install http:// | ||
+ | # / | ||
- Install kmod-ipip | - Install kmod-ipip | ||
- | opkg install kmod-ipip | + | # opkg install kmod-ipip |
- Config fastd | - Config fastd | ||
- Config OLSRd | - Config OLSRd | ||
Zeile 43: | Zeile 45: | ||
< | < | ||
# mkdir / | # mkdir / | ||
- | # echo "key " | + | # echo " |
- | remote ipv4 " | + | remote ipv4 \" |
</ | </ | ||
Zeile 62: | Zeile 64: | ||
option secure_handshakes 1 | option secure_handshakes 1 | ||
option secret ' | option secret ' | ||
- | option up 'ip link set up dev $1;ip a a 10.99.254.X/ | + | option up 'ip link set up dev $1;ip a a 10.99.254.X/ |
</ | </ | ||
Zeile 128: | Zeile 130: | ||
option Mode ' | option Mode ' | ||
</ | </ | ||
+ | |||
+ | ===== Firewall ===== | ||
+ | |||
+ | Die Firewall-Config (iptables) sollte zwei Ergänzungen in der Datei / | ||
+ | * (Optional) SSH-Port von außen (in der Regel das LAN) durch den WAN-Port des Routers öffnen: | ||
+ | < | ||
+ | config redirect | ||
+ | option enabled ' | ||
+ | option target ' | ||
+ | option src ' | ||
+ | option dest ' | ||
+ | option proto ' | ||
+ | option src_dport ' | ||
+ | option dest_ip ' | ||
+ | option dest_port ' | ||
+ | option name ' | ||
+ | </ | ||
+ | * Das VPN in die Firewall-Regeln aufnehmen und mit WAN und Freifunk verbinden: | ||
+ | < | ||
+ | config zone | ||
+ | option input ' | ||
+ | option output ' | ||
+ | option name ' | ||
+ | option forward ' | ||
+ | option network ' | ||
+ | option masq ' | ||
+ | option mtu_fix ' | ||
+ | |||
+ | config forwarding | ||
+ | option dest ' | ||
+ | option src ' | ||
+ | |||
+ | config forwarding | ||
+ | option dest ' | ||
+ | option src ' | ||
+ | |||
+ | config forwarding | ||
+ | option dest ' | ||
+ | option src ' | ||
+ | |||
+ | config forwarding | ||
+ | option dest ' | ||
+ | option src ' | ||
+ | </ | ||
+ | |||
+ | **Ergänzung: | ||
+ | Es muss der Parameter '' |