CITS3002 Computer Networks  
prev
next CITS3002 help3002 CITS3002 schedule  

An introduction to filtering rules

We will follow the development of filtering rules for a simple (home) computer with a single network interface. Initially, we'll just consider packet filtering.

Firstly, define the internal and external networking interfaces that we have, flush any existing iptables rules for the filter table, and define the default policy for each chain:

INT=ppp0
EXT=ppp0

/sbin/iptables -t filter -F
/sbin/iptables -t filter -X

/sbin/iptables -t filter -P INPUT   DROP     
/sbin/iptables -t filter -P FORWARD DROP
/sbin/iptables -t filter -P OUTPUT  DROP




CITS3002 Computer Networks, Lecture 11, Security of TCP/IP, p22, 15th May 2024.