Skip to content

Commit

Permalink
remove temp firewall rules
Browse files Browse the repository at this point in the history
  • Loading branch information
amitsagtani97 committed Nov 21, 2024
1 parent 4451d4a commit 5a0e7f9
Showing 1 changed file with 0 additions and 43 deletions.
43 changes: 0 additions & 43 deletions terraform/examples/wire-server-deploy-offline-hetzner/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,49 +20,6 @@ locals {
- iptables -A OUTPUT -o eth0 -p udp --dport 123 -j ACCEPT
- ip6tables -A OUTPUT -o eth0 -p udp --dport 123 -j ACCEPT
# Cassandra (inbound and outbound)
- iptables -A OUTPUT -o eth0 -p tcp --dport 9042 -j ACCEPT
- ip6tables -A OUTPUT -o eth0 -p tcp --dport 9042 -j ACCEPT
- iptables -A INPUT -i eth0 -p tcp --sport 9042 -j ACCEPT
- ip6tables -A INPUT -i eth0 -p tcp --sport 9042 -j ACCEPT
- iptables -A OUTPUT -o eth0 -p tcp --dport 9160 -j ACCEPT
- ip6tables -A OUTPUT -o eth0 -p tcp --dport 9160 -j ACCEPT
- iptables -A INPUT -i eth0 -p tcp --sport 9160 -j ACCEPT
- ip6tables -A INPUT -i eth0 -p tcp --sport 9160 -j ACCEPT
- iptables -A OUTPUT -o eth0 -p tcp --dport 7000 -j ACCEPT
- ip6tables -A OUTPUT -o eth0 -p tcp --dport 7000 -j ACCEPT
- iptables -A INPUT -i eth0 -p tcp --sport 7000 -j ACCEPT
- ip6tables -A INPUT -i eth0 -p tcp --sport 7000 -j ACCEPT
- iptables -A OUTPUT -o eth0 -p tcp --dport 7199 -j ACCEPT
- ip6tables -A OUTPUT -o eth0 -p tcp --dport 7199 -j ACCEPT
- iptables -A INPUT -i eth0 -p tcp --sport 7199 -j ACCEPT
- ip6tables -A INPUT -i eth0 -p tcp --sport 7199 -j ACCEPT
# Elasticsearch (inbound and outbound)
- iptables -A OUTPUT -o eth0 -p tcp --dport 9300 -j ACCEPT
- ip6tables -A OUTPUT -o eth0 -p tcp --dport 9300 -j ACCEPT
- iptables -A INPUT -i eth0 -p tcp --sport 9300 -j ACCEPT
- ip6tables -A INPUT -i eth0 -p tcp --sport 9300 -j ACCEPT
- iptables -A OUTPUT -o eth0 -p tcp --dport 9200 -j ACCEPT
- ip6tables -A OUTPUT -o eth0 -p tcp --dport 9200 -j ACCEPT
- iptables -A INPUT -i eth0 -p tcp --sport 9200 -j ACCEPT
- ip6tables -A INPUT -i eth0 -p tcp --sport 9200 -j ACCEPT
# MinIO (inbound and outbound)
- iptables -A OUTPUT -o eth0 -p tcp --dport 9000 -j ACCEPT
- ip6tables -A OUTPUT -o eth0 -p tcp --dport 9000 -j ACCEPT
- iptables -A INPUT -i eth0 -p tcp --sport 9000 -j ACCEPT
- ip6tables -A INPUT -i eth0 -p tcp --sport 9000 -j ACCEPT
- iptables -A OUTPUT -o eth0 -p tcp --dport 9092 -j ACCEPT
- ip6tables -A OUTPUT -o eth0 -p tcp --dport 9092 -j ACCEPT
- iptables -A INPUT -i eth0 -p tcp --sport 9092 -j ACCEPT
- ip6tables -A INPUT -i eth0 -p tcp --sport 9092 -j ACCEPT
# Drop all other traffic
- iptables -A OUTPUT -o eth0 -j DROP
- ip6tables -A OUTPUT -o eth0 -j DROP
Expand Down

0 comments on commit 5a0e7f9

Please sign in to comment.