01-27-2007, 11:48 AM #1
Can anybody walk me through SSH and Firewalls using ARD
- Member Since
- Sep 13, 2006
Any help greatly appreciated! i have made much progress in my quest to use ARD3 to remotely access another computer. I have all the info I need but I am having a bit of trouble setting it all up if somebody wouldnt mind helping me out.
Computer 1 trying to access Computer 2
Computer 2 is behind a firewall
Computer 2 can only be accessed using the ip address or client file
Here is what I need to do and what I am having trouble with:
1. Configure ipfw to rewrite packets destined to 127.0.0.1 port 5900 (the standard ARD TCP port) to 127.0.0.1 port 5800 (the arbitrary port your destination user will be forwarding to himself). In Terminal, run this command: sudo ipfw add 00099 fwd 127.0.0.1,5800 tcp from me to 127.0.0.1 dst-port 5900
2. Tell the remote machine to ssh to you, and forward the remote arbitrary port to themselves on port 5900. They presumably have no idea how to do this, so you should just email them an entire ssh command line, and ask them to paste it into Terminal, like this:
ssh ip_num -l username -R 5800:127.0.0.1:5900
Note that ip_num is your IP address or domain name, and username is an account on your machine. I have a non-administrator account on my machine that I use when I need someone else to connect to me. Don't use localhost, as Mac OS X likes to resolve that to an IPv6 address, and SSH will end up proxying an IPv4 port forward into an IPv6 session, which probably won't work.
3. Configure a new machine in ARD with address 127.0.0.1, and your remote user's username and password.
This program is supposed to make things easier: http://www.leapingbytes.com/
Any help appreciated, i know its all there im just having a pain piecing the puzzle together
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By rameses in forum OS X - Operating SystemReplies: 2Last Post: 01-04-2013, 08:39 AM
By MathcoreRomeo in forum Other Hardware and PeripheralsReplies: 7Last Post: 12-02-2008, 09:49 AM
By harryson0605 in forum Internet, Networking, and WirelessReplies: 0Last Post: 11-16-2008, 07:18 PM
By Ransom in forum Switcher HangoutReplies: 7Last Post: 08-05-2006, 11:10 AM
By timotsco in forum Running Windows (or anything else) on your MacReplies: 1Last Post: 02-25-2005, 01:25 AM