openwrt: update for openwrt 21.02.
This commit is contained in:
parent
0614229938
commit
757998a055
4 changed files with 10 additions and 7 deletions
|
@ -21,15 +21,21 @@ set -x
|
|||
opkg update
|
||||
opkg install kmod-jool jool-tools
|
||||
|
||||
|
||||
cat <<EO2 > /etc/rc.local
|
||||
|
||||
sysctl -w net.ipv6.conf.all.accept_ra=2
|
||||
|
||||
modprobe jool
|
||||
|
||||
jool -6 ${nat64_prefix}
|
||||
jool instance add default --netfilter -6 ${nat64_prefix}
|
||||
|
||||
EO2
|
||||
|
||||
# OpenWRT has 192.168.1. assigned on LAN by default
|
||||
# Probably not even necessary
|
||||
# jool -4 -a 192.168.1.1
|
||||
|
||||
sh /etc/rc.local
|
||||
|
||||
EOF
|
||||
|
|
|
@ -117,8 +117,7 @@ ping6 -c5 ungleich.ch || exit 1
|
|||
opkg update
|
||||
|
||||
# install wireguard + gui
|
||||
opkg install wireguard
|
||||
opkg install luci-app-wireguard
|
||||
opkg install luci-app-wireguard luci-proto-wireguard
|
||||
|
||||
# VPN / Wireguard
|
||||
uci set network.wg0=interface
|
||||
|
|
|
@ -144,8 +144,7 @@ ping -c5 ungleich.ch || exit 1
|
|||
opkg update
|
||||
|
||||
# install wireguard + gui
|
||||
opkg install wireguard
|
||||
opkg install luci-app-wireguard
|
||||
opkg install luci-app-wireguard luci-proto-wireguard
|
||||
|
||||
# VPN / Wireguard
|
||||
uci set network.wg0=interface
|
||||
|
|
|
@ -125,8 +125,7 @@ ping -c5 ungleich.ch || exit 1
|
|||
opkg update
|
||||
|
||||
# install wireguard + gui
|
||||
opkg install wireguard
|
||||
opkg install luci-app-wireguard
|
||||
opkg install luci-app-wireguard luci-proto-wireguard
|
||||
|
||||
# VPN / Wireguard
|
||||
uci set network.wg0=interface
|
||||
|
|
Loading…
Reference in a new issue