Click to See Complete Forum and Search --> : WRT54G block SSH to LAN except permitted IPs


CMay
01-03-2009, 03:35 PM
We have several SSH clients on the internet who need into a LAN server for maintenance etc. We know their fixed IPs. The problem is that we think a former employee may be logging in.

How do I block SSH port 22 for all but permitted IPs?

For example, the destination computer is (LAN) 192.168.1.50
The Linksys WRT54G router is the gateway at 192.168.1.1
Permitted WAN IPs might be 123.123.123.123 and 234.234.234.234
Block all other IPs

Wifi-Guru
04-24-2009, 08:17 AM
Not sure if the Linksys can do it. Buy a real Firewall (this is a business right) or just change the passwords and watch for the next bad login and track the IP.

~K

ad5mb
07-25-2009, 09:58 AM
if memory serves, standard Linksys has telnet and HTTP. If you are running SSH you are running Tomato, Open-WRT, DD-WRT or similar.

answers will be found on the forum for the third part software you are using.

it will be an iptables command. incredibly complicated gibberish that looks like a prescription for martian medicine.