From ad18adbf5c7c299714cd5c9747d88ff68d258f15 Mon Sep 17 00:00:00 2001 From: Suysker <61983976+Suysker@users.noreply.github.com> Date: Tue, 7 Jun 2022 10:15:29 +0800 Subject: [PATCH] n2n: v3: fixes init script (#9488) --- package/lean/n2n_v2/files/n2n_v2.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/lean/n2n_v2/files/n2n_v2.init b/package/lean/n2n_v2/files/n2n_v2.init index b1f1bc6e8..4ecd8c7ad 100755 --- a/package/lean/n2n_v2/files/n2n_v2.init +++ b/package/lean/n2n_v2/files/n2n_v2.init @@ -41,7 +41,7 @@ start_instance() { config_get_bool enabled "$cfg" 'enabled' '0' [ "$enabled" = "0" ] && return 1 config_get port "$cfg" 'port' - /usr/bin/supernode -l $port & + /usr/bin/supernode -p $port & iptables -I INPUT -p udp --dport $port -j ACCEPT -m comment --comment 'n2n supernode port' ;; route)