We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 217e100 commit 0c1e80cCopy full SHA for 0c1e80c
packaging/vendor/kerlink/keros-gws/files/chirpstack-gateway-bridge.init
@@ -10,7 +10,7 @@ function iptables_accept {
10
[ -n "${1}" ] || exit 1
11
local RULE="OUTPUT -t filter -p tcp --dport ${1} -j ACCEPT"
12
iptables -C ${RULE} 2> /dev/null || iptables -I ${RULE}
13
- local RULE="INPUT -t filter -p tcp --sport ${1} -j ACCEPT"
+ local RULE="INPUT -t filter -p tcp --sport ${1} -m conntrack --ctstate ESTABLISHED -j ACCEPT"
14
15
}
16
0 commit comments