Skip to content

Commit

Permalink
add anon .confs
Browse files Browse the repository at this point in the history
  • Loading branch information
nyxnor committed Aug 16, 2022
1 parent f69a93e commit e9ceb2e
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 0 deletions.
44 changes: 44 additions & 0 deletions etc/onionjuggler/anon-gateway.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
## Configuration file for OnionJuggler
##
## DO NOT EDIT THIS FILE!!
##
## This file defines the default service selection as shipped in a
## release. Upgrades of OnionJuggler will modify this file.
##
## To select the service options you desire, please override these
## options in the file /etc/onionjuggler/conf.d/*.conf
##
## DO NOT EDIT THIS FILE!!
##
## Lines that begin with "## " try to explain what's going on. Lines
## that begin with just "#" are disabled commands: you can enable them
## by removing the "#" symbol.
##
## If the variable is empty (var=""), will use the default option.
## Double quote to prevent globbing and word splitting.
## variable="value"
##
# shellcheck disable=SC2034

########## System ##########
operating_system="anon-gateway"
## web: should be on the workstation
onionjuggler_plugin="auth-server,auth-client"
pkg_mngr_install="apt install -y"
openssl_cmd="openssl"
dialog_box="whiptail"
## this variable not used on the debian package
requirements="tor grep sed openssl basez qrencode ${dialog_box}"

########## tor daemon ##########
daemon_control="systemctl"
tor_daemon="tor@default"
tor_user="debian-tor"
tor_conf_user_group="root:root"
## included tor configuration folder, specifically files matching '*.conf'
tor_conf_dir="/usr/local/etc/torrc.d"
## manage its own unique torrc to avoid user manual modification
tor_conf="${tor_conf_dir}/40_onionjuggler.conf"
tor_data_dir="/var/lib/tor"
## pre-confiured ClientOnionAuthDir
tor_data_dir_auth="${tor_data_dir}/authdir"
30 changes: 30 additions & 0 deletions etc/onionjuggler/anon-workstation.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
## Configuration file for OnionJuggler
##
## DO NOT EDIT THIS FILE!!
##
## This file defines the default service selection as shipped in a
## release. Upgrades of OnionJuggler will modify this file.
##
## To select the service options you desire, please override these
## options in the file /etc/onionjuggler/conf.d/*.conf
##
## DO NOT EDIT THIS FILE!!
##
## Lines that begin with "## " try to explain what's going on. Lines
## that begin with just "#" are disabled commands: you can enable them
## by removing the "#" symbol.
##
## If the variable is empty (var=""), will use the default option.
## Double quote to prevent globbing and word splitting.
## variable="value"
##
# shellcheck disable=SC2034

########## System ##########
operating_system="anon-workstation"
## web is the only usable plugin for Workstations
onionjuggler_plugin="web"
pkg_mngr_install="apt install -y"
webserver="nginx"
dialog_box="whiptail"
requirements="grep sed qrencode ${dialog_box} ${webserver}"

0 comments on commit e9ceb2e

Please sign in to comment.