Fixing nat issue
This commit is contained in:
parent
8dc8c646c1
commit
97bd705b03
@ -88,6 +88,7 @@ if [ $CONNTRACK ]; then
|
|||||||
$IPTABLES -A INPUT -i lo -m state --state NEW -j ACCEPT
|
$IPTABLES -A INPUT -i lo -m state --state NEW -j ACCEPT
|
||||||
$IPTABLES -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
|
$IPTABLES -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
|
||||||
$IPTABLES -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
|
$IPTABLES -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
|
||||||
|
$IPTABLES -A FORWARD -m state --state NEW -j ACCEPT
|
||||||
$IPTABLES -A INPUT -m state --state INVALID -j DROP
|
$IPTABLES -A INPUT -m state --state INVALID -j DROP
|
||||||
$IPTABLES -A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
|
$IPTABLES -A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
|
||||||
$IPTABLES -A OUTPUT -m state --state NEW -j ACCEPT
|
$IPTABLES -A OUTPUT -m state --state NEW -j ACCEPT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user