Browse Source

yggdrasil: allow HTTPS connections

Signed-off-by: James Vorderbruggen <jamesvorder@gmail.com>
lilik-openwrt-22.03
James Vorderbruggen 3 years ago
committed by JamesVorder
parent
commit
ffff347396
2 changed files with 12 additions and 1 deletions
  1. +1
    -1
      net/yggdrasil/Makefile
  2. +11
    -0
      net/yggdrasil/files/yggdrasil.defaults

+ 1
- 1
net/yggdrasil/Makefile View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=yggdrasil PKG_NAME:=yggdrasil
PKG_VERSION:=0.3.16 PKG_VERSION:=0.3.16
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/yggdrasil-network/yggdrasil-go/tar.gz/v$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/yggdrasil-network/yggdrasil-go/tar.gz/v$(PKG_VERSION)?


+ 11
- 0
net/yggdrasil/files/yggdrasil.defaults View File

@ -89,6 +89,17 @@ EOF
set firewall.@rule[-1].target=ACCEPT set firewall.@rule[-1].target=ACCEPT
EOF EOF
# allow LuCI access with SSL from yggdrasil zone, needs to be explicitly enabled
uci -q batch <<-EOF >/dev/null
add firewall rule
set firewall.@rule[-1].enabled=0
set firewall.@rule[-1].name='Allow-HTTPS-yggdrasil'
set firewall.@rule[-1].src=yggdrasil
set firewall.@rule[-1].proto=tcp
set firewall.@rule[-1].dest_port=443
set firewall.@rule[-1].target=ACCEPT
EOF
uci commit firewall uci commit firewall
uci commit network uci commit network


Loading…
Cancel
Save