plugins
plugins copied to clipboard
[os-tor] tor is not able to listen on tailscale interface
Important notices Before you add a new report, we ask you kindly to acknowledge the following:
- [x] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
- [x] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
- [x] The title contains the plugin to which this issue belongs
Describe the bug When tailscale interface is set up under: SERVICES: TOR: CONFIGURATION: Listen Interfaces, SOCKSPort for the interface is not added to /usr/local/etc/tor/torrc and no tor service is listening on the interface.
Tip: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert)
To Reproduce Steps to reproduce the behavior:
- Go to SERVICES: TOR: CONFIGURATION
- Choose tailscale (for example TS1) interface under Listen Interfaces
- Click Apply
- Execute
sockstat -4n | rg tor
- the service is not running for TS1 - Execute
cat /usr/local/etc/tor/torrc
- there's no entry for TS1 itnerface - Edit
/usr/local/etc/tor/torrc
and addSOCKSPort TS1_IP:9050
manually, reload tor service, the service is listening correctly on TS1 IP address
Expected behavior Tor service is listening correctly on TS1 IP address.
Screenshots N/A
Relevant log files N/A
Additional context N/A
Environment OPNsense 24.1.4 os-tor 1.10 AMD Ryzen 7 5700G with Radeon Graphics (4 cores, 4 threads)