On 3/31/2010 7:37 AM, Harley wrote:
> I have a Dlink DIR-655 that is installed ahead of a video router for a cable
> TV channel. I need to be able to telnet to it from only two outside IP
> addresses, but I keep getting video router logs full of jackasses from
> Russia, Turkey and many other places trying to hack into the video router
> thinking it's a computer. It makes it very hard to pick out the log's
> operational messages for the TV channel, and it makes the logs over a mb in
> size every month.
>
> I've tried to filter incoming IPs by denying whole class A ranges, but it's
> like motorboating in a strainer - they pop up faster than I can bail. I
> tried adding the two IPs I need as 'allowed' but that still leaves the whole
> world as not 'denyed'. Does anyone know a solution to denying all IP
> addresses and only allowing the two needed ones for access through the Dlink
> router?
>
>
I've been scratching my head over this one, since you should be able to
control this!
I finally took a look at the manual for the DIR-655. Unfortunately, I
don't know what the video router is, so I don't know how much
configuration you might be able to do with that.
But, here are some thoughts -- that may, or may not help.
First, if you were able to modify the telnet port the video router
listens on, that would be a big plus!
You have port forwarding available to you in the DIR-655. I assume you
are using that to forward just the telnet port (port 23 I think) to the
video router. Most of the hacking I see here usually is on port 80 --
but there is some on telnet ports, also.
If you could get the video router to listen for telnet connects on some
other port, and just forward that port to it -- then you would have
things under control. Most telnet clients let you specify any port you
want. I use PuTTY, and I know it does.
With port forwarding in the DIR-655, you can specify an inbound filter
rule. Wouldn't this do exactly what you are looking for? I am seeing
"Each rule can either ALLOW or DENY access from the WAN.", followed by
"Up to eight ranges of WAN IP addresses can be controlled by each rule."
It would seem that setting up port forwarding for telnet, with a rule
for just your WAN IP addresses would do what you want.
As a side note, I run a seldom used web server here. The number of
hackers going after the port 80 were absurd. And my port 80 was being
used in DoS attacks on other machines, in a way it would never show in
logs. I changed the server to listen on a different port, and set up a
port translation in my DYNDNS account. People can still connect to my
with a standard URL, but any attempt to my IP address fails.
When you get things so you think they are working right, go to
http://grc.com and do a port scan on your system. That will tell you
what ports you might still have open that are visible to the hackers --
you want none. You want no visibility that you have a computer there!
No response to pings, or any normally used ports.
One router I had insisted on responding to one particular port --
something to do with identification. I ended up port forwarding that
post to a non-existent IP on my LAN. End of problem there!
By all means, keep us all posted on how you make out, and how you
finally solve the problem.
....Bob