Changes between Version 1 and Version 2 of Iptables


Ignore:
Timestamp:
02/01/22 22:59:29 (3 years ago)
Author:
krit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Iptables

    v1 v2  
    1414iptables -A FORWARD -s 10.50.30.0/24 -d 10.50.30.0/24 -j ACCEPT
    1515}}}
     16
     17Block dst IP
     18{{{
     19#!sh
     20iptables -A OUTPUT -d 203.151.31.76 -j DROP
     21}}}
     22Unblock dst IP
     23{{{
     24#!sh
     25iptables -D OUTPUT -d 203.151.31.76 -j DROP
     26}}}