PDA

View Full Version : SSH and Port forwarding on a Mac (help please)



ed_vh
2007-07-02, 13:59
Hi,

I have set up my mac with the following port forwards in my router (airport express)

port 80 to 9000
port 3483 to 3483

First question is will the 80 to 9000 work. It seams to make the interface in a browser much simpler becouse the user just has to type in my web address rather then adding the :9000 on the end? What I do not know is if it will mess other things up.

Second question is how do I set up SSH on a mac. I am not a programmer or a terminal wizz so is there a step by step way to do it or is this likely to be beyond me?

Thanks for your help.

Ed

mherger
2007-07-02, 14:56
> First question is will the 80 to 9000 work. It seams to make the
> interface in a browser much simpler becouse the user just has to type
> in my web address rather then adding the :9000 on the end? What I do
> not know is if it will mess other things up.

Correct. The player will expect port 9000, too. But I would suggest _not_
to open these ports on the router, as they open up your installation to
the world. Please read the forums and the wiki about VPN, Hamachi and the
like.

http://wiki.slimdevices.com/index.cgi?ConnectingRemotely

> Second question is how do I set up SSH on a mac. I am not a programmer
> or a terminal wizz so is there a step by step way to do it or is this
> likely to be beyond me?

SSH client or server? If you want to use SSH to tunnel the above
protocols, then it's a good start. But you'll only have to forward port 22
on the router. More details in the wiki article.

Michael

danco
2007-07-02, 23:39
I put a long article onto the newsgroup comp.sys.mac.system about remote control of one Mac by another. It has quite a lot about SSH.

It's too long to post here, but you can find it at

http://groups.google.co.uk/group/comp.sys.mac.comm/browse_thread/thread/ebdf8bebf2a57730/756729059283f877?lnk=gst&q=ssh&rnum=12&hl=en#756729059283f877

If that doesn't work, go to the group on Google groups, search for SSH and sort by date, and it comes up on the first page.