VPN Disconnects when Qubes goes to sleep (and does not reconnect when coming out of sleep)?
46 views
Skip to first unread message
Gaiko Kyofusho
unread,
Jun 12, 2017, 10:31:44 PM6/12/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to qubes...@googlegroups.com
I have sucessfully setup a VpnVM that is working nicely, if the computer doesn't go to sleep, but if it goes to sleep or I close the lid (notebook) etc then when I open it back up it does not automatically reconnect? The wifi reconnects and I can use VMs that aren't connecting to the net via the VPN (ie just through the firewall) but I have to restart the VpnVM to use the VMs that are using the VpnVM.
Thoughts?
Andrew Morgan
unread,
Jun 12, 2017, 10:38:53 PM6/12/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
Did you follow the "Set up a ProxyVM as a VPN gateway using iptables and
CLI scripts" section of the Qubes VPN docs
(https://www.qubes-os.org/doc/vpn/ )?
If so you should be good just to execute the `/rw/config/rc.local` file
on your VPN VM after every suspend either manually, through a keyboard
shortcut (which I do personally with the following command):
qvm-run -i root sys-vpn "/rw/config/rc.local"
or perhaps automatically through a systemd service.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Gaiko Kyofusho, qubes...@googlegroups.com
These sorts of questions come up quite often.
For me, I don't want my Qubes to be automatically trying to connecting
to anything, wifi or vpn. So NOT working when it comes out of sleep is
a positive feature for me.
I travel a lot - the last thing I want is for Qubes to start spewing
information about the nodes and VPNs that I connect to.
Think of this (minor) inconvenience as another brick in the wall of
privacy.
unman
Gaiko Kyofusho
unread,
Jun 20, 2017, 3:07:43 PM6/20/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Unman, qubes...@googlegroups.com
I completely hadn't thought of it that way. Well in that case I will indeed consider it a feature :) and refocus on more easily restarting it (an older post this group has already begun to help me with).