D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [LUG] Linux consoles and proxies





> I want to set http, ping, telnet and ftp to use the proxy 
> from the console window. (http = lynx).

To set lynx to use a http proxy you need to set the $http_proxy shell
variable to the address of your http proxy

eg:

export http_proxy="http://some.server.dom:port/";

similarly you can set ftp_proxy and gopher_proxy, also fo use by lynx.

What it sounds like is happening is that your windows box is purely being a
http and dns proxy, and is not allowing any direct ip throughput.  Your
netproxy software would seem to be forwarding the dns requests to the local
ISP nameserver, and acting as a sort of resolver/name server 1/2 way house
(</guess>).

In order to get direct connections through (telnet, ping etc), you'll have
to configure your gateway to allow this.  not having used netproxy I can't
suggest how you might do this.

However, I would really recommend approaching the connection  sharing thing
from the opposite angle and having the linux box as the gateway.  IP
Masquerade really is easy to set up, the IP-Masquerade-HOWTO is very good.

Alex.


**********************************************************************
The information contained in this e-mail message is intended
only for the individuals named above.  If you are not the 
intended recipient, you should be aware that any 
dissemination, distribution, forwarding or other duplication 
of this communication is strictly prohibited.  The views 
expressed in this e-mail are those of the individual author 
and not necessarily those of 
Securicor Information Systems Limited.  
Prior to taking any action based upon this e-mail message 
you should seek appropriate confirmation of its authenticity.
If you have received this e-mail in error, please immediately 
notify the sender by using the e-mail reply facility.
**********************************************************************
--
lug-list - The Mailing List for the Devon & Cornwall LUG
Mail majordomo at lists.termisoc.org with "unsubscribe lug-list" in the
message body to unsubscribe.


Lynx friendly