Реализован production-hardening по fix1: env/reconfigure, IPv4-only, TLS, secrets, firewall, docs
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
table inet hy2xs {
|
||||
table ip hy2xs {
|
||||
chain input {
|
||||
type filter hook input priority 0; policy drop;
|
||||
|
||||
@@ -6,9 +6,7 @@ table inet hy2xs {
|
||||
ct state established,related accept
|
||||
tcp dport {{SSH_PORT}} accept
|
||||
udp dport {{HYSTERIA_PORT}} accept
|
||||
tcp dport {{UI_PORT}} ip saddr 127.0.0.1 accept
|
||||
tcp dport {{UI_PORT}} ip saddr {{UI_BIND_HOST}} accept
|
||||
icmp type echo-request accept
|
||||
ip6 nexthdr ipv6-icmp accept
|
||||
ip protocol icmp accept
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user