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
1
vote
0answers
27 views

how do I include my server name and IP in my pac file?

I have this proxy.pac function FindProxyForURL(url,host) { // Verify if host part is an IPv4. Match = DIRECT as the IP var hostIP; if (isIpV4Addr.test (host)) { hostIP = host; } /...
1
vote
1answer
719 views

Iptables proxy, redirect all connections from a certain port to the internet?

I have an ubuntu pc and an android phone conneted to my router through a cable and wi-fi respectively. I set the android phone to use a proxy my-wan-ip:5555 and enabled port forwarding on my router on ...
1
vote
0answers
29 views

Linux Mint : Cannot do apt-get update

I'm using the Linux Mint inside a proxy. I already configured the proxy settings in /etc/environment for the whole system and I used this solution (https://askubuntu.com/questions/257290/configure-...
0
votes
2answers
1k views

privoxy + ssh forward remote http request to local web server

My local machine does not have a public IP and the IT department cannot setup an NAT for me, I want to setup a proxy on my remote public server which will forward the request to my local server. I ...
1
vote
1answer
19 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
1answer
24 views

How do I change route (IP) of tor service from the command line?

I'm using the tor package coming with the debian-testing distribution: Package: tor Version: 0.3.5.8-1 I'm frequently using it in combination with proxychains like: proxychains -q curl -s -L https:/...
0
votes
0answers
13 views

anyconnect linux

I really need a vpn right now. I have tried 4nonimizer and vpnbook but for plenty of reasons I couldn't have access to any of them. I was trying to download cisco anyconnect but couldn't find a valid ...
1
vote
3answers
14k views

proxy timeout, error

I am trying to set up a proxy and every time I try to use it it denies me or times out. I tried every thing. Tor is up and running properly. My system is fully updated and I'm on Kali Linux. Sometimes ...
2
votes
2answers
4k views

Force an application's traffic through a SOCKS proxy

How can the TCP traffic initiated by a specific application be forced to go through a SOCKS proxy, regardless of the remote IP or port? A VPN would direct all outbound traffic on a host through an ...
0
votes
0answers
14 views

Squid: Setup reverse proxy based on url path

I'm currently trying to bypass browser security, by hosting a static html page under all (external) domains. e.g. Given a webpage hosted at http://myinternalserver/mypage.html When I request https://...
0
votes
1answer
2k views

Docker build via proxy returned TLS handshake timeout

I did try build Docker container, Internet resources access only via proxy. I did set proxy connection for Docker. Did use method 2 After did check this command [root@server01 docker]# systemctl ...
0
votes
0answers
12 views

settings put global http_proxy accepting syntactically incorrect proxies

I am working on an android device in kernel level, when I set an incorrect proxy through command adb shell settings put global http_proxy hhhh:8080 it is accepting without any errors. if i do ping ...
0
votes
1answer
1k views

Install TCP Proxy Server on Localhost in Linux

I Want I write a simple "TCP proxy server": it listens for TCP pockets on localhost, looks up packet IP destination, reads from it and sends reply. No I want to install it into my Linux system so ...
2
votes
2answers
123 views

Docker behind a proxy requires restart on boot

I am trying to run docker behind a proxy on a linux/ubuntu server machine. I have configured every proxy on the box (FTP/HTTPS/HTTP), I have also configured the Docker proxies mentioned here: https://...
0
votes
0answers
11 views

Which Linux proxy wrapper is based on system policy but not hook?

I have used a CLI tool that using policy to force Linux scripts to use a socks proxy. However, I forget its name. (By force I mean not using environment var. like SOCKS_PROXY.) The tool I remembered ...
1
vote
2answers
733 views

Can't apt update after deleting proxy

I had an apt cache server installed in 192.168.40.97:3142 using apt-cacher-ng. To use it on my laptop I added a file 02proxy in /etc/apt/apt.conf.d directory which had the following content. Acquire::...
7
votes
2answers
13k views

apt-get via ssh-tunnel if only port 22 is allowed

I have a server which has only access to the outer world via port 22 (for the use of ssh from the server to other computers). I want to install some packages via apt-get on this server. Can I achive ...
0
votes
0answers
18 views

bastion server with MFA don't work with proxycommand

I have a bastion server with enabled MFA using google-authenticator service. But I cannot use proxycommand through my bastion: $ ssh -vvv -i ~/.ssh/file.pem user@ip -o "proxycommand ssh -q -W %h:%p ...
0
votes
1answer
21 views

Nginx as Web Proxy fails on https

I have been trying to configure nginx to act as a web proxy (like squid) to be able to modify headers. It is working with http, but https shows "Server not found". Also, I can access directly with the ...
0
votes
1answer
1k views

How to set proxy with a config file provided in freebsd

I'm currently trying to update and install packages and other things on a FreeBSD server, but I’m blocked by my proxy. I'm in an university, and there are a few proxies before to go on the internet. ...
1
vote
0answers
19 views

How to chain two proxies, or: How to redirect network traffic from one process, to a local proxy

Here's the scenario: I have a proxy, that when Chrome is setup to map requests to, records the requests from Chrome + the responses from the real server. It records all of this in a special format, so ...
1
vote
1answer
1k views

iptables: route packets to example.com via public proxy

I want to access certain websites via a public proxy and I can't seem to get it right using iptables. Let's say I want to access example.com having ip address 1.2.3.4 via a public proxy at 5.6.7.8:...
2
votes
2answers
1k views

SOCKS5 Proxy for Chromium

I am trying to use my SOCKS5 proxy with username and password authentication in Google Chromium. I have tried almost every possible proxy switcher addon available in the chrome extensions store. All ...
0
votes
1answer
31 views

adblocking proxy

I'm a user of several modern browsers and I don't like spam. So I install adblockers, like ublock origin. But you have to install extensions in every browser you have and the plugins are not for term ...
2
votes
1answer
2k views

NGINX upstream based on $scheme

We have an upstream which can serve both HTTP and HTTPS traffic. The question is - how to make NGINX send traffic to the correct upstream's port? Current config is: upstream platfrom-dev-eu-app { ...
0
votes
2answers
2k views

Curl not returning response

I have a scenario where I was using curl --noproxy "*" https://.. to get the response but suddenly when I use it now it doesn't return me the response instead it says curl: (60) Peer certificate ...
2
votes
1answer
58 views

How do I use xbps with an authenticated proxy?

How do I use xbps with an authenticated proxy? what configuration do I have to do? I'm looking for an example because I've tried configuring the environment variable and nothing, I'm almost buying a ...
1
vote
1answer
35 views

Squid Proxy Server Error : Upon Starting

I got this error upon starting Squid Proxy Server using the command sudo squid -z fatal: ipc::mem::segment::create failed to shm_open(/squid-cf__metadata.shm): 13 permission denied How shall I fix ...
0
votes
1answer
18 views

Find which file is providing the proxy settings to a host

A Fedora system shows incorrectly configured proxy settings on boot. I need to figure out which file has those wrong proxy settings. I checked ~/.bashrc and ~/.bash_profile but they don't have those ...
31
votes
3answers
44k 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://...
0
votes
1answer
19 views

asus ac68 merlin curl ignore http_proxy

asus ac68 is a router. I have installed the latest firmware(merlin) 384.11. curl -V curl 7.64.1 (arm-unknown-linux-gnu) libcurl/7.64.1 OpenSSL/1.0.2r zlib/1.2.5 Release-Date: 2019-03-27 Protocols: ...
2
votes
1answer
3k views

Curl 7.27: [ANY]_PROXY set; curl does not resolve the hostname via proxy

I'm using curl with a Socks proxy. The proxy is configured via ANY_PROXY="socks5://NNN.NNN.NNN.NNN.PPPP" I observed that curl resolves the hostname locally, not via the proxy. When requesting a URL ...
3
votes
3answers
9k views

Connecting to host by SSH client in Linux by proxy

I am really struggling with this. My host (A) is behind a proxy/firewall (PF) and needs to connect to host H. The proxy has HTTP/FTP/SOCK proxy configured and I have no issue to configure in web ...
19
votes
3answers
215k views

How to flush local DNS cache in CentOS

I'm looking for a way to flush the local DNS cache on a CentOS 6. The system is not running any DNS server or anything, and I wish to let every DNS query go out to the configured nameserver, even for ...
1
vote
1answer
8k 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. ...
1
vote
3answers
7k views

Get transmission web interface working with web server

I have my working on default port and I want to be able to use the web interface with an URL like http://my.domain/torrents. I tried adding a location and a proxy conf to Nginx but it fail to work ...
3
votes
1answer
5k views

Proxychains not working behind proxy

I am able to access internet only behind a proxy 172.16.24.4:3128. When I run proxychains with proxy given by Tor, then my proxychains works fine, but when I run proxychains with the proxy through ...
0
votes
1answer
913 views

Connect to internet through socks proxy where local DNS does not resolve

I have a local machine with CentOS 7. There is a Socks V5 proxy server on the local subnet that provides this machine with access to the internet. I am able to download files with, curl -x --proxy ...
0
votes
1answer
4k views

Squid with mac address filter acl

I am setting up Squid proxy with mac address acl. I have recompiled squid 3.5 rpm with --enable-arp, acl. But after configuring Squid.conf with mac address acl its unable to block access for unwanted ...
7
votes
3answers
5k views

proxifier-like software on Unix?

Having some pleasant time with Proxifier, I just wonder if that kind of software is feasible under Unix/Linux? Is it easy to start a project like that, or are there existing projects available? Are ...
1
vote
1answer
924 views

Dante authenticating user

I have this VPS that has 5 external/public ip addresses and, on only one of them I want to allow user 'someuser' to login in dante: internal: 122.231.9.3 port = 1080 external: 122.231.9.3 ...
0
votes
1answer
5k 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). ...
3
votes
1answer
2k views

How to set up a “child” proxy that doesn't need a “parent” proxy

I run Linux on a laptop that is sometimes on a corporate network which uses an NTLM proxy server, and thus I have cntlmd running on the laptop as a child proxy to connect to the parent (corporate) ...
3
votes
1answer
2k views

SOCKS proxy configuration on KDE 4.4.5 / Debian 6.0.5

I've been trying to use a SOCKS Proxy which I have been using with success from an Ubuntu 11.4 box with GNOME on my Debian box with KDE.The socks server is bound to the local port 1080 through the ...
1
vote
1answer
3k views

How to proxy nmap and dns resolution of nmap

How to use nmap and dns resolution of nmap over proxy? I tried proxychains, but for dns resolution it doesn't work, it's known bug as I read on some forums. It works well without dns_proxy feature in ...
0
votes
0answers
26 views

How to use haproxy for outgoing requests?

I am trying to create a tls link between two haproxy instances. Each instance is installed on a machine which have some apps that need to talk with each other using the proxy. I want the haproxy ...
-2
votes
1answer
783 views

Linux : Very slow internet connections through proxy

I am experiencing very slow Internet connections for applications like apt-get and Firefox browsing through proxy (download speed in Firefox is pretty normal). My Internet connection uses a proxy ...
0
votes
0answers
23 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
vote
1answer
411 views

Gnome 3 on OpenSUSE 12.2 Proxy Porblem

Recently I've switched from Fedora 17 to OpenSUSE 12.2. I used to add my proxy from Network Settings>Network Proxy>Manual Method>Socks Hosts. But it doesn't work on openSUSE. I get the following ...
0
votes
1answer
1k 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 ...