Closed mad-ady closed 2 years ago
@mad-ady yes you can do that in #68. Create a config:
$ cat ~/.config/brotab/brotab.env
HTTP_IFACE=0.0.0.0
Then you can see in the logs:
env.py:29:load_dotenv Loading .env file: /home/bz/.config/brotab/brotab.env
I'd like to integrate a Firefox instance that runs remotely (on my work PC) with rofi and brotab. I've used the following guide to integrate a local Firefox instance with brotab and rufi (http://adrianpopagh.blogspot.com/2020/12/quick-launcher-with-firefox-tabs-rofi.html), and I'm trying to see how to query the remote brotab instance.
I can see that brotab supports a
--target
option that takes an IP and port. Couldn't find the value for the port, but I could find it like this:The problem (for me) is that it's bound to 127.0.0.1, and not to 0.0.0.0 (which I suspect is a security issue if left unfirewalled)...
I can do ssh port forwarding and it works:
But that would require me to do port forwarding always and keep a ssh open.
My question is - how can I convince brotab to bind to 0.0.0.0 instead of 127.0.0.1? I'll do iptables filtering to keep my tab data private. Thanks for the project!