
Changing the default port on SSH can make the job of a script kiddie a bit harder but it may bring some problems for other services working on the same port, that’s what happened to me not long ago. In case you have no idea VSFTP runs on the same port as SSH, after changing the default port to 2020 I began to notice that VSFTP transters drop from 80kbps down to 20kbps after checking the VSFTPD configuration (/etc/vsftpd.conf) I found the following problem.
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
change to
connect_from_port_20=NO
I guess that VSFTP was only trying to verify that port 20 was being used for transfers, the solution was to change the “YES” to “NO”, after restarting VSFTP the rate of the file transfers went up.
If you find any of the material on this site useful please take a moment to make a small donation.
When working with the Cisco ISO it’s normal to receive some warnings and messages and they are vital for knowledge of the system but some tend to interrupt while working on a router. If you agree with the later one then disabling some of the unnecessary one’s is not that hard.
Router#config t
Router#line con 0
Router#logging synchronous
Router#line vty 0 4
Router#logging synchronous
Router#^Z
In privileged mode Cisco routers attempt to resolve DNS hostname to IP addresses, this can frustrating when entering a wrong command creating a 30 to 40 second delay, the solution is to disable DNS look up.
Router#config t
Router#no ip domain-lookup
Router#^z
The result from now on will be “% Unknown command or computer name, or unable to find computer address“.
There is no need to erase the whole configuration if you need to wipe the interfaces, just erase the configuration on the interface instead.
Router(config)#default interface
Example =
Router(config)#default interface fastethernet0/0
If you find any of the material on this site useful please take a moment to make a small donation.
Recent Comments