Skip to content

dan-kir/ansible-debian-11-tor-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-debian-11-tor-relay

Actively Maintained

This role installs and configures Tor as a relay or exit node.

Requirements

Requires Ansible 2.10 or later. This role has only been tested on Debian 11 (Bullseye).

Role Variables

Ports, bandwidth rates and exit policy defined in defaults/main.yml.

Dependencies

Firewalld should be installed and the ansible-debian-11-hardening role is recommended.

Example Playbook

- hosts: all
  become: yes
  become_method: sudo
  roles:
    - ansible-debian-11-hardening
    - ansible-debian-11-tor-relay

Example Inventory

The machine_hostname variable is created for consistency when no DNS record exists

inventory.ini

[servers]
192.168.0.11 ansible_ssh_user=admin machine_hostname=server01

inventory.yml

---
all:
  hosts:
    192.168.0.11:
  vars:
    ansible_ssh_user: admin
    machine_hostname: server01

License

GPL-3.0 License

Author Information

This role was created by Dan Kir

About

Ansible Role - Debian 11 Tor Relay

Topics

Resources

Security policy

Stars

Watchers

Forks

Languages