Author Topic: access to linux from the web  (Read 607 times)

cdhgold

  • Member
  • **
  • Posts: 50
  • Kudos: 0
access to linux from the web
« on: 2 May 2003, 01:10 »
Is there a way that I can access and manage my Redaht9 box from the web. I have a DSL connection with static IP assigned to my router. If there is which ports would I need to open and forward on router and how would I access the system.

Thanks in advance
Chris

billy_gates

  • Member
  • **
  • Posts: 801
  • Kudos: 0
    • http://www.skinner.com/jeffberg
access to linux from the web
« Reply #1 on: 2 May 2003, 01:41 »
ssh
vnc
webmin

SSH is if your really good with managine it, text only
vnc is for complete control, visual access
webmin is a tool that reads config files and makes them into easy user interfaces where you can then change them.

There is a post somewhere in here about how I got vnc to start when the comp started, just look for it.  SSH is preinstalled, and webmin might be.

SSH is on port 22
VNC not sure of the port, havn't done it from outside the network
webmin is 10000 by default.

slave

  • Member
  • **
  • Posts: 1,136
  • Kudos: 0
    • http://www.fuckmicrosoft.com
access to linux from the web
« Reply #2 on: 2 May 2003, 06:13 »
If the computer you're using to log into your Linux box has X11 running on it, I would suggest simply running a remote X session rather than using VNC.

If the IP of the remote computer is 10.0.0.1 for instance, you would type this at your terminal:

X :1 -query 10.0.0.1

you will be presented with a login screen, just like you logged into your box locally!

To enable remote X sessions, you have to click the red hat, then system settings > login screen, and then click the XDMCP tab, and then make sure "enable XDMCP" is checked in.

I would invite somebody to log into my linux box just for fun under my guest account, but my univ has put up a strict firewall that makes it impossible.

[ May 01, 2003: Message edited by: Linux User #5225982375 ]


mobrien_12

  • VIP
  • Member
  • ***
  • Posts: 2,138
  • Kudos: 711
    • http://www.geocities.com/mobrien_12
access to linux from the web
« Reply #3 on: 2 May 2003, 10:30 »
XDMCP remote logins are not encrypted.... bad news if you are on an insecure network (like I am).  A packet sniffer will pick up the root password and then they have free reign on your box.

I use only SSH with X11 forwarding for remote admin stuff.

Webmin would be good for webbrowser based remote admin.  It has encryption through SSL.
In brightest day, in darkest night, no evil shall escape my sight....

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
access to linux from the web
« Reply #4 on: 2 May 2003, 17:26 »
O'Brien is right, and if your accessing it from the web you probably would want it encrypted. SSH is the way to go unless you positively need X. Although X can be sent through SSH but only to another Linux box. The port for SSH that you would need to forward from your router to your comp is port 22.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

cdhgold

  • Member
  • **
  • Posts: 50
  • Kudos: 0
access to linux from the web
« Reply #5 on: 2 May 2003, 21:32 »
Thanks for all the great advice folks! It is people like you that are so willing to help others out in leanring linux that will hopefully kill MicroShit on the desktop.

Long Live Linus and Death To Bill
Chris

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
access to linux from the web
« Reply #6 on: 2 May 2003, 22:01 »
quote:
Although X can be sent through SSH but only to another Linux box.


http://fennetic.anu.edu.au/computing/index.php?section=computing&page=downloads

^^^ go here and you can download a program called "excursion" or similar programs for macs that let you forward X11 stuff to your screen.  I use it to log into my computer courses sun solaris labs when I have to use windows.  Also theres a program called winaXe which turns your pc into a thin client thingie for connecting to a nix machine.

BTW please note that this dl area is just meant to be for my hall...  so don't tell anyone I sent you ok?   ;)   Mr Admin may get upset at lack of available bandwidth and that wouldn't be good because they are thinking of reducing our internet prices.   :D
Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
access to linux from the web
« Reply #7 on: 2 May 2003, 22:13 »
http://faust.evil.cc/pcexcursion.exe

and yes it's legal,  I havent paid anything for it and I got it off a public server.  free dl, but still closed source.   :rolleyes:
Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
access to linux from the web
« Reply #8 on: 6 May 2003, 19:19 »
what about putty.exe?

i was under the impression it was an open source ssh client for win32 that was capable of x11 forwarding? i have not tried it for this, but i notice it has an option called "enable x11 forwarding" in the preferences, which kind of gives it away...

and void said it was open source, so that's also a bit of a giveaway.
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
access to linux from the web
« Reply #9 on: 6 May 2003, 20:04 »
It can enable X11 forwarding, but that requires the computer being forwarded to to have X11, so that's why someone said -  
quote:
Although X can be sent through SSH but only to another Linux box.

BUT, pcexcursion runs in Windows and also accepts X connections, thus letting you forward X11 to your computer.  Oh and that link wont work anymore btw.   :(
Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

mobrien_12

  • VIP
  • Member
  • ***
  • Posts: 2,138
  • Kudos: 711
    • http://www.geocities.com/mobrien_12
access to linux from the web
« Reply #10 on: 6 May 2003, 23:42 »
I've used the X11 forwarding capabilities of putty and TeraTerm SSH with windows XServers. I have used them with MI/X (which used to be free but isn't now), the demo version of XWIN32 (free but runs for 2 hours only), and the (expensive) full version of XWIN32.

From what I understand, the version of XFree86 that comes with cygwin should work, but I havn't tried it.
In brightest day, in darkest night, no evil shall escape my sight....