Skip to content

Commit

Permalink
Add code block to format it better
Browse files Browse the repository at this point in the history
  • Loading branch information
markjcrane committed Jul 14, 2021
1 parent ddacc29 commit 36b3608
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/firewall/iptables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ Flush Out Iptables
Open a Port for a Specific IP Address
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

iptables -A INPUT -j ACCEPT -p tcp --dport 5432 -s x.x.x.x/32
| ``iptables -A INPUT -j ACCEPT -p tcp --dport 5432 -s x.x.x.x/32``
Block IP address
^^^^^^^^^^^^^^^^^

``iptables -I INPUT -s 62.210.245.132 -j DROP``
| ``iptables -I INPUT -s 62.210.245.132 -j DROP``
Flush iptables
^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 36b3608

Please sign in to comment.