Changes

Jump to: navigation, search

OPS335 Lab 2

84 bytes added, 08:35, 24 January 2016
no edit summary
#* '''Note:''' Use '''--jump''' or '''-j''' (<u>not</u> --goto) to move to a target.
# Add a rule to your '''MYSSH''' chain to accept all traffic on your virtual interface from '''192.168.X.0/24''' (i.e. your internal network).
# Add rules to the '''end of the MYSSH chain''' to drop all remaining '''ssh''' connections, but to log these denied packets with log level 'info' and log prefix "DENIED BY MYSSH" before doing so.# Issue '''iptables -L''' to view your firewall rules for your newly-created chain.<br><br>Let's create a new chain to create rules relating only to the '''icmp''' service:<br><br>
# Make a new chain named '''MYICMP'''.
# Add a rule to the beginning of the '''INPUT''' chain to send '''ICMP''' ping packets to your '''MYICMP''' chain.
13,420
edits

Navigation menu