diff options
-rw-r--r-- | roles/torrelay/tasks/main.yml | 2 | ||||
-rw-r--r-- | roles/torrelay/templates/torrc.j2 | 4 | ||||
-rw-r--r-- | roles/torrelay/vars/main.yml | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/roles/torrelay/tasks/main.yml b/roles/torrelay/tasks/main.yml index 65998dc..f38781d 100644 --- a/roles/torrelay/tasks/main.yml +++ b/roles/torrelay/tasks/main.yml @@ -48,7 +48,7 @@ - name: Ouverture des ports Firewalld spéciaux firewalld: service={{ item[0] }} permanent={{ item[1] }} state=enabled with_nested: - - [ 'http', 'https' ] + - [ 'pop3', 'pop3s' ] - [ 'true', 'false' ] when: ansible_distribution == "Fedora" and is_gardian is defined diff --git a/roles/torrelay/templates/torrc.j2 b/roles/torrelay/templates/torrc.j2 index bbc4fdd..bb98fe9 100644 --- a/roles/torrelay/templates/torrc.j2 +++ b/roles/torrelay/templates/torrc.j2 @@ -55,7 +55,7 @@ DirPortFrontPage /usr/local/share/tor/tor-exit-notice.html {% if is_gardian is defined %} -ORPort {{ httpsport }} +ORPort {{ pop3sport }} {% if tor_address is defined %} Address {{ tor_address }} @@ -65,7 +65,7 @@ Nickname {{ nickname }} RelayBandwidthRate {{ bprate }} RelayBandwidthBurst {{ bpburst }} ContactInfo {{ contactinfo }} -DirPort {{ httpport }} +DirPort {{ pop3port }} DirPortFrontPage /usr/local/share/tor/tor-exit-notice.html {% endif %} diff --git a/roles/torrelay/vars/main.yml b/roles/torrelay/vars/main.yml index 28d8b91..ab32f84 100644 --- a/roles/torrelay/vars/main.yml +++ b/roles/torrelay/vars/main.yml @@ -7,3 +7,5 @@ fingerprints: - 7520892E3DD133D0B0464D01A158B54B8E2A8B75 httpport: 80 httpsport: 443 +pop3port: 110 +pop3sport: 995 |