-
AuthorSearch Results
-
Member
Girafenaine
Hello,
I use openvpn on a daily basis on MX Linux – fluxbox, with sysvinit as a init system.
With sysvinit the openvpn service works well. As christophe and symbol I use a .ovpn conf file (for proton vpn free service). But this conf file is in /etc/openvpn and is automatically read by the openvpn service at startup.
Important step : I had to install openresolv (and uninstall resolvconf) to get /etc/resolv.conf file properly handled. This file should either give the DNS server adress, or point to a file that does give it. resolvconf made it in the wrong way for me, which resulted in a non working connection. openresolv makes it properly.
I did not yet try with antiX runit version.
My own additions :
– in /etc/openvpn I have not only one but 4 conf files, 3 of them are disabled with «.disabled» suffix. With a short script, it let me change the protonvpn server (with a fluxbox key combo)
– I made an indicator in my tint2 bar to check whether openvpn service is running (and with which server)
– the vpn is used for the whole system. I wrote another script to open a «naked» broŵser if needed (some websites don’t work through proton VPN). The script uses firejail to launch a (private) browser session in its own network stack, without any vpn. It needs to temporarily switch off openvpn service to be able to connect directly to the web, then launch the «naked» browser session, then switch on openvpn service again. It works very well and can be fully integrated in fluxbox with key combos.
– I use ufw as a firewall and wrote simple rules that ensures that only exiting connections through the vpn are allowed (ufw default deny outgoing, and : ufw allow out on tun0 comment “openvpn global interface”). You have to allow connections to your VPN provider as well (ufw insert 1 allow out to 190.xxx.xxx.xxx port 1194,80,4569,5060,443 proto udp comment “ProtonVPN”). That’s some extra shield, as the openvpn service normally forces every connection through the vpn server.
– I modified the protonVN conf file by adding following lines :#added for the vpn to reset itself when DHCP gives the PC another ip adress persist-remote-ip ipchange "/usr/bin/pkill -USR1 openvpn" #added for the vpn to reset even after a long time without any connection remap-usr1 SIGHUP #following is useless if the vpn server does enable the --keep-alive option, which has the same effect as ping + ping-restart. #Server parameters have priority on those of the client ping 15 ping-restart 32 #added for ease of use auth-user-pass /path/to/passwold/file #added to automatically updates resolv-conf to use vpn DNS server (and back to initial DNS when vpn is closed) #commented out if no use of resolvconf script-security 2 up /etc/openvpn/update-resolv-conf down /etc/openvpn/update-resolv-conf- This reply was modified 3 weeks, 4 days ago by Girafenaine.
Girafenaine
----
Antix 19 - Fluxbox - Live USB stick and frugal / MX 19 - Fluxbox - Dell XPS 7590Membersymbol
I found a way to use openvpn directly.
Install OpenVPN withsudo apt install openvpnThen download the a VPN config from the protonvpn (say jp-free-13.protonvpn.net.tcp.ovpn) and simply run
sudo openvpn --config jp-free-13.protonvpn.net.tcp.ovpn- This reply was modified 3 weeks, 6 days ago by symbol.
- This reply was modified 3 weeks, 6 days ago by symbol.
April 1, 2023 at 9:22 pm #103875In reply to: python3-systemd is not avail on antix
Membersymbol
This post allows me to use protonVPN. Not sure if it relies on systemD though.
https://www.antixforum.com/forums/topic/protonvpn/#post-85047April 1, 2023 at 6:16 am #103799In reply to: python3-systemd is not avail on antix
Member
sybok
Ah, I noticed you intend to install ‘protonvpn’.
There are already some posts regarding this service, please do a search on the main site:
https://www.antixforum.com/forums/search/protonvpn/Perhaps, it will help.
Exploring the page of this product lead me to installation instruction in Debian and Kali Linux (another Debian-based Linux):
https://protonvpn.com/support/official-linux-vpn-debian/
https://protonvpn.com/support/official-linux-vpn-kali/
both explicitly state that ‘systemd’ is a dependency.If that is true and ‘protonvpn’ is a must for you (and it cannot be cheated by thinking ‘systemd’ is installed), then antiX is not the right distribution, perhaps you could try MX Linux and booting into the systemd-version.
April 1, 2023 at 4:36 am #103789Topic: python3-systemd is not avail on antix
in forum SoftwareMembersymbol
I am trying to install protonvpn from apt while I met the error on systemD, does anyone knows how to fix this?
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: python3-protonvpn-nm-lib : Depends: python3-systemd but it is not installable E: Unable to correct problems, you have held broken packages.MemberNoman01
The VPN is ProtonVPN, I was using it on MX Linux with systemd activated. Trying to switch the computer over to antiX.
I’ll look into the options you provided.- This reply was modified 6 months, 1 week ago by Noman01.
September 11, 2022 at 5:11 am #88556In reply to: testing 5.10 kernel
Member
silvioto
Exactly the same problem as before (freeze on the green screen at boot).
here’s my old post: https://www.antixforum.com/forums/topic/kernel-5-10-57-dont-boot-after-update/System: Kernel: 4.9.0-279-antix.1-amd64-smp arch: x86_64 bits: 64 compiler: gcc v: 10.2.1 parameters: BOOT_IMAGE=/boot/vmlinuz-4.9.0-279-antix.1-amd64-smp root=UUID=cd5f7794-611d-415a-b5a9-13f1a59e7a1e ro quiet Desktop: IceWM v: 2.9.9 vt: 7 dm: slimski v: 1.5.0 Distro: antiX-21_x64-full Grup Yorum 31 October 2021 base: Debian GNU/Linux 11 (bullseye) Machine: Type: Desktop Mobo: ASUSTeK model: P5G41T-M LX v: Rev X.0x serial: <superuser required> BIOS: American Megatrends v: 0601 date: 05/11/2010 Battery: Message: No system battery data found. Is one present? Memory: RAM: total: 3.86 GiB used: 864 MiB (21.9%) RAM Report: permissions: Unable to run dmidecode. Root privileges required. PCI Slots: Permissions: Unable to run dmidecode. Root privileges required. CPU: Info: model: Pentium E5200 bits: 64 type: MCP arch: Penryn Yorkfield built: 2008 process: Intel 45nm family: 6 model-id: 0x17 (23) stepping: 6 microcode: 0x60F Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 2 MiB desc: 1x2 MiB Speed (MHz): avg: 1203 min/max: 1203/2500 scaling: driver: acpi-cpufreq governor: ondemand cores: 1: 1203 2: 1203 bogomips: 10002 Flags: acpi aperfmperf apic arch_perfmon bts clflush cmov constant_tsc cx16 cx8 de ds_cpl dtes64 dtherm dts est fpu fxsr ht kaiser lahf_lm lm mca mce mmx monitor msr mtrr nopl nx pae pat pbe pdcm pebs pge pni pse pse36 rep_good sep ss sse sse2 ssse3 syscall tm tm2 tsc vme xtpr Vulnerabilities: Type: itlb_multihit status: KVM: Vulnerable Type: l1tf mitigation: PTE Inversion Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled Type: meltdown mitigation: PTI Type: spec_store_bypass status: Vulnerable Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization Type: spectre_v2 mitigation: Full generic retpoline, STIBP: disabled, RSB filling Type: srbds status: Not affected Type: tsx_async_abort status: Not affected Graphics: Device-1: NVIDIA GK208B [GeForce GT 730] vendor: ASUSTeK driver: nouveau v: kernel non-free: series: 470.xx+ status: legacy-active (EOL~2023/24) arch: Kepler code: GKxxx process: TSMC 28nm built: 2012-18 ports: active: DVI-D-1 empty: HDMI-A-1,VGA-1 bus-ID: 01:00.0 chip-ID: 10de:1287 class-ID: 0300 Device-2: Creative WebCam Vista (VF0330) type: USB driver: ov519 bus-ID: 6-3:2 chip-ID: 041e:405f class-ID: 0000 Display: x11 server: X.Org v: 1.20.11 driver: X: loaded: modesetting unloaded: fbdev,vesa gpu: nouveau display-ID: :0.0 screens: 1 Screen-1: 0 s-res: 1680x1050 s-dpi: 96 s-size: 444x277mm (17.48x10.91") s-diag: 523mm (20.6") Monitor-1: DVI-D-1 model: Philips 220SW serial: <filter> built: 2008 res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2 chroma: red: x: 0.647 y: 0.337 green: x: 0.290 y: 0.604 blue: x: 0.145 y: 0.071 white: x: 0.314 y: 0.329 size: 474x296mm (18.66x11.65") diag: 552mm (21.7") ratio: 16:10 modes: 1680x1050, 1600x1200, 1280x1024, 1440x900, 1152x864, 1024x768, 832x624, 800x600, 640x480, 720x400 OpenGL: renderer: NV106 v: 4.3 Mesa 20.3.5 direct render: Yes Audio: Device-1: Intel NM10/ICH7 Family High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:27d8 class-ID: 0403 Device-2: NVIDIA GK208 HDMI/DP Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:0e0f class-ID: 0403 Sound Server-1: ALSA v: k4.9.0-279-antix.1-amd64-smp running: yes Network: Device-1: Qualcomm Atheros AR8131 Gigabit Ethernet vendor: ASUSTeK driver: atl1c v: 1.0.1.1-NAPI port: ec00 bus-ID: 02:00.0 chip-ID: 1969:1063 class-ID: 0200 IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> IP v4: <filter> scope: global broadcast: <filter> IP v6: <filter> scope: link WAN IP: <filter> Bluetooth: Message: No bluetooth data found. Logical: Message: No logical block device data found. RAID: Message: No RAID data found. Drives: Local Storage: total: 763.85 GiB used: 140.67 GiB (18.4%) SMART Message: Unable to run smartctl. Root privileges required. ID-1: /dev/sda maj-min: 8:0 vendor: Maxtor model: STM3500320AS size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: <unknown> type: HDD rpm: 7200 serial: <filter> rev: MX1A scheme: MBR ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST3320620AS size: 298.09 GiB block-size: physical: 512 B logical: 512 B speed: <unknown> type: N/A serial: <filter> rev: K scheme: MBR Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVDRAM GH22NS50 rev: TN01 dev-links: cdrom,cdrw,dvd,dvdrw Features: speed: 48 multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running Partition: ID-1: / raw-size: 464.78 GiB size: 456.42 GiB (98.20%) used: 54.2 GiB (11.9%) fs: ext4 dev: /dev/sda1 maj-min: 8:1 label: rootantiX21 uuid: cd5f7794-611d-415a-b5a9-13f1a59e7a1e ID-2: /media/storage raw-size: 219.97 GiB size: 219.97 GiB (100.00%) used: 53.4 GiB (24.3%) fs: ntfs dev: /dev/sdb1 maj-min: 8:17 label: storage uuid: 70986C2113066BBE ID-3: /media/windows raw-size: 78.12 GiB size: 78.12 GiB (100.00%) used: 33.07 GiB (42.3%) fs: ntfs dev: /dev/sdb2 maj-min: 8:18 label: windows uuid: 5E26A62B6F9429A6 Swap: Kernel: swappiness: 10 (default 60) cache-pressure: 50 (default 100) ID-1: swap-1 type: partition size: 1000 MiB used: 0 KiB (0.0%) priority: -1 dev: /dev/sda2 maj-min: 8:2 label: N/A uuid: ecbae670-ab9d-49cb-bd17-c9a3e6f508d5 Unmounted: Message: No unmounted partitions found. USB: Hub-1: 1-0:1 info: Full speed or root hub ports: 8 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 Hub-2: 2-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001 class-ID: 0900 Device-1: 2-1:2 info: Chicony Genius LuxeMate i200 Keyboard type: Keyboard,HID driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 1.5 Mb/s power: 100mA chip-ID: 04f2:0402 class-ID: 0300 Hub-3: 3-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001 class-ID: 0900 Device-1: 3-1:2 info: Logitech M-U0007 [Corded Mouse M500] type: Mouse driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s power: 98mA chip-ID: 046d:c069 class-ID: 0301 Hub-4: 4-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001 class-ID: 0900 Hub-5: 5-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s chip-ID: 1d6b:0001 class-ID: 0900 Hub-6: 6-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 Device-1: 6-3:2 info: Creative WebCam Vista (VF0330) type: Video driver: ov519 interfaces: 1 rev: 1.1 speed: 12 Mb/s power: 100mA chip-ID: 041e:405f class-ID: 0000 Hub-7: 7-0:1 info: Super-speed hub ports: 4 rev: 3.0 speed: 5 Gb/s chip-ID: 1d6b:0003 class-ID: 0900 Sensors: System Temperatures: cpu: 34.0 C mobo: 38.0 C gpu: nouveau temp: 48.0 C Fan Speeds (RPM): cpu: 1074 case-1: 0 Power: 12v: 12.51 5v: N/A 3.3v: 3.34 vbat: N/A gpu: nouveau mV: 912.00 Repos: Packages: apt: 1815 lib: 909 Active apt repos in: /etc/apt/sources.list.d/antix.list 1: deb http: //it.mxrepo.com/antix/bullseye/ bullseye main nosystemd nonfree Active apt repos in: /etc/apt/sources.list.d/bullseye-backports.list 1: deb http: //deb.debian.org/debian/ bullseye-backports main contrib non-free Active apt repos in: /etc/apt/sources.list.d/celestia.list 1: deb https: //celestia.space/packages/ buster main Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 1: deb http: //ftp.it.debian.org/debian/ bullseye-updates main contrib non-free Active apt repos in: /etc/apt/sources.list.d/debian.list 1: deb http: //ftp.us.debian.org/debian/ bullseye main contrib non-free 2: deb http: //security.debian.org/ bullseye-security main contrib non-free Active apt repos in: /etc/apt/sources.list.d/mkvtoolnix.list 1: deb [signed-by=/usr/share/keyrings/gpg-pub-moritzbunkus.gpg] https: //mkvtoolnix.download/debian/ bullseye main 2: deb-src [signed-by=/usr/share/keyrings/gpg-pub-moritzbunkus.gpg] https: //mkvtoolnix.download/debian/ bullseye main No active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.list No active apt repos in: /etc/apt/sources.list.d/various.list Processes: CPU top: 5 of 156 1: cpu: 15.6% command: firefox-esr pid: 2305 mem: 181.7 MiB (4.5%) 2: cpu: 13.9% command: firefox-esr pid: 2186 mem: 348.8 MiB (8.8%) 3: cpu: 13.0% command: yad pid: 2529 mem: 28.1 MiB (0.7%) 4: cpu: 4.9% command: firefox-esr pid: 2266 mem: 151.8 MiB (3.8%) 5: cpu: 2.6% command: xorg pid: 1797 mem: 67.2 MiB (1.6%) Memory top: 5 of 156 1: mem: 348.8 MiB (8.8%) command: firefox-esr pid: 2186 cpu: 13.9% 2: mem: 181.7 MiB (4.5%) command: firefox-esr pid: 2305 cpu: 15.6% 3: mem: 151.8 MiB (3.8%) command: firefox-esr pid: 2266 cpu: 4.9% 4: mem: 133.6 MiB (3.3%) command: firefox-esr pid: 2346 cpu: 1.3% 5: mem: 67.3 MiB (1.7%) command: firefox-esr pid: 2435 cpu: 0.0% Info: Processes: 156 Uptime: 5m wakeups: 1 Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: service Compilers: gcc: 10.2.1 alt: 10 Client: IceWM v: 2.9.9 inxi: 3.3.19September 4, 2022 at 9:42 pm #88076In reply to: Questions around AntiX using and old Atom CPU
MemberVincent17
I use a netbook with that processor for reading books and for travel. It has 2GB memory, 1GB swap file, 16GB flash drive, no hard drive. I’ve never noticed any swap usage indicated in conky. Browsing is a little slow but reliable with firefox + ublock-origin. Always hoping for a miracle, I have tried various linuxes and BSDs on that computer, but I always come back to antiX.
Regarding browsers, I had high cpu usage with libbyapp.com book reader, so I experimented with several light browsers before concluding libby was the problem. I tried surf, netsurf, midori, seamonkey, palemoon, ungoogled chromium, otter, falkon, epiphany, but for me none had any advantage over firefox. 32-bit support for palemoon and chromium seems shaky and epiphany won’t run in firejail.
MSI Wind U100, Atom N270 32-bit 1.6GHz single core, Antix-21 base, full-featured encrypted installation with live-usb-maker. jwm-rox, firefox, firejail, protonvpn-cli, qpdf, leafpad, mtpaint; nothing heavy like office, gimp, etc. I don’t think encryption slows anything down other than a small delay after entering the passphrase.
Member
andyprough
I have been connecting to protonvpn by ovpn config files. This is not ideal since you have to pick a server without knowing if it is busy. protonvpn-cli, which can choose the fastest server, depends on systemd. Luckily, some people have made a python application that works like protonvpn-cli. https://github.com/Rafficer/linux-cli-community
$ sudo apt install -y openvpn dialog python3-pip python3-setuptools $ sudo pip3 install protonvpn-cli $ sudo protonvpn init #----------------------# $ sudo protonvpn c -f Connecting to NL-FREE#26 via TCP... Connected!I use it on antiX-21_386-base. I hope this is useful.
Yeah, this is pretty much how I do it on antiX 64 bit. I had not even tried it on 32-bit, it’s good to see that it works there. I get really tired of typing in all the long commands, so I make lots of bash aliases for it. For example, I have bash aliases for the connecting to the fastest local server (“pvf”), for specific local servers (ie, “pvf12” for server #12 in my area), for the fastest server in my favorite foreign country, for making config changes (“pvc”), and for checking the status (“pvs”) and for disconnecting from the service (“pvd”).
And then I combine aliases in crazy ways. For example, check out this alias which uses printf and pipes to automatically configure and connect protonvpn for me:
alias pvfc='printf "4\n1\n" | pvc && printf "5\n1\n" | pvc && pvf && sleep 6 && pvs'What that says is “tell protonvpn config to choose options 4 & 1 for enabling the DNS leak protection”, and then “tell protonvpn config to choose options 5 & 1 to enable the kill switch”, and then “connect to the fastest local server”, and then “tell bash to sleep for 6 seconds while protonvpn connects”, and then “check the status of the vpn connection and print it to the terminal for me”.
Instead of all that, I just type “pvfc”.
There’s more you can do, especially if you want to combine it with randomizing your mac address via the macchanger command, but that gets pretty esoteric. If anyone is interested in learning more you can leave a message here and I’ll be happy to give more advanced stuff.
June 11, 2022 at 6:42 pm #84452Topic: Protonvpn
in forum Tips and TricksMemberVincent17
I have been connecting to protonvpn by ovpn config files. This is not ideal since you have to pick a server without knowing if it is busy. protonvpn-cli, which can choose the fastest server, depends on systemd. Luckily, some people have made a python application that works like protonvpn-cli. https://github.com/Rafficer/linux-cli-community
$ sudo apt install -y openvpn dialog python3-pip python3-setuptools $ sudo pip3 install protonvpn-cli $ sudo protonvpn init #----------------------# $ sudo protonvpn c -f Connecting to NL-FREE#26 via TCP... Connected!I use it on antiX-21_386-base. I hope this is useful.
July 1, 2021 at 2:49 pm #62599In reply to: Proton VPN not working
Member
Xecure
If it woks on MX Linux, it works on antiX:
https://protonvpn.com/support/official-linux-vpn-mx-linux/At the end of that article, you can see:
4. Required dependencies
Our Linux app needs one of the following dependencies installed in order to work. Installing both of these dependencies is not recommended as it may cause problems:
KWallet or
Gnome-keyringSo you may need to install gnome-keyring for it to work.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.July 1, 2021 at 10:19 am #62589Topic: Proton VPN not working
in forum SoftwareMembercobber
Hi guys
Just downloaded and installed ProtonVPN but it’s not working.
Has anyone used this on Antix before?
April 6, 2020 at 1:42 pm #34431Topic: How do I set up ProtonVPN? (antiX-19.2)
in forum SoftwareAnonymous
I would like to know how can I set up OpenVPN and ProtonVPN on antiX 19.2 for use with Connman’s Network Manager with wireless networks.
Can somebody help me out?
-
AuthorSearch Results
Search Results for 'protonvpn'
-
Search Results
-
I am trying to install protonvpn from apt while I met the error on systemD, does anyone knows how to fix this?
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: python3-protonvpn-nm-lib : Depends: python3-systemd but it is not installable E: Unable to correct problems, you have held broken packages.Topic: Protonvpn
I have been connecting to protonvpn by ovpn config files. This is not ideal since you have to pick a server without knowing if it is busy. protonvpn-cli, which can choose the fastest server, depends on systemd. Luckily, some people have made a python application that works like protonvpn-cli. https://github.com/Rafficer/linux-cli-community
$ sudo apt install -y openvpn dialog python3-pip python3-setuptools $ sudo pip3 install protonvpn-cli $ sudo protonvpn init #----------------------# $ sudo protonvpn c -f Connecting to NL-FREE#26 via TCP... Connected!I use it on antiX-21_386-base. I hope this is useful.
Topic: Proton VPN not working
Hi guys
Just downloaded and installed ProtonVPN but it’s not working.
Has anyone used this on Antix before?
I would like to know how can I set up OpenVPN and ProtonVPN on antiX 19.2 for use with Connman’s Network Manager with wireless networks.
Can somebody help me out?