Selaa lähdekoodia

Update iptables.rst

FusionPBX 7 vuotta sitten
vanhempi
commit
99829c2acc
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      source/firewall/iptables.rst

+ 5 - 0
source/firewall/iptables.rst

@@ -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
 ^^^^^^^^^^^^^^^^^