/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */



Fuzzy Fox <[EMAIL PROTECTED]> wrote:
>
> Here's an idea:  Doesn't SOCKS5 have the ability to chain through
> another SOCKS5 proxy server?  As such, you could set up a SOCKS5
> server on your masq box, and have it talk to the corporate proxy.

I just tried this yesterday, and it works completely (as far as I can
tell).  You just need to have a /etc/socks5.conf that looks like this:

    noproxy  127.       -
    noproxy  192.168.0. -
    socks5   -          -  socks5-server
    deny - - - 192.168.0. - -
    permit - - 192.168.0. - - -

The magic here is the "socks5" line between the "noproxy" entries and
the "permit/deny" entries.  The socks5.conf man page says that order is
important!  Anyway, what it says is that, for all connection types,
simply chain the connection to the named socks5-server host.  It works!

I then configure ICQ to use my local masq-box as a SOCKS5 server (that
means ip_masq_icq goes unused), and all is well.

When I am connected through my personal ISP account, rather than to my
corporate LAN, all I need to do is remove the "socks5" line from the
/etc/socks5.conf file, and now my SOCKS5 server proxies directly to the
net.  My /etc/ppp/ip-up script does this for me.

-- 
   [EMAIL PROTECTED] (Fuzzy Fox)      || "Just about every computer on the market
sometimes known as David DeSimone  ||  today runs Unix, except the Mac (and
  http://www.dallas.net/~fox/      ||  nobody cares about it). -- Bill Joy '85

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to