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 0ca4495 commit 4fa9e6eCopy full SHA for 4fa9e6e
packaging/vendor/kerlink/klkgw/files/chirpstack-mqtt-forwarder.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