Results 1 to 3 of 3

Thread: SSH Tunneling

  1. #1
    Join Date
    Oct 2008
    Beans
    122

    SSH Tunneling

    I need to tunnel all of my http traffic coming into to my desktop through a dedicated server that I have.

    I can do this by running:

    Code:
    ssh -D 9999 -C root@servername -p port
    and then telling fire fox to use localhost on port 9999.

    But I also need to tunnel my dns from my desktop through the same server to a public dns service such as google or opendDNS.

    I am stuck on how to tunnel the DNS.

    Any suggestions?

  2. #2
    Join Date
    May 2008
    Location
    Cluj, Romania
    Beans
    1,292

    Re: SSH Tunneling

    Ummm... Why do you need to tunnel DNS? What prevents you from using it directly?
    As a matter of fact, why do you need all this? Routing is done via iptables usually. Ssh is not made for this kind of stuff.

  3. #3
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: SSH Tunneling

    For just Firefox, you need to set network.proxy.socks_remote_dns to true. You can find it if you enter the URI about:config in the address bar.

Tags for this Thread

Bookmarks

Posting Permissions

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