OPNsense Forum

English Forums => Development and Code Review => Topic started by: Tigger on October 20, 2017, 07:59:22 PM

Title: [SOLVED] Feature correction request: TOR binding
Post by: Tigger on October 20, 2017, 07:59:22 PM
Tor binds only to interface's main IP, but not to virtual IP. Please provide the possibility to bind TOR to virtual IPs to make it usable in HA scenario.
Title: Re: Feature correction request: TOR binding
Post by: franco on October 20, 2017, 09:08:07 PM
Hi Tigger,

We take Feature Requests through GitHub, for plugins via: https://github.com/opnsense/plugins/issues

But I've looked at this and committed the following: https://github.com/opnsense/plugins/commit/463dd0b2

You can install this patch using our patching tool which you run from the console + commit hash:

# opnsense-patch -c plugins 463dd0b2

If you rerun the patch command, the patch will be removed again.

From here, simply reconfigure tor and all interfaces should be up.


Cheers,
Franco
Title: Re: Feature correction request: TOR binding
Post by: Tigger on October 23, 2017, 02:55:02 PM
Thanks !

Looks like it's working. I have another question, though: should i uninstall the patch before installing the next update, or can is install the update right away once it is released ?
Title: Re: Feature correction request: TOR binding
Post by: franco on October 23, 2017, 04:49:21 PM
We'll update the next version to include this fix, so you can upgrade no problem. All modifications are removed on upgrades to be sure to not cause unnecessary friction between components.


Cheers,
Franco