Using Privoxy with openVPN

Problem Description
I am trying to use privoxy while connected to freedom box via openVPN. I don’t know how to add connection in network to have both firewall set as internal and external. If I modify a connection to external I can browse the web with the VPN, but cannot use privoxy and if I set the connection to internal I cannot browse the web while on the VPN.
Steps to Reproduce

  1. Login to FreedomBox.
  2. Install OVPN
  3. Install Privoxy
  4. Add a Network connection firewall to External
  5. Configure Privoxy in browser and try loading a page
  6. Page show The proxy server is refusing connections

Expected Results
I was expected to have both connection active

Actual results
I cannot use VPN and privoxy at the same time

Screenshot

Information

  • FreedomBox version: Debian GNU/Linux 10 (buster) and FreedomBox version 20.0
  • Hardware: CubieTruck
  • How did you install FreedomBox?: downloading stable images from https://freedombox.org
1 Like

@Patate, thank you for detailed report.

We have been discussing this problem recently and considering enabling masquerading on Internal networks as well. We have don’t so yet due to incomplete understanding of the security consequences.

You can try doing this as follows:

firewall-cmd --zone=internal --add-masquerade
firewall-cmd --zone=internal --add-masquerade --permanent

After this, mark your Internet connection as ‘Internal’ zone. Internet browsing over OpenVPN and Privoxy service should both be accessible.

Thank you for the response!
I am using a work-around right now with a raspberry pi and pivpn. I would prefer to use only freedombox, but I don’t want to compromise the security of it. Is there a place where I can follow the progress of this issue so that I know when it’s deemed safe?