LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Still secure with remote access? (https://www.linuxquestions.org/questions/linux-security-4/still-secure-with-remote-access-253575/)

muppski 11-11-2004 07:48 AM

Still secure with remote access?
 
Yo!

I'm not that pro-linux user but not a n00b either. Somewhere inbetween.

I really found of "webmin" a HTTP Interface to manage alot of things on my comp , it requires a login and I allowd only some 10.0.0.x computers to be able to "try" logging in. the rest gets 404 not found .

Anyways I thought It would nice If I could access webmin when im not at home.
I ssh to my box all the time with putty and somehow I can maybe tunnel my traffic with putty + browser and somehow gain access to this webb application.

I can only see it insecure if I forget to lock the comp and someone fires up putty and finds out Im tunneling blah blah ( ye like thats gonna happen )
well anyways .

Am I right? Is this possible?
If ... how?
You think its stupid? Well oki tell me how anyway ;)

muppski 11-11-2004 10:03 AM

ehh maybe this is more a network thread?

Hangdog42 11-11-2004 10:43 AM

Do some searching here on running VNC over an SSH tunnel. It is a secure way to connect remotely.

<edit>
I suppose that you could also tunnel the Webmin port (10000) over SSH as well. That might let you use a local brower to access your computer. I'm not as sure about the security of this though
</edit>

muppski 11-11-2004 10:52 AM

I know what VNC is
but VNC isent that for X? I dont have X on this computer.

but I dont know how I can tunnel this =/

Hangdog42 11-11-2004 12:03 PM

You can use SSH to forward ports from one computer to another. With PUTTY, you set this up through the section on SSH Tunnels. What you can try is in the Source Port box enter 100000 and in the Destination box enter 1.2.3.4:10000 only replace 1.2.3.4 with the IP address of the computer running the Webmin server. For example, I run VNC over SSH and VNC listens to port 5901. So I enter 5901 in the Source Port box and in the destination box I enter 192.168.1.95:5901. I set up my router to forward port 21 to this linux box. Now when I point Putty to my public IP addreass (the one my router gets from my ISP), the connection gets forwarded to the linux box. Once this ssh connection is in place, any traffic on my local computer that is going to port 5901 instead gets tunneled to port 5901 on my linux box. So in your case, you would point your browser to localhost:10000 and (hopefully) that will get tunneled to port 10000 on your linux box where Webmin is listenting.

muppski 11-11-2004 01:04 PM

Thanks alot for the pointers
IŽll try that tommorow


All times are GMT -5. The time now is 11:40 PM.