Skip to content

Commit

Permalink
Disable HTTPS and Block Port 443.
Browse files Browse the repository at this point in the history
  • Loading branch information
anubhavkini committed Jul 19, 2023
1 parent 6fd8ae4 commit f3ffe89
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions data/ip6tables
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
*nat
-A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8443
COMMIT
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
Expand All @@ -10,7 +7,6 @@ COMMIT
-A INPUT -i lo -j ACCEPT
-A INPUT -i tailscale0 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 8443 -j ACCEPT
-A INPUT -d fe80::/64 -p udp -m udp --dport 546 -m state --state NEW -j ACCEPT
-A INPUT -j REJECT --reject-with icmp6-adm-prohibited
-A FORWARD -j REJECT --reject-with icmp6-adm-prohibited
Expand Down
4 changes: 0 additions & 4 deletions data/iptables
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
*nat
-A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8443
COMMIT
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
Expand All @@ -10,7 +7,6 @@ COMMIT
-A INPUT -i lo -j ACCEPT
-A INPUT -i tailscale0 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 8443 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
COMMIT

0 comments on commit f3ffe89

Please sign in to comment.