28 lines
751 B
Plaintext
Raw Normal View History

2021-06-09 17:43:44 -05:00
commands:
00_install_epel:
2021-06-09 18:01:53 -05:00
command: 'sudo amazon-linux-extras install epel'
01_install_tor:
2021-06-10 13:36:31 -05:00
command: 'sudo yum install -y tor'
2022-07-12 12:36:58 -05:00
02_sn_onion:
command: "sudo install -d -m 700 -o toranon -g toranon /var/lib/tor/sn"
2021-06-10 13:36:31 -05:00
files:
"/etc/tor/torrc":
mode: "000644"
owner: root
group: root
content: |
2021-06-10 13:50:43 -05:00
HTTPTunnelPort 127.0.0.1:7050
SocksPort 0
2022-09-06 12:07:12 -05:00
Log info file /var/log/tor/info.log
2022-07-12 11:40:44 -05:00
HiddenServiceDir /var/lib/tor/sn/
HiddenServicePort 80 127.0.0.1:443
2021-06-10 13:45:50 -05:00
services:
sysvinit:
tor:
enabled: "true"
ensureRunning: "true"
files:
- "/etc/tor/torrc"
packages:
yum:
tor