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
0 answers
8 views

Set proxy on login if proxy server is reachable

I have to move between work, where we have a firewall and have to connect to the internet through a proxy and home where I do not need a proxy. Since there are no global proxy settings in Linux and a ...
Oskar's user avatar
  • 101
0 votes
0 answers
34 views

tproxy for only one application?

I need to route all udp traffic from one application through a proxy, and I think tproxy is a good option for this. I can run the app with a special user and filter by uid/gid before set-mark in ...
Irregular5866's user avatar
0 votes
1 answer
37 views

redirect traffic of wlan0 through v2ray http proxy

I have a Raspberry Pi with two interfaces. eth0 is connected to router to internet. wlan0 is acting as access point using hostapd and there is udhcpd service for wlan0. I installed v2raya which ...
Farzad X's user avatar
0 votes
1 answer
31 views

Advertising an HTTP/SOCKS proxy over local network

I have a proxy server running on my home server and I want to advertise it so that any client (mostly phones) can connect. Is it possible to do so? Transparent proxy is not an option for me.
mFat's user avatar
  • 121
0 votes
0 answers
53 views

Trouble using apt with kali linux system wide proxy

Hello I apologize in advance, I am very new to Linux: To preface, I am using PdaNet+ to use a wifi hotspot which requires me to use a proxy. I'm easily able to configure it into Firefox but I'm unable ...
Tye's user avatar
  • 1
0 votes
0 answers
15 views

E2Guardian+Squid mark forwarded packets between interfaces

I read couple of similar scenarios but did not find any solution. So this is what I have at the moment. An Ubuntu 20.0 LTS box with E2Guardian 5.4 and Squid 4.10. This host is set as gateway for my ...
sfeher's user avatar
  • 1
0 votes
0 answers
67 views

How to redirect all traffic through a proxy without a loop?

I want to redirect all traffic from my apps and programs (including those that do not support proxy or VPNs in their app configuration) to a local HTTP/SOCKS proxy server, which will then redirect the ...
Farel Reski Aditiya's user avatar
0 votes
0 answers
22 views

Is it possible to redirect squid traffic from Host A through Host B(Squid)?

Can traffic of Host A having squid proxy redirect all its traffic to Host B's squid proxy using ssh tunnel? Couldn't find any solution. A help will be appreciated. Solution form this https://unix....
Vishal Sanghani's user avatar
-2 votes
1 answer
36 views

Configuring an AWS E2 proxy for SSH-tunnelling your web browser [closed]

A web browser usually connects to the Internet directly. Sometimes that's undesirable. On such occasions, routing traffic via another system is preferable. VPNs achieve the desired result, but ...
bs-'s user avatar
  • 33
0 votes
0 answers
24 views

manage proxy based on destination on linux

i have a socks5 proxy on local network. (think 192.168.1.5:9150) i need another proxyserver on my local network that serve socks5 proxy (192.168.1.10) i want some functionality like switch omega ...
JACK's user avatar
  • 1
1 vote
0 answers
47 views

SSH ProxyJump "hostbased" Authentication

Can anyone recommend how to set up my SSH config file to let me proxy into a server that sits behind a login node when I need to use hostbased authentication. My problem is logging into the compute ...
ElectronsAndStuff's user avatar
0 votes
0 answers
127 views

Squid transparent proxy for HTTPS requests that have been redirected by DNAT rule

I would like to look into suspicious activity of possibly infected web application in my network. I wanted to use squid to intercept https requests with https_port directive. My network setup: http/...
Marcel Tkáč's user avatar
0 votes
1 answer
50 views

what should be the format of http logs of a proxy?

In this specific case I am using fabio and nginx and apache http proxy that just proxies requests to destinations. Both the "Combined Log Format" and "Common Log Format" do not ...
KamilCuk's user avatar
  • 860
0 votes
0 answers
37 views

Automating proxy configuration across multiple applications without plaintext password

More generally than the post described here: Using bash functionality in rc files I would like to set an appropriate proxy configuration for all/multiple applications including but not limited to: ...
Sterling Butters's user avatar
1 vote
1 answer
91 views

SSH with ProxyCommand never connects

I'm trying to get my SSH connections to go through mitmproxy using the following SSH config file: Host test HostName 10.0.0.246 User testssh ProxyCommand socat - PROXY:10.0.0....
Ragesh's user avatar
  • 111
0 votes
0 answers
29 views

Can a linux user set their proxy so that the settings cannot be seen from either history or env?

Bear with me here as I do not know why my company setup our Linux system this way but... What they want us to do is to log into the remote server using our personal id/password but then immediately ...
Malloc's user avatar
  • 1
0 votes
0 answers
27 views

Looking for a proxy server application that reroutes traffic based on http status code

I know that I can write what I'm describing here with Python, Go and other programming languages but I'm looking for a ready-made solution. I need an application that does this scenario: It exposes ...
wiki's user avatar
  • 101
0 votes
0 answers
119 views

Redirect traffic of an interface to a socks5 proxy

I've got a VM that I create using virt manager. The program creates virtual interfaces like: $ ip addr 4: virbr2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group ...
Fnr's user avatar
  • 173
0 votes
0 answers
42 views

Fallback to alternative jumphost address upon primary jumphost disconnection

I have a subset of servers that I can only reach via a jumphost connection, for which I have two independent addresses to utilize. Normally, this is straightforward and either of the two jumphosts can ...
Andrew's user avatar
  • 1
0 votes
0 answers
159 views

How to use SOCKS5 on my browser without authentication, e.g with port forward

I'm trying to connect to my private SOCKS5 proxy with authentication, on my browser (Opera 95, ArchLinux ) I use SwitchyOmega Chromium extension to create proxy connection profiles .. Both the ...
Salem F's user avatar
  • 143
1 vote
0 answers
229 views

Curl with random IP v6 from /64 subnet: ndppd, ip neighbour or routing not working

I'm trying to setup random IPv6 proxies pool on my server /64 subnet like this: https://github.com/zu1k/http-proxy-ipv6-pool, but curl --interface 2a05:541:108:26::2 google.com not working (endless ...
Questioner's user avatar
0 votes
1 answer
396 views

config file for ssh ProxyCommand after a ProxyJump

There's something really broken about my mental model of how ssh's nesting of ProxyCommand works. I have the following ssh command that works the way I want it to (ssh to jump.mydomain.com and then ...
Wandering Logic's user avatar
0 votes
0 answers
106 views

why the curl could not access website when using proxy

I am using macOS 13 and set the proxy in terminal like this: ➜ depot_tools git:(d9e2d479) env|grep all_proxy all_proxy=socks5://127.0.0.1:7890 then I using the curl command like this: ➜ depot_tools ...
Dolphin's user avatar
  • 589
3 votes
1 answer
895 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 ...
Stewart's user avatar
  • 13.1k
0 votes
0 answers
14 views

How can I specify a proxy for a specific website in a router?

I have a WRT 3200ACM router with DD WRT installed. I need to configure it to open a specific website using proxy. The proxy is IP:PORT:USER:PASS
Mejnon's user avatar
  • 1
1 vote
1 answer
271 views

Bridge dbus service to another bus

This is the situation: I have NetworkManager running on the host system. I have systemd and dbus running in a privileged Docker container. I want nmcli in the container to access the NetworkManager ...
Christian Stewart's user avatar
1 vote
1 answer
1k views

Unable to install cntlm on Red Hat Enterprise Linux 9 due to the absence of chkconfig

I am trying to set up proxies on my Red Hat Enterprise Linux 9. I am trying to install CNTLM proxy authentication software. I downloaded the RPM file from the official repo and tried the following ...
EJoshuaS - Stand with Ukraine's user avatar
0 votes
1 answer
133 views

why is proxied TCP traffic much faster than routed/VPNed TCP traffic

I have a VPS which can download a file from Server X at 2gbps. I have a home internet connection which can download a file from the VPS at 1gbps, but from Server X at only 100mbps. If I use a SOCKS ...
Mir's user avatar
  • 1
0 votes
0 answers
423 views

The proxychains package only can use default tor proxy. i.e. 127.0.0.1:9050

I am having an issue where proxychains can not use any free proxies on the internet. It can only use the default tor proxy. proxychains.conf: dynamic_chain proxy_dns remote_dns_subnet 224 ...
Nick's user avatar
  • 1
0 votes
2 answers
989 views

Check whether SOCKS5 proxy server support UDP

Suppose I have UDP server that listen incoming message on 192.168.43.1:1234 and SOCKS5 proxy server that listen on 192.168.43.2:9999. How do I check whether SOCKS5 proxy server support UDP when ...
Muhammad Ikhwan Perwira's user avatar
0 votes
0 answers
636 views

Config Wireguard server to use a socks proxy to access internet

There is a Wiregurad server that is working perfectly, but we need that Wireguard's server connect to the internet using socks proxy through the second server and ONLY Wireguard, Not other programs ...
AmyyazdaN's user avatar
  • 101
0 votes
0 answers
131 views

Log all https requests from browser

I want to log all https URL requests including their referrer URL and preferably also the IP address of the server. I expected I would be able to do this by installing Squid, but it seems, that it can ...
Ole Tange's user avatar
  • 34.7k
0 votes
0 answers
112 views

how to route openvpn server to access internet through an http or socks proxy

consider we have 3 machines, upstream (has the internet), bridge (has access to upstream through an http or socks proxy), client (only sees the bridge machine). we want to setup an openvpn server on ...
Na weed's user avatar
0 votes
0 answers
166 views

How to force all the bandwidth to go through HTTP Proxy?

TL;DR: How can I use my routing table to block any non-proxied bandwidth when using HTTP_PROXY and NO_PROXY environment variables inside a Docker container? I am running inside a Docker container and ...
Infinity's user avatar
  • 101
1 vote
1 answer
10k views

How to set up system wide proxy in Kali Linux?

I am living in a hostel where we get access to internet through LAN ports by connecting to a proxy server. I am running Kali Linux in Oracle VirtualBox and that's where I need internet access. Here is ...
Alpha Delta's user avatar
0 votes
0 answers
249 views

curl using socks5 proxy and IPv4

When using curl with socks5 proxy, seems that my IPv4 addressing is gone: $ env ALL_PROXY=socks5h://localhost:8001 curl -4 ipconfig.io 2607:xxxxxxxx:681f $ curl -4 ipconfig.io 97.xx.xx.116 What is ...
xpt's user avatar
  • 1,344
0 votes
1 answer
178 views

How can i use a proxy server for whois command?

Well, my goal is to use a free proxy server to make the whois command requests in the terminal to control the limit of requests by ip and then immediately disable the proxy (I want it to work only for ...
Gabriel Castro's user avatar
0 votes
1 answer
116 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?
1n4ho12's user avatar
2 votes
1 answer
672 views

Can you add docker repository to apt-cacher-ng?

My debian 11 server1 doesn't have internet access and it installs cached debian packages from another server2 that has apt-cacher-ng installed. The sources.list file in server1 points to apt-cacher-...
Cruise5's user avatar
  • 476
1 vote
0 answers
927 views

curl SSL certificate problem: MITM proxy's self signed certificate in certificate chain

Problem: $ curl https://github.com/ curl: (60) SSL certificate problem: self signed certificate in certificate chain More details here: https://curl.se/docs/sslcerts.html curl failed to verify the ...
xpt's user avatar
  • 1,344
0 votes
0 answers
83 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 ...
AstraLino's user avatar
1 vote
0 answers
53 views

Use SSH to access other hosts, but with destination routing

I'm setting up a reverse proxy using Traefik. This works well, and results in a setup that supports the use of a URL (like https://backenddevice.domain.com) which then routes me to that backend ...
milkmansson's user avatar
0 votes
0 answers
21 views

Treatment of parameters %h:%p for switch -W in multi hop jumps in ssh

With ssh -oProxyCommand="ssh -W %h:%p -oProxyCommand=\"ssh -W %%h:%%p -oProxyCommand=\\\"ssh -W %%h:%%p root@jmp1\\\" root@jmp2 \" root@jmp3" root@jmp4 you can do a ...
Matthias Altmann's user avatar
0 votes
1 answer
515 views

unset proxy in a session can remove proxy from everywhere when proxy is configured in /etc/enviornment file

Suppose I have set proxy persistent way in my /etc/enviornment file and now I have run unset proxy from a session . So proxy will be there or not in this situation? What I faced that even after unset ...
Priti's user avatar
  • 1
0 votes
0 answers
112 views

How can I forward my http/https request to 2 different upstream proxies based in the destilanation url?

Hi I am quite struggling to find a good solution to my problem. I have to forward http/https requests from my (Linux) server to 2 different proxy based on the destination URL. I've tried different ...
Zioalex's user avatar
  • 288
0 votes
0 answers
189 views

How to add windows client machines IP’s and names in squid proxy so the logs output as clients name instead IP

I have configured squid proxy server on centos stream and its up and running perfectly I want access.log output as windows client usernames instead of machine IP . As example below . current output ...
Rizwan Saleem's user avatar
0 votes
1 answer
2k views

How to configure proxychains the right way?

I configured proxychains following a couple tutorials on the web which were pretty much all the same, as they showed the configuration using Tor service. The problem I'm having is that my DNS is being ...
user avatar
0 votes
1 answer
264 views

Simple TCP Proxy for Amazon Linux 2

I'm looking for a simple TCP proxy that I can install and run on Amazon Linux 2. I've been using simpleproxy on Ubuntu and it does exactly what I need, but I can't seem to find an equivalent for ...
Jordan's user avatar
  • 131
1 vote
1 answer
113 views

Reverse proxy on my Linux VPS

I have a Linux Server with several docker instance running. it looks like that : SSH Port: 22 Container1 port : 4000 Container2 ports: 5000, 5001, 50002 Currently, i'm using https://...
Quentain's user avatar
0 votes
0 answers
639 views

Resolve hostnames via socks5 globally?

I'm trying to configure a "global" socks5 name resolution setting so that when I run ping google.com it actually tries to resolve google.com via the socks proxy. For example, to get curl to ...
user3447014's user avatar

1
2 3 4 5
13