anoncat:
I am using OpenVPN and the riseup VPN server for the sake of testing, following the documentation (https://www.whonix.org/wiki/Tunnels/Connecting_to_a_VPN_before_Tor) + (https://www.whonix.org/wiki/Tunnels/Examples#Examples_of_setting_up_VPNs_to_work_with_Whonix)
How to add the VPN in Whonix-Gateway
After installing Whonix-Gateway, do the following steps before activating Tor in Whonix Setup Wizard.
However I don’t have any internet connection if I don’t follow the Whonix Setup Wizard, which won’t allow me to connect to the VPN server.
Whonix Setup Wizard really only removes the #
in front of
DisableNetwork 0
in /etc/tor/torrc
. No other magic. So this
causality is very unlikely.
[The idea is, you set up the VPN first without Tor trying any
connections, and once that works, you enable Tor. Then Tor goes through
the VPN.]
When I however follow the Whonix Setup Wizard in order to get a valid internet connection and run this command to connect to the VPN
sudo openvpn --client --dev tun --auth-user-pass --remote seattle.vpn.riseup.net 1194 --ca RiseupCA.pem
It throws the following error.
TCP/UDP: Socket bind failed on local address [undef]: Address already in use
Exiting due to fatal error
I can’t find any additional information in the system log
That openvpn command line doesn’t output more than that?
seattle.vpn.riseup.net
Can’t use DNS names on the gateway. Can’t use seattle.vpn.riseup.net as
DNS name. You need to resolve to an IP an use that.
Does that riseup test VPN still work from a workstation? Please test and
report back. We need to rule out that’s still working at all before we
try using it on the gateway.