Skip to content
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.

Latest commit

 

History

History
11 lines (8 loc) · 189 Bytes

iptables.md

File metadata and controls

11 lines (8 loc) · 189 Bytes

Authorize established connections

iptables -A INPUT -m state --state ESTABLISHED -j ACCEPT

Authorize specific port

iptables -A INPUT -p tcp -i eth0 --dport ssh -j ACCEPT