Open main menu

CDOT Wiki β

Changes

OPS235 Lab 7 - CentOS7 - HD2

262 bytes added, 13:05, 25 October 2016
no edit summary
# Issue the following iptables policy to DROP all incoming connections:<br><b><code><span style="pointer-events: none;cursor: default;color:#3366CC;font-size:1.2em;">iptables -P INPUT DROP</span></code></b>
# Have your neighbour try to ping your external facing IP Address. What happened? Why?
# Have your neighbour obtain their the external facing IP Addresson THEIR c7host machine.# Issue iptables command to ADD ping exception from your neighbour's IPAddress and <br><b><code><span style="pointer-events: none;cursor: default;color:#3366CC;font-size:1.2em;">iptables -A INPUT -p icmp -s {neighbour's exeternal facing address} -j ACCEPT</span></code></b><br>Is your neighbour testable to ping YOUR external facing IP Address?
# Have neighbour test sshing into your c7host. Successful?
# Issue iptables command to insert before rule #1 for ssh exception and neighbour test
13,420
edits