Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-10-2008, 04:39 AM   #1
Registered: Nov 2003
Location: Hong Kong
Posts: 35
Blog Entries: 1

Rep: Reputation: 15
Proxy Authentication by a Proxy?

I have an application which needs to access the Internet. However, it does not know how to perform proxy authentication. Therefore, my company's proxy server rejected it.

I am thinking about setting up another proxy server which does not require authentication, but know how to authenticate against the company's proxy. Then this proxy's task is to authenticate & pass all requests to the the company's proxy.

Is this possible? How to configure this "another proxy"? Or is there any better, more standard solution to the problem?

Thanks very much.
Old 11-10-2008, 12:20 PM   #2
Registered: May 2001
Posts: 29,359
Blog Entries: 55

Rep: Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546Reputation: 3546
Have a look at say Proxychains?
Old 11-10-2008, 10:50 PM   #3
Registered: Aug 2008
Posts: 148

Rep: Reputation: 15
Cool Add MASQUERADE Rule on Proxy server for your PC IP Address.

Dear Friend,

Suppose,if you have a LAN of 100 PC's & except your PC,all 99 computers getting internet through Proxy Authentication.

Now,to access internet from your PC through Proxy without authentication,then you need a single "iptables" rule on your PC's IP Address.

Just implement below rule on proxy server & you will get internet directly,without any auth.

The command is :-

iptables -t nat -I POSTROUTING -s <your pc ip address> -j MASQUERADE

I have tested that this rule can work on RHEL,Fedora,CentOS only.

Try it,it should work.

Old 11-10-2008, 11:02 PM   #4
Registered: Nov 2003
Location: Hong Kong
Posts: 35
Blog Entries: 1

Original Poster
Rep: Reputation: 15
It seems ProxyChains is intercepting TCP connections and passes it through a proxy (kind of like a TCP tunnel?). This is not what I want, because the application I am using do support proxy. It simply does not support proxy authentication. And the startup script of the application is complicated so I don't think it is easy to start it correctly under ProxyChains.

Instead, on further research I come across the term "parent proxy" which seems to describe what I want. I know squid support parent proxy. Is there any simpler solution? Do Apache mod_proxy support parent proxy?

nishith: I am trying to avoid annoying the network team :P

Thanks anyway!


authentication, proxy

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
configure squid proxy with cc proxy as a parent proxy faisi Linux - Networking 1 08-10-2010 01:16 PM
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 01:38 AM
Transparent proxy with AD authentication logicalfuzz Linux - Server 2 02-07-2007 07:40 AM
proxy authentication joesbox Programming 1 02-23-2003 10:13 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration