IngwiePhoenix on Nostr: I have been wanting to put my whole network - no matter if windows, playstation, or ...
I have been wanting to put my whole network - no matter if windows, playstation, or synology nas - under the umbrella of a policy routing solution. So, I found Clash. Written in go and quite amazing! However, I never knew how to do transparent proxying...
After working with Gluetun for a little while for some services I run at home, I realized that Gluetun directly modifys it's networking stack and this then gets shared with other containers. Soooo... Clash would need to do the exact same to achieve this. Well, guess what; there is a Docker container that HAS the commands for a transparent proxy in it!
https://github.com/rinex20/clash-transparent-proxy-docker/blob/master/entrypoint.sh
Only thing is: I suck at iptables. xD Can someone explain th is one to me perhaps?
#devstr #asknostr #techstr
After working with Gluetun for a little while for some services I run at home, I realized that Gluetun directly modifys it's networking stack and this then gets shared with other containers. Soooo... Clash would need to do the exact same to achieve this. Well, guess what; there is a Docker container that HAS the commands for a transparent proxy in it!
https://github.com/rinex20/clash-transparent-proxy-docker/blob/master/entrypoint.sh
Only thing is: I suck at iptables. xD Can someone explain th is one to me perhaps?
#devstr #asknostr #techstr