Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I believe that I am connected to a proxy over a vpn connection. Where can I find which proxy I am connected to and ports

share|improve this question
add comment

1 Answer 1

You may use curl to investigate it:

 curl -v http://askubuntu.com/questions/267104 >/dev/null

In the output you will see:

X-Cache: MISS from proxy.example.org
X-Cache-Lookup: MISS from proxy.example.org:3128
Via: 1.0 example.computer42.org (squid)

Also you may investigate the configuration of your web browser, if the proxy configuration is part wise automated, but the shell environment stuff used by curl is forgotten.

To get an idea how this automatic configuration may be done, have a look here:
Set web proxy using pac-file-url

share|improve this answer
    
Ok, thanks this is a sub question to another about failed apt-get proxy Auth failures. –  Ray Mar 12 '13 at 21:06
    
It's a clear answer which I will try tonight and if it doesn't work I'll repost. –  Ray Mar 12 '13 at 21:49
    
Thanks again Dirk –  Ray Mar 12 '13 at 21:50
    
@Ray If your problem is resolved, don't forget to close this question. –  H.-Dirk Schmitt Mar 13 '13 at 12:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.