All of lore.kernel.org
 help / color / mirror / Atom feed
* internet access through proxy...
@ 2005-05-12  6:56 Manish Regmi
  2005-05-12  7:16 ` Ray Olszewski
  2005-05-12 10:31 ` J.
  0 siblings, 2 replies; 7+ messages in thread
From: Manish Regmi @ 2005-05-12  6:56 UTC (permalink / raw)
  To: linux-newbie

Hi,

  My PC uses a proxy server to connect to the internet. I can easily
assess the internet by changing the Browser options. But i am unable
to use lynx, ssh, traceroute etc.
Do i need to change all of their configuration files?
If yes which one and where?
Is there any generic way?

Thanks in Advance.
Manish regmi
 
-- 
---------------------------------------------------------
"Owning a hammer doesn't make one an architect"
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: internet access through proxy...
  2005-05-12  6:56 internet access through proxy Manish Regmi
@ 2005-05-12  7:16 ` Ray Olszewski
  2005-05-13  7:25   ` Manish Regmi
  2005-05-12 10:31 ` J.
  1 sibling, 1 reply; 7+ messages in thread
From: Ray Olszewski @ 2005-05-12  7:16 UTC (permalink / raw)
  To: linux-newbie

Manish Regmi wrote:
> Hi,
> 
>   My PC uses a proxy server to connect to the internet. I can easily
> assess the internet by changing the Browser options. But i am unable
> to use lynx, ssh, traceroute etc.
> Do i need to change all of their configuration files?
> If yes which one and where?
> Is there any generic way?

The purpose of a proxy server ... from the network manager's point of 
view, anyway ... is to prevent LAN users from accessing the Internet 
with arbitrary applications. So the way to force users to use it is to 
block direct access to the Internet at the firewall/router.

In a proxy-server setting, you can only proxy the apps that your proxy 
server is willing to proxy ... and those are typically only ftp, http, 
and https (and maybe a couple of others I'm not thinking of right now).

So no, there is no generic way to use the proxy server for everything. 
For ssh and traceroute, there is most likely no way at all ... and no 
one can tell you about "etc".

As to lynx, since it is an http client, there is no reason in principle 
why it could not work with a proxy server. Its man page seems to say it 
can do so via ENV variables of the form *_proxy, for example http_proxy 
and ftp_proxy ... but I haven't tried this. So you might look at the man 
page ... down in the section on COnfiguration ... and experiment a bit.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: internet access through proxy...
  2005-05-12  6:56 internet access through proxy Manish Regmi
  2005-05-12  7:16 ` Ray Olszewski
@ 2005-05-12 10:31 ` J.
  2005-05-13  7:36   ` Manish Regmi
  1 sibling, 1 reply; 7+ messages in thread
From: J. @ 2005-05-12 10:31 UTC (permalink / raw)
  To: linux-newbie

On Thu, 12 May 2005, Manish Regmi wrote:

> Hi,
> 
>   My PC uses a proxy server to connect to the internet. I can easily
> assess the internet by changing the Browser options. But i am unable
> to use lynx, ssh, traceroute etc.

Is the proxy located or provided by your ISP or is it really running and 
init'd by you on your pc or on your own local network [lan] ?

> Do i need to change all of their configuration files?
> If yes which one and where?
> Is there any generic way?
> 
> Thanks in Advance.
> Manish regmi

No there is no generic way. It's not like your DNS settings for example.

You will have to set the preferences for each program independantly - 
If the program is able and made to go thru a proxy !

To use a proxy with lynx uncomment and set the appropiate
proxy variable's in your /etc/lynx.cfg . Search for `proxy' in that config
file.

Do the same for your ftp client, look in the manual page of your
ftp-client to see if a proxy is supported and which variables in the
config file you have to set. 

SSH does not have a proxy variable that you can set, however there are
other ways you can achive this task. Search www.google/linux for `ssh
proxy' will turn up some scripts that use netcat to proxy your ssh tunnel 
if you want to run a ssh proxy server on you lan.

Traceroute is not made to be proxyd - It's a network discovery tool.

The term proxying is different than the actual proxy PROGRAM you are
using. For the last it depends what protocols the program supports. While
the term proxy in theory can be applied to just about anything.

J.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: internet access through proxy...
  2005-05-12  7:16 ` Ray Olszewski
@ 2005-05-13  7:25   ` Manish Regmi
  2005-05-13 15:32     ` Ray Olszewski
  0 siblings, 1 reply; 7+ messages in thread
From: Manish Regmi @ 2005-05-13  7:25 UTC (permalink / raw)
  To: linux-newbie

On 5/12/05, Ray Olszewski <ray@comarre.com> wrote:
> The purpose of a proxy server ... from the network manager's point of
> view, anyway ... is to prevent LAN users from accessing the Internet
> with arbitrary applications. So the way to force users to use it is to
> block direct access to the Internet at the firewall/router.
> 
> In a proxy-server setting, you can only proxy the apps that your proxy
> server is willing to proxy ... and those are typically only ftp, http,
> and https (and maybe a couple of others I'm not thinking of right now).
> 
> So no, there is no generic way to use the proxy server for everything.
> For ssh and traceroute, there is most likely no way at all ... and no
> one can tell you about "etc".
> 
> As to lynx, since it is an http client, there is no reason in principle
> why it could not work with a proxy server. Its man page seems to say it
> can do so via ENV variables of the form *_proxy, for example http_proxy
> and ftp_proxy ... but I haven't tried this. So you might look at the man
> page ... down in the section on COnfiguration ... and experiment a bit.
> 

Thank you for making things Clear.

What should i do to use ssh from my system. May i need to ask my
Network Administrator to change some settings in the server.
Or can i do it by adding some softwares.....

Thanks in  Advance...
Manish Regmi

-- 
---------------------------------------------------------
"Owning a hammer doesn't make one an architect"
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: internet access through proxy...
  2005-05-12 10:31 ` J.
@ 2005-05-13  7:36   ` Manish Regmi
  2005-05-13  8:07     ` J.
  0 siblings, 1 reply; 7+ messages in thread
From: Manish Regmi @ 2005-05-13  7:36 UTC (permalink / raw)
  To: linux-newbie

On 5/12/05, J. <mailing-lists@xs4all.nl> wrote:
> 
> Is the proxy located or provided by your ISP or is it really running and
> init'd by you on your pc or on your own local network [lan] ?
>

In a local network.
 
> SSH does not have a proxy variable that you can set, however there are
> other ways you can achive this task. Search www.google/linux for `ssh
> proxy' will turn up some scripts that use netcat to proxy your ssh tunnel
> if you want to run a ssh proxy server on you lan.
> 

I just wanted to access/upload my sourceforge pages. 
using scp or ssh 
Is there any possibility by using some sort of programs.

Thanks in Advance
Manish Regmi

-- 
---------------------------------------------------------
"Owning a hammer doesn't make one an architect"
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: internet access through proxy...
  2005-05-13  7:36   ` Manish Regmi
@ 2005-05-13  8:07     ` J.
  0 siblings, 0 replies; 7+ messages in thread
From: J. @ 2005-05-13  8:07 UTC (permalink / raw)
  To: linux-newbie

On Fri, 13 May 2005, Manish Regmi wrote:

> On 5/12/05, J. <mailing-lists@xs4all.nl> wrote:
> > 
> > Is the proxy located or provided by your ISP or is it really running and
> > init'd by you on your pc or on your own local network [lan] ?
> 
> In a local network.
>  
> > SSH does not have a proxy variable that you can set, however there are
> > other ways you can achive this task. Search www.google/linux for `ssh
> > proxy' will turn up some scripts that use netcat to proxy your ssh tunnel
> > if you want to run a ssh proxy server on you lan.
> 
> I just wanted to access/upload my sourceforge pages. 
> using scp or ssh 
> Is there any possibility by using some sort of programs.

Ehm, yes ? With scp or ssh of course ? 
ssh access ..
~: ssh -l username projectname.sourceforge.net
scp access ..
~: scp files.txt username@projectname.sourceforge.net:~/.....

Or do you mean CVS over a secure tunnel ? For sourceforge generate a
new ssh key pair on your local system ; Something like: 
~: ssh-keygen -C <comment> -f identity
Now on your user page at SourceForge, you should find a place to upload
your SSH public key. Copy the file identity.pub (located in your .ssh
directory) into the text entry box on the page. Wait 6 hours... done,
You can now use CVS without any password usage over ssh. That is, if your
CVS client is correctly configured.

Hope this is answers your question..

> Thanks in Advance
> Manish Regmi

J.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: internet access through proxy...
  2005-05-13  7:25   ` Manish Regmi
@ 2005-05-13 15:32     ` Ray Olszewski
  0 siblings, 0 replies; 7+ messages in thread
From: Ray Olszewski @ 2005-05-13 15:32 UTC (permalink / raw)
  To: linux-newbie

Manish Regmi wrote:
> On 5/12/05, Ray Olszewski <ray@comarre.com> wrote:
> 
>>The purpose of a proxy server ... from the network manager's point of
>>view, anyway ... is to prevent LAN users from accessing the Internet
>>with arbitrary applications. So the way to force users to use it is to
>>block direct access to the Internet at the firewall/router.
>>
>>In a proxy-server setting, you can only proxy the apps that your proxy
>>server is willing to proxy ... and those are typically only ftp, http,
>>and https (and maybe a couple of others I'm not thinking of right now).
>>
>>So no, there is no generic way to use the proxy server for everything.
>>For ssh and traceroute, there is most likely no way at all ... and no
>>one can tell you about "etc".
>>
>>As to lynx, since it is an http client, there is no reason in principle
>>why it could not work with a proxy server. Its man page seems to say it
>>can do so via ENV variables of the form *_proxy, for example http_proxy
>>and ftp_proxy ... but I haven't tried this. So you might look at the man
>>page ... down in the section on COnfiguration ... and experiment a bit.
>>
> 
> 
> Thank you for making things Clear.
> 
> What should i do to use ssh from my system. May i need to ask my
> Network Administrator to change some settings in the server.
> Or can i do it by adding some softwares.....

There is no real way to avoid talking to your network administrator 
about this. If I understand your desciption of the setup correctly ... 
and this is a real source of uncertainty, as I've assumed a lot in 
filling in gaps in what you actually said ... whoever is in charge of 
your network *intends* to interfere with your ability to use ssh (for 
example) to access the Internet.

Working around designed-in limitations to your Internet access isn't 
really a Linux problem, although if you find a type of workaround that 
will server your needs, then finding a Linux application to do that 
workaround surely is. But the first thing you need to do is get a better 
understanding of why your access comes with these limitations and 
whether your network administrator is helpful with or opposed to your 
efforts to work around them.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-05-13 15:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-12  6:56 internet access through proxy Manish Regmi
2005-05-12  7:16 ` Ray Olszewski
2005-05-13  7:25   ` Manish Regmi
2005-05-13 15:32     ` Ray Olszewski
2005-05-12 10:31 ` J.
2005-05-13  7:36   ` Manish Regmi
2005-05-13  8:07     ` J.

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.