mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-13 04:22:58 +02:00
Merge remote-tracking branch 'origin/next' into fifteen
Conflicts: doc/language_issues.es doc/language_issues.fr doc/language_issues.nl doc/language_issues.pl doc/language_issues.tr doc/language_missings
This commit is contained in:
@@ -24,6 +24,10 @@ function setup_firewall() {
|
||||
if [ "${TOR_RELAY_ENABLED}" = "on" -a -n "${TOR_RELAY_PORT}" ]; then
|
||||
iptables -A TOR_INPUT -p tcp --dport "${TOR_RELAY_PORT}" -j ACCEPT
|
||||
fi
|
||||
|
||||
if [ "${TOR_RELAY_ENABLED}" = "on" -a -n "${TOR_RELAY_DIRPORT}" ] && [ "${TOR_RELAY_DIRPORT}" -ne 0 ]; then
|
||||
iptables -A TOR_INPUT -p tcp --dport "${TOR_RELAY_DIRPORT}" -j ACCEPT
|
||||
fi
|
||||
}
|
||||
|
||||
function flush_firewall() {
|
||||
|
||||
Reference in New Issue
Block a user