New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

Can anybody walk me through SSH and Firewalls using ARD


Post Reply New Thread Subscribe

 
Thread Tools
coincopy

 
Member Since: Sep 13, 2006
Posts: 25
coincopy is on a distinguished road

coincopy is offline
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.

Scenario:
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
QUOTE Thanks

Post Reply New Thread Subscribe


« weird safari issue. | amule for mac os x 10.2.8 »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

All times are GMT -4. The time now is 10:16 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?