Jdrrant

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Saturday, 30 January 2010

SSH is a versatile tool

Posted on 14:24 by Unknown
I had no idea SSH was so versatile. I moved to a new apartment a few months back. It comes with shared internet service for the complex. The speed is decent; not what I was getting, but you get what you pay for, so I was more or less satisfied.

My first big problem was that I no longer had access to the router. This meant I couldn't forward ports to give me remote access to my machine. I'd read about VoIP services that had a failsafe for machines that couldn't directly connect. They would connect them both to a central server, and connect them together from there.

This is when I first learned about reverse SSH tunnels. I already knew about normal tunneling. I'd been using that for years to connect to VNC servers. Now I found out you could also use SSH to setup a reverse tunnel. You connect to a ssh server and create a tunnel back to your own machine. I tested it for awhile and it worked great. There's even a simple program to monitor the tunnel to ensure connectivity: autossh. Works great in tandem with gentoo keychain.

More recently, I stopped being able to go to my website from my apartment. I thought at first it was the server, so I contacted my provider. They said it was running the daily backup and they were planning to move to a newer machine soon. Over the next couple weeks, I noticed the problem never went away. Moreover, this problem only manifested from inside my apartment. Not from my work, or my parents, or any wifi hotspot I tried. When I talked to my web host about this, he suggested the problem may be reverse DNS lookup trouble. I think he's right, and I've sent this information to my apartment's internet support people. I hope they can fix it.

Coinciding with this problem, my laptop had an issue with the power supply and I had to deliver it to Best Buy for a replacement. During this time, I had to use a machine at work on a very restricted network. So I started looking into setting up a proxy server to get around the restrictions. I tried to install dante, but something in the configuration was never right, and I never got it to work. I was about to give up when I learned of another neat thing SSH can do. It can act as a SOCKS5 proxy. With the right configuration, all my web requests from firefox now went through my SSH proxy.

I got my laptop back from Best Buy, but I thought about the proxy idea again when I got home. This could be (at least temporarily) a solution to my networking troubles at home. Again, it worked perfectly. Until they solve the reverse DNS issue, I can at least connect through the proxy and have full access to my web server.

Hooray for SSH.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in DNS, proxy, reverse, SOCKS5, SSH, tunnel | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • TiVo Serial Null-Modem Networking on Windows Vista and 7
    The original series 1 TiVo used a built-in modem to connect to the internet to download program guide and channel listings. A few years ago,...
  • SSH is a versatile tool
    I had no idea SSH was so versatile. I moved to a new apartment a few months back. It comes with shared internet service for the complex. The...
  • Hackintosh Lion Triple Boot with Windows 7 and Linux
    My hard drive recently failed and took out all my operating systems. After replacing the drive, I spent a week figuring out how to get all t...
  • ImgBurn on Linux
    I've seen this covered in other places, but it never worked for me until today, so I thought I'd share my solution. First off, why w...
  • Snow Leopard 10.6.8 on VirtualBox 4 with Sandy Bridge
    Edit: 2013-May-23 -- This doesn't seem to work with new versions of VirtualBox. VirtualBox 4.1.24 seems to be the last version where thi...
  • numlock on kde under gentoo linux
    I find it very annoying that linux seems to have no uniform way to just turn the numlock on when the system comes on and leave it that way. ...
  • DVDFabHDDecrypter on Linux
    It's not too difficult to setup DVDFab under Linux using Wine, but there are a couple caveats. It seems the settings cannot be modified ...
  • Comcast, It's FRAUDtastic!
    There are plenty of stories about Comcast and their terrible customer service. It doesn't seem to faze them, but you never know. A small...
  • attempt to access beyond end of device
    I ran across this error the other day and couldn't figure out what it meant. For starters, it was talking about a partition that wasn...
  • Why Does Anyone Use OpenSolaris?
    I was trying to help someone on the filezilla forums who uses OpenSolaris . They weren't too familiar with how to compile their own bin...

Categories

  • 10.4
  • 10.6
  • 10.6.8
  • Advanced Format
  • binary
  • Burning
  • CD
  • Chameleon
  • Chimera
  • Comcast
  • core i5
  • dbus
  • dmesg
  • DNS
  • DOCSIS
  • dslreports
  • DVD
  • dvdauthor
  • DVDAuthorGUI
  • DVDFab
  • end of device
  • FileZilla
  • frontend
  • gentoo
  • gettext
  • GNU
  • gptfdisk
  • hackintosh
  • hibernation
  • iBoot
  • ImgBurn
  • Internet
  • kde
  • kdm
  • keychain
  • lCstd
  • ld
  • Linux
  • Lion
  • Mac
  • make
  • modem
  • Mountain Lion
  • msgmerge
  • MultiBeast
  • numlock
  • numlockx
  • OpenSolaris
  • OSX
  • proxy
  • qSimpleDvd
  • resume
  • reverse
  • ripping
  • Sandy Bridge
  • Snow Leopard
  • SOCKS5
  • speedtest
  • SSH
  • ssh-askpass
  • suspend
  • swap
  • Tiger
  • tunnel
  • VirtualBox
  • Windows
  • Wine
  • x11-ssh-askpass

Blog Archive

  • ►  2013 (1)
    • ►  September (1)
  • ►  2012 (2)
    • ►  October (1)
    • ►  May (1)
  • ▼  2010 (2)
    • ►  October (1)
    • ▼  January (1)
      • SSH is a versatile tool
  • ►  2009 (7)
    • ►  March (2)
    • ►  January (5)
Powered by Blogger.

About Me

Unknown
View my complete profile