You are not logged in.
Pages: 1
May not be the most self explanatory topic ever but bear with me.
I have two machines behind a cheap router. One of them acts as a server and since we are a couple of people who has our homepages on it I've configured it for SSH-access. I would like to be able to SSH in to my main machine too but I'm thinking it might be stoopid to open up one self on more than one front.
Therefore I'm wondering if it might be smart to configure SSH on my main machine to only allow connections from within my network. Which would mean that to gain access to my box I would need to first SSH in to my server and then from there SSH into my main computer. Does this make sense?
And on a sidenote, how stoopid is it to configure access through plain VNC?
Stefan Nitsche
stefan_at_nitsche_dot_se
Offline
yes. I often ssh into one box, and from there ssh elsewhere inside my network.
As to the badness of using plain vnc, yes. It is a bad idea.
If you must use vnc, tunnel it somehow (via ssh or openvpn or something),
Vnc by itself is pretty insecure.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
this is exactly how we get into our school network. the windows it dept didnt think it was safe to have all the machines open so we convinced them to let us have a jumper box. we ssh into that box with one password, ssh to the main server with another, then ssh to the workstation we want to work on from there.
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
I do this all the time because of my NAT router. It's better than having 5 ports open all serving ssh.
Offline
yup, i ssh to my home box, then ssh to the other computers, only one is serving, rest are just waiting for internal connections.
Offline
I've implemented this solution now and it works like a charm. ![]()
Stefan Nitsche
stefan_at_nitsche_dot_se
Offline
I do the same thing, I like to vnc to my "main" box but I'm not exposing it to the outside. I've heard way too many horror stories. Instead I tunnel it through the ssh connection to the server. Works great. And just for my sanity I run a port scan on myself from outside just to make sure nothing other than ssh is exposed.
"Oh, they have the internet on computers now."
Offline
Pages: 1