Для начала поставил google-go-lang от alienboob
installpkg google-go-lang-1.20.5-i586-1alien.txz
export GOROOT="/usr/lib/go1.20.5/go"
export PATH="${GOROOT}/bin:${PATH}"
скачал bitmask vpn
git clone https://github.com/leapcode/bitmask-vpn
скачал qt installer framework
git clone https://github.com/qtproject/installer-framework
setarch i686 make install
из корня riseup-vpn
пропатчил немного конфиг
diff --git a/providers/vendor.conf b/providers/vendor.conf
index 6eb6a5a..196aaea 100644
--- a/providers/vendor.conf
+++ b/providers/vendor.conf
@@ -1,6 +1,6 @@
[default]
-provider = riseup,riseupbeta
+provider = calyx
[riseup]
@@ -51,13 +51,14 @@ auth = anon
apiURL = https://api.calyx.net:4430/
caURL = https://calyx.net/ca.crt
-infoURL = https://calyx.net/
-tosURL = https://calyx.net/tos
-helpURL = https://calyx.net/support
+infoURL = https://calyxinstitute.org/vpn
+tosURL = https://calyxinstitute.org/legal/terms-of-service
+helpURL = https://calyxinstitute.org/about/contact-us
-geolocationAPI = https://api.black.riseup.net:9001/json
+geolocationAPI = https://menshen.vpn.calyx.dev/json
askForDonations = false
-donateURL =
+donateURL = https://members.calyxinstitute.org/donate
+
[demolib]
и собрал
PROVIDER=calyx make build
cp build/qt/release/calyx-vpn /usr/bin
cp pkg/pickle/helpers/bitmask-root /usr/sbin
cp pkg/pickle/helpers/se.leap.bitmask.policy /usr/share/polkit-1/actions/
chmod +x /usr/sbin/bitmask-root
ну и от пользователя
bash-5.1$ calyx-vpn
qml: flavor: calyx-vpn
QSystemTrayIcon::setVisible: No Icon set
2023/10/03 03:39:20 Client expects anon auth
2023/10/03 03:39:20 Checking for updates...
2023/10/03 03:39:21 Fetching MOTD for riseup.net
2023/10/03 03:39:21 WARN Error fetching json from https://static.riseup.net/vpn/motd.json
2023/10/03 03:39:21 firewall stop
2023/10/03 03:39:21 Fetching gateways ()...
2023/10/03 03:39:21 Error fetching eip v3 json: https://api.black.riseup.net/3/config/eip-service.json
qml: status off
qrc:/components/BoldLabel.qml:15:5: Unable to assign [undefined] to QString
2023/10/03 03:39:31 Getting certificate...
2023/10/03 03:39:31 Fetching certificate to /tmp/leap-1924700394/openvpn.pem
2023/10/03 03:39:31 Post "https://api.black.riseup.net/3/cert": dial tcp: lookup api.black.riseup.net on 192.168.1.1:53: no such host
2023/10/03 03:39:31 ERROR cannot resolve address: api.black.riseup.net
2023/10/03 03:39:31 lookup api.black.riseup.net on 192.168.1.1:53: no such host
2023/10/03 03:39:31 From here, api.black.riseup.net resolves to:
qml: status off
qml: status off
2023/10/03 03:39:33 Successfully did certificate bypass
2023/10/03 03:39:33 Error fetching eip v3 json: https://api.black.riseup.net/3/config/eip-service.json
2023/10/03 03:39:51 Error again fetching eip v3 json: Post "https://198.252.153.107/3/config/eip-service.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
2023/10/03 03:40:03 Error again fetching eip v3 json: Post "https://198.252.153.107/3/config/eip-service.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
2023/10/03 03:40:06 Error fetching eip v3 json: https://api.black.riseup.net/3/config/eip-service.json
2023/10/03 03:40:14 ERROR: could not fetch geolocation: Post "https://api.black.riseup.net:9001/json": dial tcp: lookup api.black.riseup.net on 192.168.1.1:53: no such host
2023/10/03 03:40:14 seems to be initialized...
2023/10/03 03:40:14 Sorting gateways by timezone
2023/10/03 03:40:16 Sorting gateways by timezone
qml: status off
2023/10/03 03:40:18 Error fetching eip v3 json: https://api.black.riseup.net/3/config/eip-service.json
qml: status off
2023/10/03 03:40:48 Error again fetching eip v3 json: Post "https://198.252.153.107/3/config/eip-service.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
2023/10/03 03:41:03 Error fetching eip v3 json: https://api.black.riseup.net/3/config/eip-service.json
2023/10/03 03:41:19 ERROR: could not fetch geolocation: Post "https://api.black.riseup.net:9001/json": dial tcp: lookup api.black.riseup.net on 192.168.1.1:53: no such host
2023/10/03 03:41:19 args passed to bitmask-root: [--tls-cipher DHE-RSA-AES128-SHA --tun-ipv6 --float --auth SHA1 --data-ciphers AES-128-CBC --keepalive 10 30]
2023/10/03 03:41:19 Sorting gateways by timezone
2023/10/03 03:41:19 ERROR: could not fetch geolocation: Post "https://api.black.riseup.net:9001/json": dial tcp: lookup api.black.riseup.net on 192.168.1.1:53: no such host
2023/10/03 03:41:19 Sorting gateways by timezone
2023/10/03 03:41:19 firewall start
2023/10/03 03:41:20 VERB 0
2023/10/03 03:41:20 openvpn start: [--tls-cipher DHE-RSA-AES128-SHA --tun-ipv6 --float --auth SHA1 --data-ciphers AES-128-CBC --keepalive 10 30 --remote 51.15.9.205 80 tcp4 --remote 51.15.9.205 1194 tcp4 --remote 51.158.144.31 80 tcp4 --remote 51.158.144.31 1194 tcp4 --remote 163.172.211.109 80 tcp4 --remote 163.172.211.109 1194 tcp4 --verb 3 --management-client --management 127.0.0.1 6061 /tmp/leap-1924700394/leap-vpn-2936323147 --ca /tmp/leap-1924700394/cacert.pem --cert /tmp/leap-1924700394/openvpn.pem --key /tmp/leap-1924700394/openvpn.pem --persist-tun]
2023/10/03 03:41:20 New connection into the management
2023/10/03 03:41:22 Event: INFO: OpenVPN Management Interface Version 3 -- type 'help' for more info
2023/10/03 03:43:11 Sorting gateways by timezone
2023/10/03 03:43:11 firewall stop
qrc:/components/BoldLabel.qml:15:5: Unable to assign [undefined] to QString
2023/10/03 03:43:12 openvpn stop
qrc:/components/BoldLabel.qml:15:5: Unable to assign [undefined] to QString
2023/10/03 03:43:12 Event: EXITING: init_instance
2023/10/03 03:43:12 Sorting gateways by timezone
2023/10/03 03:43:12 Sorting gateways by timezone
qml: status off
2023/10/03 03:43:15 Getting certificate...
2023/10/03 03:43:15 DEBUG We have a valid cert: /tmp/leap-1924700394/openvpn.pem
2023/10/03 03:43:15 Sorting gateways by timezone
2023/10/03 03:43:15 Sorting gateways by timezone
2023/10/03 03:43:15 ERROR: could not fetch geolocation: Post "https://api.black.riseup.net:9001/json": dial tcp: lookup api.black.riseup.net on 192.168.1.1:53: no such host
2023/10/03 03:43:15 args passed to bitmask-root: [--tls-cipher DHE-RSA-AES128-SHA --tun-ipv6 --float --auth SHA1 --data-ciphers AES-128-CBC --keepalive 10 30]
2023/10/03 03:43:15 Sorting gateways by timezone
2023/10/03 03:43:15 ERROR: could not fetch geolocation: Post "https://api.black.riseup.net:9001/json": dial tcp: lookup api.black.riseup.net on 192.168.1.1:53: no such host
2023/10/03 03:43:15 Sorting gateways by timezone
2023/10/03 03:43:15 firewall start
qml: status off
2023/10/03 03:43:16 VERB 0
2023/10/03 03:43:16 openvpn start: [--tls-cipher DHE-RSA-AES128-SHA --tun-ipv6 --float --auth SHA1 --data-ciphers AES-128-CBC --keepalive 10 30 --remote 163.172.83.106 80 tcp4 --remote 163.172.83.106 1194 tcp4 --remote 51.15.187.53 80 tcp4 --remote 51.15.187.53 1194 tcp4 --remote 51.159.55.86 80 tcp4 --remote 51.159.55.86 1194 tcp4 --verb 3 --management-client --management 127.0.0.1 6061 /tmp/leap-1924700394/leap-vpn-2175255328 --ca /tmp/leap-1924700394/cacert.pem --cert /tmp/leap-1924700394/openvpn.pem --key /tmp/leap-1924700394/openvpn.pem --persist-tun]
2023/10/03 03:43:16 New connection into the management
2023/10/03 03:43:16 Event: INFO: OpenVPN Management Interface Version 3 -- type 'help' for more info
2023/10/03 03:43:16 Event: AUTH
2023/10/03 03:43:16 Sorting gateways by timezone
2023/10/03 03:43:16 Event: ASSIGN_IP: 10.41.0.55
2023/10/03 03:43:16 Event: CONNECTED: 163.172.83.106
2023/10/03 03:43:16 Connected to gateway: vpn07-par.riseup.net
2023/10/03 03:43:16 Sorting gateways by timezone
2023/10/03 03:43:16 Sorting gateways by timezone
Для работы нужно openvpn, qt5