50%

🚀

5

iptables Linux . Firewall, . !

Merion Academy



, . . , , - .


Firewall Chains

() . , (), : , , , . Mikrotik : Input, Output Forward.


Input Chain

Input . IP - . , WAN, , . , (, Winbox SSH VLAN ).

VLAN , .


Output Chain

, . , : , DNS ICMP .


Forward Chain

Mikrotik . : , LAN . , WAN.


Firewall Actions

, : accept (), drop () (reject).


Accept

. .


Reject

( reject) , . , .

: , REJECT . , , DROP.

Drop

. Mikrotik .


Firewall Rules

Firewall , , . IP (/ ), (chains), (actions), . , . , DENY ALL ( ).


Chains

(chain). , ( ).

! , .

Actions

: (accept), (reject) (drop). .


, : , IP ( /32 , /24, ). , (eth/GRE).


. , .

Mikrotik Firewall

Firewall:

  1. - , . , .
  2. - , IP VPN . .
  3. deny all - , , , ( L7, ) . , : , - .
  4. ! - , , . , :) . , Nmap.

>