republican-creole
site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
4887
Share Topic
Posting?
Post a:
Post a:
Links: ·Hijack This logs? ·Panda Free Tools ·Vundo Removal
page: 1 · 2 · 3 · 4
AuthorAll Replies


jaynick
lit up
Premium
join:2001-02-06
Sterling Heights, MI
kudos:2
Reviews:
·Comcast

How to secure VNC and port 5900

I installed a VNC server on my LAN machines so I can control them from one computer as 3 are dedicated crunchers without any peripherals. Works well on the LAN but to use it away from home I need to forward port 5900 to a machine in the router. That is a security hole. How can that be made secure or can it be? Hope this makes sense.


Brano
I hate Vogons
Premium,MVM
join:2002-06-25
Burlington, ON
kudos:6

Ultra VNC supports encryption (and authentication).



jaynick
lit up
Premium
join:2001-02-06
Sterling Heights, MI
kudos:2
Reviews:
·Comcast

said by Brano:

Ultra VNC supports encryption (and authentication).

Real VNC is supposed to also but got this in the routers log:
[LAN access from remote] from 211.43.213.64:37106 to 192.168.1.x:5900, Monday, Dec 03,2012 08:39:39


Snowy
mIRC unix.ro UnderNet
Premium
join:2003-04-05
Kailua, HI
kudos:6

reply to jaynick
A strong password generated from something such as
»www.grc.com/passwords.htm
would go a long way.



SoonerAl
Premium,MVM
join:2002-07-23
Norman, OK
kudos:5

reply to jaynick
I would recommend running VNC through a Secure Shell [SSH] tunnel. Setup a SSH server on one of your servers and use SSH Port Forwarding to control all three of the machines. In the past I used the free CopSSH server package and Tunnelier as the client. Both are free for personal use.

»www.itefix.no/i2/copssh
»www.bitvise.com/tunnelier

Others may recommend PuTTY as the client...

»www.chiark.greenend.org.uk/~sgtatham/putty/

The advantage of SSH is you open one hole in your firewall and can access all three machines. With the use of a public/private key pair protected by a strong password your very safe.



jaynick
lit up
Premium
join:2001-02-06
Sterling Heights, MI
kudos:2
Reviews:
·Comcast

reply to jaynick
Thanks folks I will check out the tips. I am using putty for access to the Linux machine. I'll look into the ssh server. I was using a random 12 character password that I made up but it didn't help.



StuartMW
Who Is John Galt?
Premium
join:2000-08-06
Galt's Gulch
kudos:2
Reviews:
·CenturyLink

said by jaynick:

I was using a random 12 character password that I made up but it didn't help.

Didn't help what???
--
Don't feed trolls--it only makes them grow!


jaynick
lit up
Premium
join:2001-02-06
Sterling Heights, MI
kudos:2
Reviews:
·Comcast

said by StuartMW:

said by jaynick:

I was using a random 12 character password that I made up but it didn't help.

Didn't help what???

Didn't stop the above mentioned log entry.

dave
Premium,MVM
join:2000-05-04
not in ohio
kudos:8

reply to jaynick
What's your security concern, specifically?

No doubt about it: making it possible to log in to a machine from the internet, where it was previously possible to do so, is a lessening of security. Unavoidably so.

So, the concern must be to reduce the risk. Strong passwords will help prevent anyone else from logging in. Encryption will help prevent anyone else from sniffing traffic.

I'm not sure what you meant by posting the log extract. The log tells you that some remote station tried to access your PC. That shouldn't surprise you: it's what you wanted to allow. Is 211.43.213.64 you or is it someone else probing your router?



StuartMW
Who Is John Galt?
Premium
join:2000-08-06
Galt's Gulch
kudos:2
Reviews:
·CenturyLink

reply to jaynick

said by jaynick:

Didn't stop the above mentioned log entry.

That log entry is just telling you that a remote host (on the internet) is accessing a machine on your LAN using port 5900. That is exactly what you're trying to do. What is the problem?
--
Don't feed trolls--it only makes them grow!


jaynick
lit up
Premium
join:2001-02-06
Sterling Heights, MI
kudos:2

reply to dave
The concern was that IP is not me, it's from Asia. I was hoping it was just a probe but log said LAN access.



StuartMW
Who Is John Galt?
Premium
join:2000-08-06
Galt's Gulch
kudos:2
Reviews:
·CenturyLink

Yes, a machine on the internet is trying to access a machine on your LAN. That's what the router log means.

By port forwarding port 5900 to a machine on your LAN you're opening it up to everyone. You implied you understood that with you initial post.

What others have been trying to point out is is that your solution is to use secure VNC connections to that LAN machine.

Your choice is to do that (and have people try and hack it) or disallow all access from the internet. Your choice.
--
Don't feed trolls--it only makes them grow!



jaynick
lit up
Premium
join:2001-02-06
Sterling Heights, MI
kudos:2

That's what I am trying to find out (a better alternative). I took the log entry to mean a successful access attempt.


Kearnstd
Elf Wizard
Premium
join:2002-01-22
Mullica Hill, NJ

reply to jaynick
the router log however does not indicate if they gained successful access to the machines only that the connect was attempted.

That said you could cycle the port forwarding, Unless you always need them any time you are out no matter what I would shut the forwarding off unless you are sure you will need to remote into home.
--
[65 Arcanist]Filan(High Elf) Zone: Broadband Reports



StuartMW
Who Is John Galt?
Premium
join:2000-08-06
Galt's Gulch
kudos:2
Reviews:
·CenturyLink

reply to jaynick

said by jaynick:

I took the log entry to mean a successful access attempt.

No. Your router is just telling you that the IP (on the internet) is trying to access this IP on your LAN. That doesn't mean success or failure. VNC should be able to log access attempts.
--
Don't feed trolls--it only makes them grow!


jaynick
lit up
Premium
join:2001-02-06
Sterling Heights, MI
kudos:2

reply to Kearnstd
Yes, I turned off forwarding as soon as I saw the log.



jaynick
lit up
Premium
join:2001-02-06
Sterling Heights, MI
kudos:2

reply to StuartMW
I just thought I see the word attempt or blocked or something like that instead of just LAN access. Wasn't sure what to make of it. Any way I'll use one of the other suggested approaches.



StuartMW
Who Is John Galt?
Premium
join:2000-08-06
Galt's Gulch
kudos:2
Reviews:
·CenturyLink

The only thing I can think of, offhand, is to

• Enable port forwarding for 5900.

• Create a firewall rule to block (or only allow) port 5900 accesses from the internet for a single or small range of IP's.

Of course you'd have to know what internet IP(s) you may have (i.e. what are you). The firewall will prevent any port scanners from even reaching your LAN while you'll get through.
--
Don't feed trolls--it only makes them grow!



David
Now accepting new patients
Premium,VIP
join:2002-05-30
Granite City, IL
kudos:78

reply to jaynick
why not install logmein hamachi on the machine... It's free and secured.



jaynick
lit up
Premium
join:2001-02-06
Sterling Heights, MI
kudos:2
Reviews:
·Comcast

reply to StuartMW

said by StuartMW:

Of course you'd have to know what internet IP(s) you may have (i.e. what are you). The firewall will prevent any port scanners from even reaching your LAN while you'll get through.

Yes, that's the problem with that.
page: 1 · 2 · 3 · 4

Wednesday, 19-Jun 15:06:50 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 13.5 years online © 1999-2013 dslreports.com.
Most commented news this week
Hot Topics