On 10/31/2018 03:06 PM, entiosis via qubes-users wrote:
> 1) I’ve successfully managed to set up a “ProxyVM” (or “AppVM” as it is called in Qubes 4.0) to run as VPN gateway with Private Internet Access (PIA)/Openvpn by following the guide in qubes documentation;
https://www.qubes-os.org/doc/vpn/ and
https://www.youtube.com/watch?v=K1_zqT7_N7k
> PIA provides 33 gateways around the world to choose from, what I wonder is; how can I (easily) change and choose the various gateways of the sys-vpn (ProxyVM) as I normally can when directly using PIA? I may need to make my IP appear to come from one specific country, or have the desire to change from which country I’ve been connected to after a while. Also, can the ProxyVM be set to make gateway connections at random?
It would not be too hard to write a shell script that shows all the ovpn
files in the /rw/config/vpn dir and lets you pick one. Then simply link
('ln -s') the chosen ovpn file to "openvpn-client.ovpn". Finally, tell
openvpn to (re)start. It also wouldn't be too hard to do this manually
if you don't change locations very frequently.
>
> 2) The Qubes doc mention that if I want to be able to use the Qubes Firewall I should create a new Firewall VM. How do I actually create a Firewall VM that uses Qubes Firewall? I assume there must be a different process than a normal “create new qube”.
> Also, is it actually needed to add a firewall behind the VPN? AppVM → sys-vpn-firewall → sys-vpn → sys-firewall → sys-net, it just seems like a overly long line to me.
A Debian or Fedora AppVM created with "provides network" is by default a
Qubes firewall. But it is unnecessary to stack them so extensively in
Qubes 4.0. If your VPN provider uses verification certificates (most do)
then all you probably need is AppVM -> sys-vpn -> sys-net. If you wish
to add firewall rules to protect an AppVM you can do so on the Firewall
tab of the AppVM's settings; in my example sys-vpn will then act on
those rules and in your example sys-vpn-firewall would act on them.
>
> 3) The “Autorefresh” button in Qube Manager have magically disappeared from the tool bar. Its supposed to be located in Dom0 Qube Manager, to the right of the three icons; Global Setting → Backup Qubes → Restore Qubes From Backup → “Missing” Qube Refresh.
> Is there any fairy dust I can sprinkle on the terminal in dom0 to make that button reappear?
Wish I could help you there. QM has been in a lot of flux for the past year.
>
> Please keep in mind that I'm a newbie Qubes user and a fairly new Linux (Mint) user of just a couple of years if/when you of you reply to these questions.
>
--
Chris Laprise,
tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB 4AB3 1DC4 D106 F07F 1886