mirror of
https://github.com/PR0M3TH3AN/VoxVera.git
synced 2025-09-08 06:58:42 +00:00
Fix OnionShare flags
This commit is contained in:
@@ -112,7 +112,9 @@ After installing either way, set the ports used by Tor:
|
|||||||
export TOR_SOCKS_PORT=9050
|
export TOR_SOCKS_PORT=9050
|
||||||
export TOR_CONTROL_PORT=9051
|
export TOR_CONTROL_PORT=9051
|
||||||
```
|
```
|
||||||
Run `voxvera check` to confirm the binaries are detected before launching.
|
These variables let OnionShare connect to the already running Tor using its
|
||||||
|
`--use-running-tor` option. Run `voxvera check` to confirm the binaries are
|
||||||
|
detected before launching.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@@ -11,8 +11,9 @@ This page collects common issues encountered when hosting or accessing flyers.
|
|||||||
The files in `voxvera/resources/tor/*` are not real executables. Install `tor`
|
The files in `voxvera/resources/tor/*` are not real executables. Install `tor`
|
||||||
and `obfs4proxy` yourself (e.g. `apt install tor obfs4proxy`) then set
|
and `obfs4proxy` yourself (e.g. `apt install tor obfs4proxy`) then set
|
||||||
`TOR_SOCKS_PORT` and `TOR_CONTROL_PORT` before running `voxvera serve` or the
|
`TOR_SOCKS_PORT` and `TOR_CONTROL_PORT` before running `voxvera serve` or the
|
||||||
Electron GUI. Running `scripts/download_tor.sh` can also populate the missing
|
Electron GUI. OnionShare uses these values with its `--use-running-tor`
|
||||||
files automatically.
|
argument. Running `scripts/download_tor.sh` can also populate the missing files
|
||||||
|
automatically.
|
||||||
|
|
||||||
## Firewall rules
|
## Firewall rules
|
||||||
- If `voxvera serve` fails to start OnionShare, verify that outbound connections on ports 9001 and 80 are permitted.
|
- If `voxvera serve` fails to start OnionShare, verify that outbound connections on ports 9001 and 80 are permitted.
|
||||||
|
@@ -348,8 +348,7 @@ def serve(config_path: str):
|
|||||||
cmd = [
|
cmd = [
|
||||||
'onionshare-cli', '--website', '--public',
|
'onionshare-cli', '--website', '--public',
|
||||||
'--persistent', str(dir_path / '.onionshare-session'),
|
'--persistent', str(dir_path / '.onionshare-session'),
|
||||||
'--external-tor-socks-port', socks,
|
'--use-running-tor',
|
||||||
'--external-tor-control-port', ctl,
|
|
||||||
str(dir_path)
|
str(dir_path)
|
||||||
]
|
]
|
||||||
proc = subprocess.Popen(cmd,
|
proc = subprocess.Popen(cmd,
|
||||||
|
Reference in New Issue
Block a user