I am in corporate network where is strict proxy configured. Only http/https traffic is allowed. But I need to upload some data / manage external server with putty/winscp.
I tried to setup HTTP proxy in putty configuration. I set proxy type (HTTP), hostname and port only, other values are default including proxy command (connect %host %port\n). When I open the connection, proxy return 403 forbidden.
What can I do? Is there any chance to bypass it? Is it possible with putty? I have linux machine in internet, can I install something on it? Thanks.
103 Answers
Probably the network proxy/firewall doesn't allow outbound connections to 22/tcp. You'd need to run the service on a port that's allowed (outbound) by your proxy/firewall, such as 443/tcp.
An alternative would be to install a "management" tool to access a shell a la "webmin" ().
Bypassing the Proxy/FW to transfer data/manage external server in a corporate environment is a no no. There is a reason why the proxy/FW is there, for compliance and security reason.
What you can do is talk to the IT/security department of your request if it is a business need. They can open rules to allow your connections if appropriate.
Corporation keeps all logs, you can get in trouble if you can't answer why when they found out the connections logs.
You need to talk to your IT department and work with them for a solution.
Attempting to bypass security controls your employer has put in place is always a bad idea.