Skip to content

Commit

Permalink
Update iptables.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
markjcrane committed Aug 3, 2018
1 parent 6aa5af1 commit 99829c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/firewall/iptables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ Flush Out Iptables
| ``iptables -P OUTPUT ACCEPT``
| ``iptables -F``
Open a Port for a Specific IP Address
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

iptables -A INPUT -j ACCEPT -p tcp --dport 5432 -s x.x.x.x/32

Block IP address
^^^^^^^^^^^^^^^^^

Expand Down

0 comments on commit 99829c2

Please sign in to comment.