Remove tor, looks sketchy
This commit is contained in:
parent
c2d3de16c8
commit
500bb81a0d
12
net.yml
12
net.yml
@ -2,28 +2,17 @@
|
||||
- hosts: net
|
||||
vars:
|
||||
file:
|
||||
- { path: '/etc/tor', owner: 'root', group: 'root', mode: '600', state: directory }
|
||||
- { path: '/etc/wireguard', owner: 'root', group: 'root', mode: '600', state: directory }
|
||||
apt:
|
||||
packages:
|
||||
- { package: "tor", state: present }
|
||||
- { package: "wireguard-tools", state: present }
|
||||
- { package: "wireguard", state: present }
|
||||
systemd:
|
||||
services:
|
||||
- { name: "tor@default", enabled: true, action: restarted }
|
||||
- { name: "wg-quick@wg0", enabled: true, action: restarted }
|
||||
firewall:
|
||||
- { port: "{{ wireguard.port }}", ipv: "v4", proto: "tcp" }
|
||||
- { port: "{{ wireguard.port }}", ipv: "v6", proto: "tcp" }
|
||||
tor:
|
||||
listen:
|
||||
socks:
|
||||
addr: "127.0.0.1"
|
||||
port: 9050
|
||||
http:
|
||||
addr: "127.0.0.1"
|
||||
port: 7050
|
||||
wireguard:
|
||||
interface: 'wg0'
|
||||
port: 51820
|
||||
@ -51,6 +40,5 @@
|
||||
- file
|
||||
- apt
|
||||
- wireguard
|
||||
- tor
|
||||
- systemd
|
||||
- firewall
|
||||
|
@ -1 +0,0 @@
|
||||
Subproject commit 08b24e8362e1c5b054604d536c288aa448f994eb
|
Reference in New Issue
Block a user