🗃️ Committing everything that changed 🗃️

rootfs/root/docker/setup/02-packages.sh
rootfs/tmp/etc/bind/named.conf
rootfs/tmp/etc/tor/
rootfs/tmp/var/bind/bind/root.cache
rootfs/tmp/var/bind/root.cache
rootfs/usr/local/etc/docker/init.d/00-named.sh
rootfs/usr/local/etc/docker/init.d/01-tor.sh
rootfs/usr/local/etc/docker/init.d/02-named.sh
This commit is contained in:
casjay
2024-08-30 15:09:36 -04:00
parent afd89369c3
commit c4a98b6043
7 changed files with 653 additions and 0 deletions

View File

@@ -85,6 +85,13 @@ zone "." {
};
# ********** end root info **********
#####################################################################
# ********** begin tor forwarding **********
zone "onion" {
type forward;
forward only;
forwarders { localhost port 9053; };
# ********** end tor forwarding **********
#####################################################################
# ********** begin imports **********
include "REPLACE_ETC_DIR/zones.conf";
# ********** end imports info **********

39
rootfs/tmp/etc/tor/torrc Normal file
View File

@@ -0,0 +1,39 @@
##### Configuration file for a typical Tor user
RunAsDaemon 0
ControlSocketsGroupWritable 1
CookieAuthentication 1
CookieAuthFileGroupReadable 1
HashedControlPassword 16:C30604D1D90F341360A14D9A1048C1DF4A3CA2411444E52EE5B954C01F
##### directiories and files
DataDirectory REPLACE_DATA_DIR
ControlSocket REPLACE_RUN_DIR/control.sock
CookieAuthFile REPLACE_RUN_DIR/control.authcookie
##### logging
Log debug file REPLACE_LOG_DIR/debug.log
Log notice file REPLACE_LOG_DIR/notices.log
##### This section is just for location-hidden services
HiddenServiceDir REPLACE_DATA_DIR/hidden_service/default
HiddenServicePort 80 127.0.0.1:80
##### Server
ControlPort localhost:9051
SOCKSPort localhost:9050
HTTPTunnelPort localhost:9080
##### dns forwarder
DNSPort localhost:9053
AutomapHostsOnResolve 1
AutomapHostsSuffixes .exit,.onion
##### This section is just for relays
#Nickname whateveryouwant
#ContactInfo tor-admin@example.com
#ORPort 443
#Exitpolicy reject *:*
#AccountingMax 100 GBytes
#AccountingStart month 1 00:00
#RelayBandwidthRate 5120 KBytes
#RelayBandwidthBurst 10240 KBytes
#DisableDebuggerAttachment 0
#HardwareAccel 1

View File

@@ -0,0 +1,9 @@
###
TorAddress 127.0.0.1
TorPort 9050
#OnionAddrRange 127.42.42.0/24
#SOCKS5Username <username>
#SOCKS5Password <password>
AllowInbound 1
AllowOutboundLocalhost 0
IsolatePID 0