Changes

Jump to: navigation, search

OPS235 Lab 7 - Fedora17

52 bytes added, 16:36, 17 March 2010
no edit summary
* Confirm the new port is being used with a <code>netstat</code> command.
* Before we can use this new port we must change our firewall to allow traffic through the new port number and block access to port 22.
** <code>iptables -I INPUT -p tcp -s0/0 --dport 22 -j DROP</code>** <code>iptables -I INPUT -p tcp -s0/0 --dport 2200 -j ACCEPT</code>
* To test the new port connect to fedora1 from fedora2 using the following command:
** <code>ssh -p 2200 user@fedora1</code>{{Admon/tip | Tip! | For scp access the option to be used is: <code>scp -P 2200</code>}}
9
edits

Navigation menu