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.
Have a look at say Proxychains?
Add MASQUERADE Rule on Proxy server for your PC IP Address.
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.
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
|All times are GMT -5. The time now is 07:47 AM.|