You are not logged in.
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
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