removing onionshare completly

Added onion-grater profile on gateway with

sudo onion-grater-add 40_onionshare

how to remove that profile ? from gateway ?

will reverse instalation steps on workstation by removing line EXTERNAL_OPEN_PORTS+=" $(seq 17600 17659) "
from /usr/local/etc/whonix_firewall.d/50_user.conf
and then apt purge onionshare


Remove Profile

sudo onion-grater-remove 40_onionshare

Thanks @Patrick you so so much for your kind time and reply to noobs like me you are an asset for community … may you have bless and healthy life

on workstation user firewall config i had added line :- EXTERNAL_OPEN_PORTS+=" $(seq 17600 17659) "
sudoedit /usr/local/etc/whonix_firewall.d/50_user.conf
but there no user config at path ==> /usr/local/etc/whonix_firewall.d/

also 50_user_config at /etc/whonix_firewall.d/ is empty

it means that permission was not added in firewall before ?

i have followed wiki and added that permission by sudoedit and even by gui user ifrfewall settings
i think thats why onionshare was not working perfectly because there was no entery in /etc/whonix_firewall.d/ 50_user_config

1 Like

Yes. If it’s not there, then it’s not there.

You probably forgot the mkdir ... command mentioned in documentation.

directory is there but every time file open in /var/tmp with sudoedit

can i add direct permission entery in /etc/whonix_firewall.d/50_user_config instead of /usr/local/etc/whonix_firewall.d/

This is expected and doesn’t mean the edit does not arrive in the correct file. To verify that, run:

cat /path/to/file/name


…unless you are using a Qubes App Qube. If you don’t know what that is, then this doesn’t apply to you.

1 Like

Alright i am not using qubes i am using VB workstation