diff --git a/README.md b/README.md index cddc5d2..edd70c7 100644 --- a/README.md +++ b/README.md @@ -35,11 +35,10 @@ In addition, the following ports must be opened for factomd to function which w An example using `iptables`: ``` sudo iptables -A INPUT ! -s 54.171.68.124/32 -p tcp -m tcp --dport 2376 -m conntrack --ctstate NEW,ESTABLISHED -j REJECT --reject-with icmp-port-unreachable -sudo iptables -A DOCKER-USER ! -s 54.171.68.124/32 -i -p tcp -m tcp --dport 8090 -j REJECT --reject-with icmp-port-unreachable sudo iptables -A DOCKER-USER ! -s 54.171.68.124/32 -i -p tcp -m tcp --dport 2222 -j REJECT --reject-with icmp-port-unreachable sudo iptables -A DOCKER-USER ! -s 54.171.68.124/32 -i -p tcp -m tcp --dport 8088 -j REJECT --reject-with icmp-port-unreachable -sudo iptables -A DOCKER-USER -p tcp -m tcp --dport 8110 -j ACCEPT ``` +(Replace `` with the name of the interface you use to connect to the internet eg. eth0) Don't forget to [save](https://www.digitalocean.com/community/tutorials/iptables-essentials-common-firewall-rules-and-commands#saving-rules) the rules!