add iptable rule to allow lan access
This commit is contained in:
parent
4019060e68
commit
6d9c814003
@ -51,6 +51,8 @@ iptables -A INPUT -j ACCEPT -m state --state ESTABLISHED
|
||||
|
||||
# allow LAN
|
||||
iptables -A OUTPUT -d 192.168.122.0/24 -j ACCEPT
|
||||
iptables -A INPUT -s 192.168.122.0/24 -j ACCEPT
|
||||
|
||||
iptables -I INPUT -p tcp -m tcp --dport 8388 -j ACCEPT
|
||||
iptables -I INPUT -p tcp -m tcp --dport 2222 -j ACCEPT
|
||||
iptables -I INPUT -p tcp -m tcp --dport 1080 -j ACCEPT
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user