initial commit

this container with NET_ADMIN and NET_RAW privileges is fully inside the
tor router that it spins up.

Which is nice for itself, but then other container can link and use the
network as well.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2024-06-21 14:49:14 -04:00
parent ebc37e3d7e
commit a237673e5c
5 changed files with 107 additions and 0 deletions

10
torrc.default Normal file
View file

@ -0,0 +1,10 @@
#User debian-tor
SocksPort 0.0.0.0:9050
#Log debug stderr
Log warn stderr
DataDirectory /var/lib/tor
DataDirectoryGroupReadable 1
AutomapHostsOnResolve 1
DNSPort 5353
TransPort 9040
VirtualAddrNetworkIPv4 10.192.0.0/10