Fix home-assistant
This commit is contained in:
parent
95e8da7960
commit
1a134aa687
3 changed files with 7 additions and 9 deletions
6
firewall
6
firewall
|
@ -72,9 +72,6 @@ iptables -A OUTPUT -p tcp --dport 2277 -j ACCEPT # ACCEPT SSH OUTPUT LIKE GITLAB
|
|||
iptables -A INPUT -p icmp -j ACCEPT
|
||||
iptables -A OUTPUT -p icmp -j ACCEPT
|
||||
|
||||
# CHROMECAST
|
||||
iptables -A OUTPUT -p tcp --dport 5555 -j ACCEPT
|
||||
|
||||
# Parer les attaques de type Déni de Service
|
||||
iptables -A FORWARD -p tcp --syn -m limit --limit 1/second -j ACCEPT
|
||||
iptables -A FORWARD -p udp -m limit --limit 1/second -j ACCEPT
|
||||
|
@ -82,3 +79,6 @@ iptables -A FORWARD -p icmp --icmp-type echo-request -m limit --limit 1/second -
|
|||
|
||||
# Parer les scans de ports
|
||||
iptables -A FORWARD -p tcp --tcp-flags SYN,ACK,FIN,RST RST -m limit --limit 1/s -j ACCEPT
|
||||
|
||||
# Allow all from private network and docker network
|
||||
iptables -A INPUT -j ACCEPT -d 172.17.0.0/16
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue