I SSH into my IPCOP firewall and port forward to the ip address of the machine I need to connect to. I want to use Apple Remote Desktop. I've installed the client on the company MBPros
Main Topics
Browse All TopicsI want to connect to the company LAN from home, through my IPCOP firewall, and control various MacBook Pro's via ARD. Controlling one machine at a time is okay.
I need to provide remote support to MBPro users over the internet. I can currently connect to windows users with the following SSH Script:
sudo ssh -L 3389:192.168.2.0.111:3389 -L 445:192.168.0.99:445 root@(my-ip-addy) -p 222
445 is the port used for IPCOP firewall.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Same thing when using Apple Remote Desktop but things like the Scanner won't work across ssh so you need to manually add each machine.
So from your Mac you will do something like:
1. Open Terminal and "ssh -L 5999:remote.mac.machine.ip
2. Open Apple Remote Desktop. Go to File->Add by Address... Use "localhost" as the address, fill in the user name and password for the remote machine, Click Advanced Options, change the Screen Sharing Port to your local port (in this case that would be 5999).
3. Now you can click the newly added machine and "Control" it.
You might want to consider setting up a dedicated ARD admin machine at your office, configured so that it can admin all the machines on the office network. Then you only have to remote-control that one machine, and from there you can admin anything in the office. I manage desktops for several different clients in this way. One of the many benefits is that I can use any VNC client to do it...I don't have to have my laptop with me. I've used friends' PCs, family Macs, my iPhone, etc. Makes it very easy.
Business Accounts
Answer for Membership
by: JimUPosted on 2009-11-02 at 15:51:16ID: 25725009
Apple remote desktop just uses VNC so connecting over port 5900 is all you need. Can use whatever VNC client you want. Might have to be a newer one like TIghtVNC, just just tried TightVNC 1.3.9 and it worked with Snow Leopard.
00 user@corporate.machine
Assuming the Mac user has turned on Screen Sharing and enabled the "VNC viewers may control screen with password" option.
Are you SSH'ing into the Mac or just SSH'ing into the corporate LAN and then forwarding the ports to each Mac machine? You can use something like:
ssh -L 5999:remote.mac.machine:59
The connect to your local machine as if it were the VNC machine on port 5999:
vncviewer localhost::5999
That will connect to your local port 5999 which is then forwarded over the SSH connection to the remote.mac.machine port 5900.