Remove tor, looks sketchy

This commit is contained in:
Alex 2020-05-29 19:22:01 +02:00
parent c2d3de16c8
commit 500bb81a0d
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 0 additions and 13 deletions

12
net.yml
View File

@ -2,28 +2,17 @@
- hosts: net - hosts: net
vars: vars:
file: file:
- { path: '/etc/tor', owner: 'root', group: 'root', mode: '600', state: directory }
- { path: '/etc/wireguard', owner: 'root', group: 'root', mode: '600', state: directory } - { path: '/etc/wireguard', owner: 'root', group: 'root', mode: '600', state: directory }
apt: apt:
packages: packages:
- { package: "tor", state: present }
- { package: "wireguard-tools", state: present } - { package: "wireguard-tools", state: present }
- { package: "wireguard", state: present } - { package: "wireguard", state: present }
systemd: systemd:
services: services:
- { name: "tor@default", enabled: true, action: restarted }
- { name: "wg-quick@wg0", enabled: true, action: restarted } - { name: "wg-quick@wg0", enabled: true, action: restarted }
firewall: firewall:
- { port: "{{ wireguard.port }}", ipv: "v4", proto: "tcp" } - { port: "{{ wireguard.port }}", ipv: "v4", proto: "tcp" }
- { port: "{{ wireguard.port }}", ipv: "v6", 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: wireguard:
interface: 'wg0' interface: 'wg0'
port: 51820 port: 51820
@ -51,6 +40,5 @@
- file - file
- apt - apt
- wireguard - wireguard
- tor
- systemd - systemd
- firewall - firewall

@ -1 +0,0 @@
Subproject commit 08b24e8362e1c5b054604d536c288aa448f994eb