HT5390 What port should i forward in the router if I'm to connect to the mac server behind NAT?

I am trying to remote administrate a Mac Mini running Mac 10.8 server but couldn't figure out which port to use.
Tried the following but still woudn't connect unless DMZ is opened.
Remote Login (SSH) - 22
Screen Sharing Service (VNC) - 5900
Web Service - 80, 443
VPN Service (L2TP) - 500, 1701, 4500
VPN Service (PPTP) - 1723
Any clue?

When you say administer, do you mean something like control your parent's Mac remotely, or do you mean officially adminster a classroom full of Macs?  If a classroom full of Macs, then you are most likely taking about using the Apple Remote Desktop software which you pay for.
If, as I suspect, you just want to control your own or a family member's Mac remotely, then you do not need to pay for anything.
If you need Screen Sharing, you open port 5900 (the VNC port)
If you need File Sharing, you open port 548 (AFP)
If you need access to the Unix command line, or you want to use the ssh 'scp' or 'sftp' file transfer commands, then you need to open port 22.
Visit <http://PortForward.com>, they will provide port forwarding instructions for just about every home router out there.
I would also suggest you get a free dynamic DNS name so you can address the remote Mac by a constant name instead of having to know the current IP address assigned to the home router, which the ISP can change anytime they want.  No-IP.com or DynDNS.org offer free dynamic DNS names.  You run one of their dynamic DNS updating clients on the remote Mac to keep the dynamic DNS name updated with the current ISP assigned IP address.
Once you have the port forwarding working, you connect for screen sharing using
Finder -> Go -> Connect to Server -> vnc://address.of.remote.mac
and for file sharing
Finder -> Go -> Connect to Server -> afp://address.of.remote.mac
If you are going to use ssh, scp, or sftp, then from an Applications -> utilities -> Terminal session you would do something like:
ssh [email protected]
scp local.file [email protected]:/path/where/to/put/the/file
scp [email protected]:/path/of/file/to/get   /local/place/to/put/the/file
There are also sftp GUI clients you can use to make this part easier.
If you really cannot get this working, then consider using something like TeamViewer.com which deals with all the messy home router NAT navigation.

Similar Messages

  • Urgent: What ports should be required in DMZ zone?

    Hi,
    I am thinking the ports question might need to posted here. Please have a look on my posting in the following link:
    Urgent: What ports should be required in DMZ zone?
    Thanks and Regards,

    Thanks, Ravi.
    The environment I am working now won't allow me to guess and test. We are on the project and to submit a change request would take very long. So I need submit all neccessary ports correctly at one time.
    Could anybody give me any suggestion? I read the TCP/IP ports for SAP documentation. But I don't think it can answer my questions above.

  • What port should my email be set on?

    What port should my Mac mail be set on?  Mine says "995" but my email provider at Comcast states other settings such as  "587" or "465".

    I did --that is where they said "587" or "465" but they don't state whether they are incoming, outgoing or whatever.  Do I change the number on the Mac Mail port to one of those numbers?  Maybe I will just email Comcast & ask them.  Thanks

  • When I try to open a pdf I get the following error "Acrobat failed to connect to a DDE server" what should I do?

    When I try to open a pdf I get the following error "Acrobat failed to connect to a DDE server" what should I do?

    I have not had this error before, but Google has numerous examples. Here are a couple:
    https://forums.adobe.com/thread/847438
    http://community.spiceworks.com/topic/134868-adobe-acrobat-fatal-error-failed-to-connect-t o-a-dde-server

  • HT4199 What does it mean when I click on my wifi name and the bars come up but the network keeps thinking and the ipad says safari cannot open the page because it is not connected to the internet. ?

    What does it mean when I click on my wifi name and it show I'm on my wifi, but the network keeps thinking and the ipad says, Safari cannot open this page because it is not connected to the internet. ?

    When you click on the WiFi network name, have you also provided the password for accessing the network?  You should get a dialogue box asking you for the security information the first time you connect.
    If you are not able to connect, you might want to go to Settings > General > Reset > Reset network settings.
    Then go back to Settings > WiFi and select your network name again and make sure the security information is now entered correctly.
    If you still cannot connect, power down the router, wait a few minutes, power up the router, with the iPad powered down the whole time, and after the router has had several minutes to stabilize power up the iPad.  See if it now connects correctly.

  • When i try to open a web page, a blue screen appears and it is telling me " safari cannot open the page because i am not connected to the internet. i have an iphone, no problem and a laptop with connection - no problem - not sure what the trouble is.

    when i try to open a web page, a blue screen appears - message says - sarfari cannot open the page because it is not connected to the internet. i have an iphone - no proble and a laptop - no problem as well.
    what is wrong?

    There are other things that need attention:
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    *Shockwave Flash 10.0 r32
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • I have a new MAC MINI and I want to install a second monitor.  I have one connected to the HDMI and it works.  I can't get a signal to the other one.  It is connected from the thunderbolt to its HDMI port.  How can I make it work?

    I have a new MAC MINI and I want to install a second monitor.  I have one connected to the HDMI and it works.  I can't get a signal to the other one.  It is connected from the thunderbolt to its HDMI port.  How can I make it work?

    Could be a bad cable or bad Thunderbolt port.
    You have 90 days of free telephone support on a new device. You can call them at 1-800-MY-APPLE. Have your Mini's serial number handy
    You can also make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

  • HT4972 i connect my iphone to my pc and i tunes open automatically,then i press dowload and update but itunes say am not connected to the internet while my pc is connected to the internet what isi the problem?

    i connect my iphone to my pc and i tunes open automatically,then i press dowload and update but itunes say am not connected to the internet while my pc is connected to the internet what isi the problem?

    If you are the only user on your computer you probably don't have multiple user accounts set up and can disregard that.  If you are using iTunes 11 go to View>Show Sidebar.  Now see if your iPad appears under Devices on the left side when you connect it.  If it does, click on the name of your iPad on the left side and your iTunes sync settings options will appear in folders with tabbed headings to the right.
    If it doesn't appear on the left side, follow the troubleshooting steps shown in this article: http://support.apple.com/kb/TS1538.

  • What does this mean and what can I do to fix it. An error occurred while connecting to the AirPlay device "master bedroom". An unknown error occurred (-15000).

    What does this mean and what can I do to fix it. An error occurred while connecting to the AirPlay device “master bedroom”. An unknown error occurred (-15000).

    Troubleshooting AirPlay and AirPlay Mirroring

  • HT4623 When I go to install software update to my phone, it sends the message that I am not connected to the internet. what am I doing wrong?

    When I try to install software update to my phone, it sends the message that I am not connected to the internet. What am I doing wrong?

    Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region...change here.

  • I forgot my passcode, so I was unable to access my phone. I then tried to restore it, but it has frozen during the process. It won't connect to my mac again and I can't stop the process because my lock button is broken. What do I do?

    I forgot my passcode, so I was unable to access my phone. I then tried to restore it, but it has frozen during the process. It won't connect to my mac again and I can't stop the process because my lock button is broken. What do I do?

    My first advice is "Back up the device, then have it replaced."  Second item of advice, "Don't forget your passcode."
    One of the purposes of the lock button is to recover from certain software failures.  Without the lock button, such a recovery is nearly impossible.  My advice would have served you best when the malfuction first developed, not after you forgot your passcode.

  • Should i keep the battery on when it is connected to the AC

    hello
    i have a question:
    my macbook is always vonnected to the ac,, i don't move it around"seldom"
    so i'm owndering,,will this affect my battery,,
    should i keep the battery on when it is connected to the AC?
    or should i remove it?
    thanks in advance

    Hi multiple 1,
    Modern battery technology now prevent battery becoming overcharged or create memory effect, so like First Magus said, it is ok to leave the battery in your macbook all the time.
    But apple also recommend user to use their battery once a while or calibrate to refresh the battery cell.
    Good Luck.

  • The message ~There was a problem connecting to the server "your-447023ae6b".appears when I try to play music transferred from my PC to my iMac. Files were transferred from my PC by a Genius. How do I sort it? Next appointment with genius is 5 days away!

    The message ~There was a problem connecting to the server “your-447023ae6b”.appears when I try to play music transferred from my PC to my iMac. Files were transferred from my PC by a Genius. How do I sort it? Next appointment with genius is 5 days away!

    Hi
    Thanks this has helped me solve the problem.
    I used the Outlook Anywhere connectivity tester you suggested. Selected Outlook autodiscover.
    It told me that it could not resolve things on any of the 4 tests.
    I saw that using the last test "Attempting to contact the Autodiscover service using the DNS SRV redirect method", was the only one likely to work in my case.
    I had already changed 3 entries in dns to point at my DDNS address but this had not worked, from the errors I could see that it was just the certificate name not matching so I changed the DNS entries for Autodiscover, autoconfig and _autodiscover._tcp
    to be webmail.domain.com which is a CNAME to my ddns address for the broadband router, which in turn forwards ports 80 and 443 to the exchange server for owa and activesync access. I got an error message saying that I had an illegal entry in my SRV record
    as a CNAME is not allowed, but it saved the change anyway.
    I reran the test and it worked.I can now make new outlook clients attach teo exchange.
    Thank you, after 8 hours yesterday of trying to reolve this I suddnely got it to work on one laptop but the other still would not and had lost track of what I could have changed so had no idea what actually made it work.
    Thank you for your suggestion.

  • The client timed out waiting to connect to the Essbase Server using TCP/IP

    Hi,All
    When I deploy the HPCM application to essbase, i received the following message below in the log file hpm.log
    2009-02-20 13:34:50,389 [Thread-115] ERROR com.hyperion.profitability.business.mdb.deployment.cubegeneration.CubeGenerator: error setting measures dimension member properties
    com.hyperion.profitability.data.mdb.essbase.MDBException: Error setting member property share option to store_data for member: D0900SB
         at com.hyperion.profitability.data.mdb.essbase.MDBMember.setShareOption(MDBMember.java:413)
         at com.hyperion.profitability.business.mdb.deployment.cubegeneration.CubeGenerator.setMemberProperties(CubeGenerator.java:1232)
    Caused by: com.essbase.api.base.EssException: (1290001): Network Error [10061]: Unable To Connect To [hypeion:32776]. The client timed out waiting to connect to the Essbase Server using TCP/IP. Check your network connections. Also please make sure that Server and Port values are correct
         at com.essbase.server.framework.EssOrbPluginDirect.ex_olap(Unknown Source)
         at com.essbase.server.framework.EssOlapMetaDataService.ex_olap(Unknown Source)
    And the Essbase service is up.
    Pls help!
    Shen.

    If you are installing on Windows, there is a limitation in the default configuration of TCPIP. I wrote about it, and included the steps to fix it, on my blog at http://timtows-hyperion-blog.blogspot.com/2007/12/essbase-api-error-fix-geeky.html.
    Note the error number you reported is slightly different than what I write about in the blog, but I believe I have seen this error fixed by the blog steps..
    Tim Tow
    Applied OLAP, Inc

  • Linksys Router Wireless-G 2.4 GHz Broad Band router..Wont let it connect to the internet.

    Okay so i got a router for my PSP and it connects good on the psp well. Its just that when its fully connected, The internet connection on the PC that the router is connected to, wont connect. Anyway i can fix this?
    Message Edited by TheLastShadow on 01-27-200702:00 PM

    hi...ideally , the PSP getting connected to the internet should not affect the desktop to lose the internet connection..
    what u can do is ... access the router using http://192.168.1.1 .. keep the username blank and password as "admin" .. if u changed the password during the installation , u need to type that password ...
    once on the ui...go to status tab and check the firmware version...
    now, go to www.linksys.com/download and select the router model and version no. and check the latest firmware on it.. if the router is not having the latest firmware , upgrade it first..then reset the router and reconfigure it ...

Maybe you are looking for

  • Digital Signatures with Adobe Reader

    So i created an adobe form with acrobat 9 and sent it out for all to digitally sign.  about half are getting an error when they try to sign it.  "The credential selected for signature is invalid" We are a government agency and use Common Access Cards

  • KT4 Ultra FISR Updated Bios Still Reboots

    I bought a KT4 Ultra last week.  I hooked up everything needed to install my OS (Video and Hard Drive) to install Windows 2000.  It took me a while to get a good install because it would crash in the middle of Win2K setup.  After reading the posts on

  • Mapping macro dynamics

    Hi- I've been trying to find the mapping macro dynamics tool used by Steve Horelick in his Logic 401 Mastering Tutorial ( MacProvideo) tutorial no 24. He uses it to map-in the dynamic shape of his song in the Arrange window ( audio track) before usin

  • Problem with index

    Hi ! My request is like that : ou=XX-XX, o=corp.mysociety.com Filter : (objectclass=privPerson) "ou" is indexed (Equality) "objectClass" is indexed (Equality) but I get a warning in the error file each time I launch this request. Does anybody have an

  • Process of login with ADF security

    Hi, I was looking at how to implement the process of Login with the ADF security using JDev 11g and I feel very good... My question is if it is possible to use this tool in case of use a container as Tomcat 6.x or JBoss. If it is possible to use ADF