Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- iptables -F # flush all rules
- iptables -I INPUT 1 -s 10.0.0.19 -j ACCEPT # insert source rule
- iptables -I OUTPUT 1 -d 10.0.0.19 -j ACCEPT # insert destination rule
- iptables -Z # zero all counters
- nmap -sT 10.0.0.19 # run a basic TCP scan
- iptables -nv -L # view traffic results as list
Advertisement
Add Comment
Please, Sign In to add comment