Results 1 to 7 of 7
  1. #1


    Member Since
    Jan 05, 2011
    Posts
    4
    enable loopback connections
    Hi folks, hopefully someone will be able to help.

    At work I run on Windows XP, I'm able to connect to my home network through SSH and onto another Windows box with remote desktop.

    From that Windows box I'm then able to use VNC to remote desktop to my Mac

    However, I'd rather just connect from my work PC to the Mac. I added some port forwarding rules on the router and also some tunnel rules for SSH but when I try to connect using VNC I get "Sorry, loopback connections are not enabled".

    How can I enable loopback connections and will that solve my problem?

    Thanks in advance,
    Steven

  2. #2

    MacsWork's Avatar
    Member Since
    May 22, 2005
    Location
    Closer than you think.
    Posts
    2,159
    Specs:
    Performa 6116 2GBSCSI 8MB OS 7.5.3
    If you are forwarding 22 on your home router to the Mac use SSHTunnelManager to create a tunnel sending 5901 to 5900 on your home's public IP. Then use VNC://127.0.0.1:5901 to connect to the remote Mac through the SSH Tunnel.

    I have set my ssh daemon up listening on 443 however to avoid outbound firewall rules blocking 22 when I'm on public networks. 443 is usually open outbound everywhere.

  3. #3


    Member Since
    Jan 05, 2011
    Posts
    4
    yeah I've got Putty forwarding 5901 to 5900 and also using 443 for SSH for the reason you said. However, still getting "loopback not enabled".

  4. #4

    MacsWork's Avatar
    Member Since
    May 22, 2005
    Location
    Closer than you think.
    Posts
    2,159
    Specs:
    Performa 6116 2GBSCSI 8MB OS 7.5.3
    There is no Putty for Mac. Why is Putty doing the 5901 to 5900?

  5. #5


    Member Since
    Jan 05, 2011
    Posts
    4
    I'm not connection from Mac to Mac.

    I'm connecting from XP to Mac - hence I need an SSH client on Windows (Putty).

  6. #6

    MacsWork's Avatar
    Member Since
    May 22, 2005
    Location
    Closer than you think.
    Posts
    2,159
    Specs:
    Performa 6116 2GBSCSI 8MB OS 7.5.3
    In order for the loopback to work the tunnel must be from Mac to Mac. Having the remote Mac ssh-ing to the XP SSH server does nothing for the remote Mac to tunnel in to the host Mac via a loopback, just the XP machine.

    If your router supports port triggering enable remote management on the Mac and setup triggering on the router to pass traffic directly to the Mac to create the Mac to Mac tunnel with SSHTunnelManager on the remote Mac. Use whatever port you want, most likely 22 if you haven't change the listening daemon on the Mac. Then and only then will the loopback work.

    The loopback can only forward local traffic if the tunnel is originating from itself.

  7. #7


    Member Since
    Mar 04, 2011
    Posts
    1
    Lightbulb
    I also got the "Sorry, loopback connections are not enabled" error messages when trying to tunnel using TightVnc. This happened right after I upgraded. I found a solution. Insteading of VNC's to 127.0.0.1, change the default port from 5900 to 5901, so in the tightVNC box you will type: localhost:1 (It didn't work when I just used localhost)

    Of course you have to set up Putty as well to do the forwarding:
    In putty, under ssh, and then under tunnels, add this:
    source port: 5901, destination: my-remote-server-that-is-running-vnc-server.com:5900, and then start up putty and then log in.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Loopback adapter for mac
    By lampy in forum Switcher Hangout
    Replies: 5
    Last Post: 06-30-2014, 05:32 AM
  2. Loopback
    By adychis in forum OS X - Operating System
    Replies: 0
    Last Post: 11-12-2012, 09:19 AM
  3. loopback 127.0.0.1?
    By Rozzomono30 in forum Apple Notebooks
    Replies: 2
    Last Post: 05-17-2012, 10:55 AM
  4. Do most of you enable firewall?
    By markw10 in forum OS X - Operating System
    Replies: 13
    Last Post: 04-05-2007, 11:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •