Filter for SSH Traffic (Example)
Precaution Command Before DROP Policy (LAB)
Before changing the policy to DROP
sudo shutdown -r 5Change your policy to DROP
iptables -t filter -P INPUT DROP
iptables -t filter -P OUTPUT DROP
iptables -t filter -P FORWARD DROPsudo shutdown -cExamples
Without using Multiport
Using Multiport
NAT, PAT, and Port Forward (Examples)
Last updated