The officially official Devuan Forum!

You are not logged in.

#1 2017-11-24 11:33:02

edbarx
Member
Registered: 2016-12-01
Posts: 20  

Configure a network filtering proxy to be used system-wide.

I would like some help to configure ASCII to use a proxy for all network connections. The proxy is installed on the same machine. I tried to use /etc/environment placing the strings 'http_proxy="localhost:8118"' and 'http_proxy=127.0.0.1:8118'. I only ended up with a broken network connection that couldn't be used.

Is it possible to configure network so that all network traffic reaching and leaving a machine has to first pass through a filtering proxy?

Offline

#2 2017-11-24 12:28:41

ralph.ronnquist
Administrator
From: Clifton Hill, Victoria, AUS
Registered: 2016-11-30
Posts: 1,107  

Re: Configure a network filtering proxy to be used system-wide.

You probably can set something up based on using a network namespace for the proxy server. That's in principle the same as the notion of it running in a VM, but without the VM.

The default namespace would be set up with its default route into the proxy namespace. The proxy namespace would be set up with its default route through NAT back out to the default namespace, and that traffic would need rule based routing to channel it through an outgoing NAT.

Or alternatively, you use rule based routing to direct traffic into the proxy namespace, and rely on the default route for the final channeling. I think you'll need the two NAT in either case.

Offline

Board footer