Results 1 to 4 of 4

Thread: make a home proxy

  1. #1
    Join Date
    Oct 2013
    Beans
    5

    make a home proxy

    hey all,

    i'm running ubuntu on a vm and have a working ssh tunnel to it from wan already.
    i've installed squid3 and i would like to setup a personal proxy server that i can use
    on my work conputer's web browser to tunnel the traffic securely throw.

    how do i do that, and what will i later config into the browser to tunnel the traffic to my proxy?
    thank in advanced
    Last edited by darklandspider; October 15th, 2013 at 06:47 PM.

  2. #2
    Join Date
    Sep 2006
    Beans
    7,537
    Distro
    Lubuntu Development Release

    socks

    If you use the home machine as a SOCKS proxy, you don't need Squid. Make the proxy connection and then configure your browser to use the SOCKS proxy at the localhost.

    Code:
    ssh -D 12345 home.example.org
    Then as long as that connection is open, you can use the SOCKS proxy via that port on the localhost. Be sure that DNS queries are also going via the proxy. Go to the URL about:config and set network.proxy.socks_remote_dns to true.

    If you want to use Squid, don't use the SOCKS proxy. Instead, make a tunnel to Squid and configure your browser to use the regular proxy at the designated port on the localhost.

    Code:
    ssh -L 3128:localhost:3128 home.example.org
    You're using Firefox, right?

  3. #3
    Join Date
    Oct 2013
    Beans
    5

    Re: socks

    Quote Originally Posted by Lars Noodén View Post
    If you use the home machine as a SOCKS proxy, you don't need Squid. Make the proxy connection and then configure your browser to use the SOCKS proxy at the localhost.

    Code:
    ssh -D 12345 home.example.org
    Then as long as that connection is open, you can use the SOCKS proxy via that port on the localhost. Be sure that DNS queries are also going via the proxy. Go to the URL about:config and set network.proxy.socks_remote_dns to true.

    If you want to use Squid, don't use the SOCKS proxy. Instead, make a tunnel to Squid and configure your browser to use the regular proxy at the designated port on the localhost.

    Code:
    ssh -L 3128:localhost:3128 home.example.org
    You're using Firefox, right?
    No, that's not what i meant.
    i use firefox on all my machines but the fox is not with me at work.
    i have a computer at work that's block from some sites by my work's network.
    i want to tunnel my traffic from that work computer, via WAN , to my home computer that will be used as a proxy.
    at work i can use only chrome or (god help me) IE.

    and also, the work machine's running windows7, and putty is blocked there.
    on the ubuntu machine - ssh server is active and i can access it via my phone (connectbot)
    but i cant ssh from my work computer home.

    the tunnel i want to build will look somewhat like that:



    also, i have an Apache server witch is running on the same vm , and all ports on the home router
    is forwarding to that vm. from my work browser i can browse to my IP and go to the html files on my
    Apache server.
    Last edited by darklandspider; October 16th, 2013 at 07:05 AM.

  4. #4
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: make a home proxy

    We don't support this type of activity here, if you want access to blocked web sites, you have to ask your IT department. Thread closed.

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
  •