Questions tagged [proxy]

A proxy is a program that acts as an intermediary in connections between a client and server. There can be proxies for any communication protocol: HTTP, SSH, …

Filter by
Sorted by
Tagged with
0
votes
1answer
556 views

automatically restart nginx proxy with monit

I tried to mointor my nginx proxy in one VM with this config in # cat /etc/monit/conf.d/nginx check process nginx with pidfile /run/nginx.pid start program = "/usr/sbin/service nginx start" ...
1
vote
0answers
83 views

linux http proxy with web accelerator

I am looking for a suggestion for which http proxy to use. I am planning on installing an http proxy in my network but then I thought that perhaps I should get one with tcp/web acceleration. I have ...
2
votes
1answer
892 views

How to proxy App over a reverse SSH-Tunnel (multiple hops)

a question to SSH-tunneling. I am trying to proxy Firefox over a Pi, that is in a network behind a NAT. This Pi builds a reverse SSH tunnel to one of my servers, which works pretty well. When proxying,...
1
vote
0answers
726 views

SQUID intercept mode using external authentication and ICAP with adaptation_send_username not working

My goal is to transparently filter HTTP and HTTPS URLs based on a user name that is obtained via an external acl type. I am running Squid 3.5.23 in intercept mode, after researching, it seems that ...
1
vote
0answers
62 views

Using an internet hosted server as a proxy server

I have been hunting around for an answer to this and created some IPtable rules but have not found exactly what I am after. I host a service which clients connect to, but due to a one customer ...
1
vote
1answer
500 views

Access repository where direct access to the repository's URL is blocked

A Raspberry Pi is located behind a hardware firewall which is configured to block all outgoing communication to any IP except my server (all ports are allowed) and to block all incoming communication ...
1
vote
1answer
2k views

CentOS 7 - yum not using proxy for all requests

I'm trying to configure yum to use a proxy for all requests. So I added to /etc/yum.conf : proxy=http://proxy.domain.local:8080/ yum is working correctly, but I can see in my iptable logs that yum ...
3
votes
0answers
226 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 ...
1
vote
1answer
937 views

nginx reverse proxy: host not allowed error

I'm trying to use nginx as a reverse proxy. One server is a play server. When I try to proxy the server, I receive a 400 Host Not Allowed error. flow --------...
0
votes
1answer
533 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 ...
2
votes
0answers
332 views

error installing oracle 11g on Ubuntu 17.04 Mate

I am trying to install Oracle 11g on my Ubuntu Mate 17.04 machine. In one of the installation steps, I am required to key in the proxy details/credentials. In our college, there is a wifi as well as ...
0
votes
1answer
5k views

How many concurrent connections will be handled by Squid proxy

I am running opensource Squid proxy on port 3128. Sometimes squid proxy PID goes to nonresponsive state and after that sometimes Squid returns back to responsive state. Could you tell me how many ...
6
votes
2answers
6k views

How do you use proxy with the whois command?

I tried exporting into http_proxy and https_proxy but that didn't seem to work. I am guessing that there is another way to use a proxy when querying whois information from the command line?
2
votes
1answer
16k views

Connecting with sftp using a proxy server

I am trying to connect to an external server using a proxy with the below command: sftp -v -o "ProxyCommand /usr/bin/nc -X connect -x proxyserver.com:8080 %h %p" user@server.com This isn't working. ...
0
votes
1answer
1k views

Is there a fiddler proxy equivalent for Debian?

I like to setup a (SOCKS) proxy on my Debian system. For certain URLS/domains I like it to execute my code (C, C#, JS, I don't care really) with the url and server response (html or JSON). The domain ...
0
votes
1answer
495 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 ...
49
votes
4answers
78k views

Unable to add gpg key with apt-key behind a proxy

Adding a gpg key via apt-key systematically fails since I've switched to Ubuntu 17.04 (I doubt it's directly related though). Example with Spotify's repo key: $ sudo apt-key adv --keyserver hkp://...
3
votes
0answers
1k views

Route all traffic through proxy

My school uses a proxy with authentication to filter the internet. I have a Node.js script that needs to establish a connection to another server via non-http ports ( >1024). How do I send all of my ...
0
votes
2answers
6k views

SSH ProxyCommand one host to reach another [closed]

In our ENV we have 2 jumphost server in which we try to get login and run ssh command on the remote server, we have ssh/confg file for each location with the help of sshproxy we get into the Jump2 ...
1
vote
0answers
75 views

How to send a key anonymously on a server through tor from command line?

There are only few servers that are supporting key uploading from a tor node as given in the sks servers list. How would you suggest to send a key anonymously through tor from command line? I guess ...
2
votes
0answers
203 views

How to set proxy only if ethernet cable is plugged in

I know there's the possibility to set proxy from the command line using export http_proxy="http://USER:PASSWORD@PROXY_SERVER:PORT" I'd like to automatically set it up only when Ethernet cable is ...
2
votes
0answers
731 views

How to handle duplicate AD usernames from different domain for authentication using ldap proxy + nslcd

I have scenario in which there is one ubuntu machine which serves as ldap proxy using ldap as backend and i have two windows machine 2008 r2 having active directory each with different domains let say ...
2
votes
1answer
551 views

Proxy sub.domain.com/link1 -> 10.1.1.1:8080/someotherlink1

Trying to do a simple proxy from sub.domain.com/link1 to another server 10.1.1.1:8080/someotherlink1. This is what my server context looks like: (I modified the default nginx.conf) server { ...
2
votes
0answers
3k views

proxychains is revealing my public IP, not properly using Tor proxy

I'm trying to setup proxychains on my system in order to randomise my IP address. I want it to use the Tor network. I have installed proxychains and Tor via apt get install and started Tor with ...
6
votes
1answer
3k views

Linux Replacement of RD Gateway

Is there a way to replace RDS Gateway with some sort of linux based proxy. I know there some ways to do it with ssh/port forwarding, but this is to replace a current RDS Gateway our users utilize for ...
2
votes
1answer
218 views

How to allow OCSP but disallow all other outgoing HTTP requests?

Is it possible to allow OCSP requests using for example iptables or Squid? I'm doing an experiment where I reject insecure outgoing HTTP requests, but OCSP is of course a valid exception since the ...
0
votes
1answer
191 views

How to test proxy if its working and send mail if isnt

i need a script that will test if proxy is working or not. Scipt should download a page with wget then grep for specific string of characters. If it can't find the string then it should send a email ...
1
vote
1answer
11k views

Trying to test if proxy is working

I wrote this simple script: export http_proxy='http://proxy.test.cz:1234/' wget -nvq --proxy-user=test --proxy-password=test google.com &>/dev/null | grep -q 'You cant user internet' || echo "...
1
vote
1answer
7k views

Forward proxy with Apache and SSL

At my company, I have to support a rather old application that does not support TLS 1.x. This application sends request to Salesforce, which is in the cloud (outside the company's secure perimeter). ...
1
vote
0answers
63 views

tracking proxied TCP connection

I'm a unix admin at a college. I've two web servers. One of them is for faculty and one of them is for the official college web team. The offical web server proxies requests for faculty web pages, ...
4
votes
2answers
2k views

How to test list of proxy servers?

I have list of HTTP/HTTPS/Socks proxy servers like this: 1.2.3.4:80 5.6.7.8:8080 ... I need to test each server if it works and if it is anonymous or not. I plan to put these servers to my ...
2
votes
2answers
5k views

How to know if torghost is safe to use? [closed]

I found a blog post about torghost, I am wondering if this has some potential harmful software or have some potential risk in using it.
2
votes
1answer
5k views

How to find out how is curl getting its proxy

I have a SUSE Linus and when I run curl it is using a proxy (without any proxy-related parameters passed). Where can I find the proxy configuration? I checked the http_proxy/https_proxy environment ...
2
votes
2answers
2k views

How to set use tor DNS as the default DNS? [duplicate]

I want to have all DNS queries passing through tor. How to set my default DNS to go through tor? In other word I want to use the IP given by tor-resolve google.com instead of dig google.com.
2
votes
1answer
2k views

nginx behind proxy server

I have nginx to forward traffic to certain site, example config: server { listen 80; server_name *.company.com; location /CentOS/7.2.1511/x86_64 { proxy_pass http://mirror.centos....
7
votes
1answer
3k views

Failed getting release file while running debootstrap with sudo

If I run debootstrap in with sudo I get the following output: I: Retrieving InRelease I: Failed to retrieve InRelease I: Retrieving Release E: Failed getting release file http://de.archive.ubuntu....
1
vote
1answer
841 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 ...
1
vote
0answers
35 views

How to use cache in proxy and filter by content in Centos 7.3 and Freebsd

I have a proxy server running well, but I would like to know how to filter by content, not only a webpage, and then how to use cache. I am not sure if to use the cache I have to uncomment only a line ...
2
votes
0answers
368 views

Set up a proxy for Simplenote

At work I have a proxy. When I configure it in Linux everything goes perfectly. But now I'm starting to an app call Simplenote that doesn't have a proxy option, so it's not working. What I would like ...
1
vote
1answer
180 views

Proxy Server on FreeBSD is rejecting connections

I have done a proxy server on FreeBSD, but from my client the browser says that the server is rejecting connections. Here I leave you my squid.conf file. Sorry for the screenshots, but from ...
1
vote
0answers
135 views

The correct way of implementing adblocking with uzbl?

I though about running some proxy on localhost, but will I be able to filter https? I've tried to use scripts from wiki, but they are not seem to work. Another idea is to implement adblocking using /...
0
votes
1answer
1k views

How to is the system proxy configured in Tails OS?

How is tails system wide proxy configured in tails? Tails have non-null variables SOCKS5_SERVER, SOCKS_SERVER set to 127.0.0.1:9050 but I guess this is not enough to force all connection to be ...
1
vote
0answers
1k views

Issues with nmap scan using ssh socks proxy with proxychains

I have a socks proxy made available to a remote computer, using ssh: ssh -D 127.0.0.1:9999 remoteuser@remotemachine I've adjusted the /etc/proxychains.conf: quiet_mode socks4 127.0.0.1 9999 After ...
1
vote
1answer
1k views

Apache query string rewrite not working

I need to rewrite a domain name in a query parameter in order to augment a proxy. The proxy basically is just a domain rewrite, but some of the responses from the upstream server include a query ...
0
votes
1answer
193 views

Debian Guest NAT in KVM cannot access apt-get

Hello colleagues I have Debian 8 Jessie latest update as host on my laptop, from host I am connecting through VPN tunnel to the proxy and then to internet. Connection to the internet from host is ...
1
vote
1answer
2k views

How to change proxy setting manually in debian?

I want to change my system proxy settings manually with command line. What are the commands that allow to substitute this GUI operation on Debian 8.0? Going to the menu and accessing the Network ...
1
vote
1answer
6k views

How to capture SQUID proxy traffic via tcpdump with actual information?

I am using squid as proxy in a small setup having one internal NIC and one external NIC. Now using tcp, I can capture traffic on either side but there is some problem that I am facing. If I capture ...
2
votes
0answers
950 views

firewalld + squid : how-to setup a proxy

infra-server with IP x.x.x.x (with no internet connectivity) does the following request: $ wget http://google.com --2016-11-04 09:32:55-- http://google.com/ Resolving google.com (google.com)... 172....
0
votes
1answer
2k views

CentOS http_proxy vs https_proxy

I have a Linux appliance running on CentOS and I would need it to go through our proxy for CRL lookups. I want to set the http_proxy variable but my question is whether I should use http_proxy or ...
-2
votes
1answer
917 views

Squid Proxy let user use only one ip

how can i let user1 only use 100.160.238.0:17648 and user2 only use 100.160.238.1:48049 and user3 only use 100.160.238.2:26394 ??? I tried some method but not work now my config is mixed with error....

1
3 4
5
6 7
12