Questions tagged [http-proxy]
The http-proxy tag has no summary.
139 questions
1
vote
1
answer
665
views
Tinyproxy: listening and binding on different NICs (eth0, eth1). Routing issues
On a Linux server I have 2 NICs: eth0 and eth1.
The server has the IPs:
192.168.2.200/24 on eth0
192.168.3.200/24 on eth1
Both the networks have the default subnet mask (255.255.255.0) and the ...
0
votes
1
answer
285
views
Setting up `iptables` for use with an external HTTP proxy
I have a linux machine and an external HTTP proxy.
I couldn't figure out how can I transfer the whole traffic (udp also if possible) of my system using iptables.
sudo iptables -t nat -N PROXY_CHAIN
...
3
votes
1
answer
2k
views
Prevent requests to 127.0.0.1 from being forwarded to http_proxy
I have this on my machine:
$ cat /etc/profile.d/proxy.sh
export http_proxy=http://192.168.1.30:3128
export https_proxy=https://192.168.1.30:3128
That works great, until I need to use an HTTP ...
1
vote
0
answers
83
views
Has the target of a HTTP CONNECT tunnel to be reachable from both client and proxy?
I am trying to tunnel ssh via HTTP. My apache virtual host config looks as follows:
<VirtualHost *:443>
ServerName proxy.example.org
ProxyRequests On
AllowCONNECT 22
<Proxy *&...
0
votes
1
answer
174
views
How to define HTTP_PROXY uppercase as http_proxy lowercase in macos?
How to define HTTP_PROXY uppercase as http_proxy lowercase in macos?
Is there a way to set HTTP_PROXY to work similarly as http_proxy?
0
votes
0
answers
121
views
squid proxy on redhat 7 is not allowing http traffic
I have two squid proxy servers. They both have same squid.conf file. One is allowing http traffic but other is not allowing http traffic.
https traffic is working via both squid proxies
squid config ...
1
vote
1
answer
3k
views
NginX - http and stream proxy on the same server
I want to ask you if there is a possibility to configure NginX as http proxy and stream proxy on the same NginX server? Or should it be splited on two machines, one as http proxy, another as stream ...
0
votes
0
answers
86
views
Forwarding traffic via ssh from printer to raspberry pi
At my place of work, we have two different kinds of printers: Konica and HP. They are connected to our network and each have a specific ip. Each employee has an account they must access before ...
0
votes
1
answer
2k
views
Intercept and edit http requests on the fly
Is there a tool that'll let me programatically inspect and edit http requests being emitted from my box on the fly?
I'm hoping to create the ability to access mirrors of commonly downloaded files when ...
0
votes
0
answers
62
views
what daemon/service can I use to block website based on page content?
might be best explained with an example:
On the page I'm viewing, the word "sex" is present in the DOM or page source or URL. I want to block this page and present a generic page instead.
...
1
vote
1
answer
133
views
Would a Netgate 1100 with pfSense Plus Software support SquidGuard?
Would a Netgate 1100 with pfSense Plus Software support SquidGuard?
I'd like to be able to do web filtering using that software / hardware combination.
P.S. Apologies if I have posted this in an ...
1
vote
1
answer
1k
views
NGINX - What happens if client is slower than upstream server with proxy_pass?
with proxy_pass - how does NGINX handle situation when the client is slower connection than the upstream server, say the upstream server is pushing the content to the nginx server at 12MBPS, but the ...
1
vote
1
answer
428
views
Use KeepSolid (VPN Unlimited) proxies from curl
It seems KeepSolid's servers run Squid (https://89.45.7.90:3129), and that the Firefox plugin somehow authenticates, so that Firefox can use it.
I want to use curl with KeepSolid's servers (aka. VPN ...
1
vote
0
answers
109
views
Getting Error 503 trying to connect with Grouper with user and pass via python
I have an apache proxy server setup with following in my .htaccess file
#Header always set Access-Control-Allow-Origin "*"
Header onsuccess unset Access-Control-Allow-Origin
Header always ...
1
vote
1
answer
954
views
set shadowsocks proxy on wsl2
I have followed these two links to set up apt-get proxy. https://github.com/microsoft/WSL/issues/6143 and https://askubuntu.com/questions/7470/how-to-run-sudo-apt-get-update-through-proxy-in-...
2
votes
2
answers
15k
views
Proxy settings for CentOS 8 not working
I've tried installing a CentOS 8 server behind a corporate proxy but I can't seem to figure out why it won't let me do any connection commands.
vi /etc/profile.d/proxy.sh
# proxy settings
...
2
votes
3
answers
2k
views
One line HTTP Proxy command?
Is there a simple, one-line command to run a HTTP Proxy? There are several one-line commands “serve this directory over HTTP” (e.g. python -m SimpleHTTPServer). Is there any command, or one-liner, for ...
1
vote
1
answer
3k
views
squid, TLS connection between browser and proxy
I have a squid instance (v4.6) on a public address A.B.C.D setup with basic_auth (ldap backend). This works over unencrypted port, say 8080, using http_port A.B.C.D:8080. I'm trying to fiugre out how ...
1
vote
1
answer
2k
views
apt-cacher-ng is having some issues with replying to "sudo apt update" from Ubuntu client
It worked ok with Ubuntu 18.04 but on Ubuntu 20.04 the issue with apt-cacher-ng is like this,
$ sudo apt update
Get:1 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB]
Hit:2 http://security....
2
votes
1
answer
1k
views
When linux use https_proxy instead of http_proxy?
I realized that in linux as well as in many programs, one can set http_proxy and https_proxy. I see many guides suggest:
http_proxy = http://host:port
https_proxy = https://host:port
I have serveral ...
0
votes
1
answer
243
views
How to fix browser “Not secure” icon for given Apache config?
When configuring ssl.conf for Apache 2.2.4,
I want to use some configuration like the below:
SSLEngine on
SSLCertificateFile /opt/alfresco/deploy/ssl/crt/testdns.com.crt
SSLCertificateKeyFile /opt/...
0
votes
1
answer
2k
views
Apache 2 Virtual Host allow serving all files from a directory
I have an Apache 2 server installed on my Debian system. The Apache listens on port 80. Then I have a simple nodeJS server listening on port 8080. I want to use the Apache as proxy for the nodeJS ...
2
votes
1
answer
744
views
Why don't APT connect to HTTP proxy using HTTP `CONNECT`?
Why don't APT connect to HTTP proxy using HTTP CONNECT?
I want to use APT with an HTTP proxy, so I've exported the http_proxy variable with the address of my server http://10.10.10.10.
Now, my ...
0
votes
1
answer
4k
views
HTTPS proxy relay
In an Ubuntu 16.04 machine I have set up a proxy relay configuration with squid 3.5.12 like this:
External_proxy <-> Internal_proxy <-> Host
At this moment, from both, external and internal ...
4
votes
1
answer
1k
views
Do any open source HTTP/HTTPS proxies exist that support PAC?
I was recently hired in a large corporation where I need a VPN to access email and other vital resources. When connected to the VPN, I need a wide range of HTTP proxies to access various URLs. On ...
-1
votes
1
answer
303
views
Multiple Web Servers over a Single IP, Using Apache as a Reverse Proxy
How can I run multiple servers over a single IP, Using apache reverse proxy.
Basically I want to configure an apache proxy for atlassian products like follows:
https://jira.domain.com ProxyPass to ...
2
votes
1
answer
2k
views
What utility does rpm --import use to download keys?
I was trying to add brave key to fedora repository. I am behind a http-proxy, so I am unable to connect.I wonder what utility (like wget or curl) does rpm use to download the keys? so that I can add ...
1
vote
0
answers
193
views
Is it possible to change HTTP_ACCEPT_LANGUAGE header through Privoxy?
I like in the UK and have been using Privoxy to bypass geoblocking from US sites (due to GDPR or regional release).
I tried connected to a server running a Proxy Judge script which showed that ...
0
votes
0
answers
4k
views
How do I specify a socks5 proxy with go get using socat
On a centos machine I want to do go get git.address.org/123
through a socks5 proxy.
I thought maybe using socat to make the socks5 proxy into an http and then specifying it in the command like :
...
1
vote
1
answer
630
views
Where to define proxy environment variables for firefox started via desktop links in lxde/debian9?
I'm trying to set the system-wide http_proxy environment variables (automated by a shell script) in such a way, that firefox uses them when executed from the LXDE start menu for all users.
So far I ...
2
votes
1
answer
394
views
3proxy via pptp-linux VPN
I have a situation:
A computer with debian (K) is connected to the router (A), which distributes the network 192.168.1.0/24.
There is another router (B) (it has a “white” ip), which distributes the ...
1
vote
2
answers
198
views
Confluence Site viewing via Android-Chrome Redirects URL to many times but Desktop Chrome and other Browsers do not
I just posted a URL and tested viewing it I noticed that in Chrome on Android it redirects too many times to the following URL. I tried clearing my cookies and browsing data but it still did the same ...
1
vote
1
answer
2k
views
Redirect request to corporate proxy server with nginx reverse proxy
I have a Gentoo linux where I run an application that makes requests to a certain domain, but does not respect my proxy setting I made in the environment variables (http_proxy, https_proxy, HTTP_PROXY,...
0
votes
1
answer
3k
views
SSH through HTTP proxy with corkscrew
I'm running into an issue connecting from a Cygwin terminal to my home Raspberry Pi with SSH from behind an HTTP proxy. It used-to-work™ and I don't know what changed since a few days ago (maybe the ...
1
vote
1
answer
40
views
Proxy address is being replaced with /dev/cdrom
I have a weird issue that I can't seem to find an answer for.
When I enter:
git config --global http.proxy http://{username}:{password}@{proxy address}:{port}/
It returns an error:
git config --...
1
vote
1
answer
2k
views
exclude local addresses in wpad
I have a proxy Ubuntu 18.04, with squid 3128 and apache2, and I publish the auto configuration file proxy.pac with the option dhcp 252.
The file has the following contents:
function FindProxyForURL(...
0
votes
1
answer
949
views
SSH through a gateway that needs a proxy to access final destination
I have to set up an ssh/sftp connection which needs a certain configuration, and I've been looking around but didn't find an answer. I'm not sure it's even possible without some work around.
I have 4 ...
0
votes
0
answers
258
views
How to make HTTP proxy to the VPN Tunnel?
I have a VPN tunnel running, where test.google.com = VPN HTTP server with IP 10.0.0.3.
So I have /etc/hosts with DNS mapping test.google.com = 10.0.0.3 when I ping test.google.com it works.
Now ...
0
votes
0
answers
513
views
Ubuntu vm under proxy: browser is not able to resolve dns
I don't quite figure out why I'm not able to get dns lookpu resolution into my browser (firefox) inside my ubuntu virtual machine.
apt-get, git, maven, gradle and other tools are configured in order ...
3
votes
1
answer
2k
views
Use socks proxy in terminal
I am using selektor, which is similar to vidalia tor bundle. The default settings, use safe socks with port number 9054. It is fine and when I set the firefox proxy to "use system proxy", I can access ...
5
votes
1
answer
16k
views
How to use authentication with negiotiation (e.g. Kerberos) to HTTP proxy?
Generally accepted is the use of HTTP_PROXY/HTTPS_PROXY environment variables to specify the use of a proxy server. Authentication can be included in this URL, e.g. HTTP_PROXY=http://user:pass@myproxy....
2
votes
0
answers
7k
views
pip is not using the proxy set by the environment
I want to set some variables in my system.
Using echo $http_proxy also gives me the correct result, but when trying to access internet through terminal, I am getting the previous proxy and not the ...
1
vote
1
answer
2k
views
Only 1024 bytes for each /etc/environment variable :( -> rebuilding pam with larger limits?
I have a long list (more than 1013 chars) of hostnames and IPs in my /etc/environment no_proxy/NO_PROXY variable, because my corporate proxy does not know them. My local Unbound DNS does. Only some of ...
3
votes
1
answer
3k
views
How to share wifi using hotspot without proxy?
I have a kindle paperwhite which doesn't support adding Proxy servers in WiFi connections. I have created a hotspot connection via WiFi on my ubuntu thorugh which I connect my phones. I only have ...
3
votes
0
answers
382
views
How to offload TLS client certificate authentication to a simple proxy
I have a web application that is accessible only through HTTPS with client certificate authentication. I need to run some analysis tools which don't cope well with client certificate authentication. A ...
0
votes
1
answer
820
views
Rewrite rule nginx, token
I have a java application which is behind nginx proxy pass.
When the URL is called the application automatically creates a path for the served content.
So when you call https://somedomain.com you get ...
0
votes
1
answer
1k
views
Sniffing https/http traffic from entire OS with mitmproxy
I'm using debian 8, and i want to capture all the traffic from it. So i installed mitmproxy on the same os on which i want to capture https, and i set up in the 'network->wifi->http proxy and https ...
2
votes
0
answers
721
views
Temporary DNS resolve to local ip (for temporary http redirect)
So here is my high level goal:
I have Linux running on a small device that acts as a Wifi-Hotspot for wireless clients. It also runs a web server (nginx) for configuration and I would like to ...
2
votes
0
answers
214
views
Simple HTTP Proxy for multiple client authentication
I have a web application running that takes incoming connections from various clients. Now I need to perform client authentication for each incoming connection.
A separate application running on the ...
1
vote
1
answer
2k
views
How to set a hotspot that proxify all connections with tor?
Say I am connected with eth0 to Internet and create a hotspot with:
create_ap wlan0 eth0 MyAccessPoint MyPassPhrase
How to set the machine that generate the hotspot to proxify all connections ...