Skip to content

Commit

Permalink
Add RPC port to iptables config
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneog committed Jul 5, 2016
1 parent 5170dd7 commit 56de005
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions terraform/shared/scripts/ip_tables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -e
sudo iptables -I INPUT -s 0/0 -p tcp --dport 8300 -j ACCEPT
sudo iptables -I INPUT -s 0/0 -p tcp --dport 8301 -j ACCEPT
sudo iptables -I INPUT -s 0/0 -p tcp --dport 8302 -j ACCEPT
sudo iptables -I INPUT -s 0/0 -p tcp --dport 8400 -j ACCEPT

if [ -d /etc/sysconfig ]; then
sudo iptables-save | sudo tee /etc/sysconfig/iptables
Expand Down

0 comments on commit 56de005

Please sign in to comment.