add tor p2p
This commit is contained in:
parent
d97a551b15
commit
f007eab137
|
@ -6,3 +6,4 @@ wownero_bin_dir: "/usr/local/bin"
|
|||
wownerod_path: "{{ wownero_bin_dir }}/wownerod"
|
||||
wownerod_p2p_port: "34567"
|
||||
wownerod_rpc_port: "34568"
|
||||
wownerod_p2p_tor_port: "34566"
|
|
@ -94,6 +94,17 @@
|
|||
slurp:
|
||||
src: /var/lib/tor/wownero/hostname
|
||||
register: onionhost
|
||||
- name: echo onion
|
||||
shell: echo {{ onionhost['content'] | b64decode }}
|
||||
register: onionhostinsert
|
||||
- name: add tor inbound wownerod.conf
|
||||
lineinfile:
|
||||
dest: /etc/wownerod.conf
|
||||
line: "anonymous-inbound={{ onionhostinsert.stdout }}:{{ wownerod_p2p_tor_port }},127.0.0.1:{{ wownerod_p2p_tor_port }},64"
|
||||
notify:
|
||||
- restart wownerod
|
||||
- name: Flush handlers
|
||||
meta: flush_handlers
|
||||
- name: get i2p hostname
|
||||
find:
|
||||
path: /var/lib/i2pd/destinations
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
HiddenServiceDir /var/lib/tor/wownero/
|
||||
HiddenServicePort {{ wownerod_rpc_port }} 127.0.0.1:{{ wownerod_rpc_port }}
|
||||
HiddenServicePort {{ wownerod_rpc_port }} 127.0.0.1:{{ wownerod_rpc_port }}
|
||||
HiddenServicePort {{ wownerod_p2p_tor_port }} 127.0.0.1:{{ wownerod_p2p_tor_port }}
|
Loading…
Reference in New Issue