Jump to content
Not connected, Your IP: 3.239.15.46

Recommended Posts

Hi!

How can I setup proxies for a containers addon in firefox to work with Tunnelblick on mac? My top goal to be able to use defferent airvpn servers within firefox. If it is possible.

Thanks.

Share this post


Link to post
2 hours ago, salynskii said:

If it is possible.


The simple answer is: It's not.

The complicated one: It should be possible with a good amount of tweaking and config.
  • You'd need to setup multiple instances of OpenVPN, all of which don't alter the default route of the system.
  • Then somehow bind multiple instances of Firefox (or its worker processes) to the different tunnel interfaces of the system. Thing is, Firefox doesn't create workers for each tab you open. It's something I've seen Chromium and Opera do but I've not observed Firefox doing this (it creates workers, but not per-tab).
  • Despite all that, there's the question of DNS servers, of which you now have as many as there are OpenVPN instances + the system ones. You can't tell one tab to use one and a second tab to use another, that setting is global to my knowledge.
You can do this with proxy servers, though. But AirVPN doesn't offer them.

NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

I think a terminology issue is involved here as well. It's important to understand that Firefox containers are just cookie jars, not Docker (or equivalent) virtual machines. The software industry has slipped into using "container" to refer to two completely different and unrelated things. 

Share this post


Link to post
@Anarchy-X Open Sourcerer's last sentence. Firefox Containers are tightly integrated with the MozillaVPN (a rebranding of Mullvad), so each container has a separate proxy server setting. This can be achieved manually in 2 ways:
  • Generic VPN with multiple connections like AirVPN: custom VPN configs + multiple local proxy servers running -> manually configure container proxy settings
  • A VPN that supports proxy connections -> manually configure container proxy settings
If you want the convenience and the container separation, that goes beyond "separating cookie jars" as @SurprisedItWorks put it so well, you'll have to use MozillaVPN. Imho separate containers with unique IP per container is a very advanced solution for ad tracking privacy. It won't help you against sophisticated browser fingerprinting, however (browser settings and extensions are very fingerprintable, but who knows how widely that method is used?).

Share this post


Link to post

I am using multiple AirVPN servers with the following steps.
And EdgeRouter can configure a kill switch if his AirVPN server goes down.

Overview:

1. Configure Policy-Based Routing in EdgeRouter.
    The WAN interface constitutes a tunnel (vtunX) to multiple AirVPN servers.

    EdgeRouter - Policy-Based Routing - Ubiquiti Support and Help Center
    https://help.ui.com/hc/en-us/articles/204952274-EdgeRouter-Policy-Based-Routing

2. Configure the ipset option in Dnsmasq.

    Dnsmasq Ipset | Ubiquiti Community
    https://community.ui.com/questions/Dnsmasq-Ipset/738d0e0d-9e9f-4808-8e8c-0795275fb847

3. Configure the server option in Dnsmasq.
    This option allows you to specify a different DNS server for each domain.

4. Add Firefox Multi-Account Containers.
    Configure different containers for each domain.

    Firefox Multi-Account Containers - Get this Extension for Firefox (en-US)
    https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/

Example:

Domain (FQDN)
Container name
DNS server
AirVPN server

www.amazon.de
Geography DE
10.4.0.1 (AirVPN)
Adhara (Germany)

www.amazon.co.uk
Geography UK
1.1.1.1 (Cloudflare)
Alathfar (United Kingdom)

www.amazon.com
Geography US
8.8.8.8 (Google)
Acamar (United States)
 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...