Openvpn Can Connect Through Proton Vpn Servers

Moderator: Forum moderators

williwaw
Posts: 1950
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 172 times
Been thanked: 369 times

Re: Openvpn Can Connect Through Proton Vpn Servers

Post by williwaw »

wizard wrote: Mon Nov 11, 2024 9:24 pm

@Sofiya

What method and script are you usiing?

Thanks
wizard

Is this thread related to an earlier one where questions were posted about setting up vpn in bookworm which uses conman?

networkmanager is easy to work with if you have it.

User avatar
wizard
Posts: 1984
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2650 times
Been thanked: 692 times

Re: Openvpn Can Connect Through Proton Vpn Servers

Post by wizard »

@williwaw

Is this thread related to an earlier one where questions were posted about setting up vpn in bookworm which uses conman?

Nope

wizard

Big pile of OLD computers

User avatar
Governor
Posts: 883
Joined: Sat Nov 12, 2022 7:11 pm
Location: https://www.heritage.org/voterfraud/
Has thanked: 224 times
Been thanked: 46 times

Re: Openvpn Can Connect Through Proton Vpn Servers

Post by Governor »

wizard wrote: Mon Nov 11, 2024 3:41 pm

@Governor

Can you make it so the current proton connection will automatically close when choosing a new connection?

Try this:
VPN-CONNECT2a.sh.gz

wizard

Very nice indeed. Thanks!
:thumbup2:

Governor

User avatar
Trapster
Posts: 182
Joined: Sat Aug 01, 2020 7:44 pm
Has thanked: 1 time
Been thanked: 54 times

Re: Openvpn Can Connect Through Proton Vpn Servers

Post by Trapster »

For those who like to know where the vpn is connected to(from) without using a browser,
use this in a console:

Code: Select all

curl -s https://ipinfo.io/$(curl -s https://ipinfo.io/ip) | grep city | cut -c 10-

I also use this in conky.

User avatar
Sofiya
Posts: 2279
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1477 times
Been thanked: 1524 times

Re: Openvpn Can Connect Through Proton Vpn Servers

Post by Sofiya »

in Conky

Code: Select all

#=== VPN========================================================================================================================
${voffset 1}${offset 10}${font Arial:normal:size=10}${color #ab0d85}VPN ${color} ──────────────────────────────────────
${voffset 1}${offset 10}${font Roboto:pixelsize=12}${color #aaaaff}External ip:${offset 20}$color${execi 600 curl ifconfig.co 2>/dev/null | tail } \
${voffset 1}${offset 10}${color #aaaaff}Land:${offset 20}$color${execi 300 wget -qO- ipinfo.io 2> /dev/null | grep "country" | awk -F'"' '{print $4}'} \
${voffset 1}${offset 10}${color #aaaaff}Stad:${offset 20}$color${execi 300 wget -qO- ipinfo.io 2> /dev/null | grep "city" | awk -F'"' '{print $4}'} \
${voffset 1}${offset 10}${color #aaaaff}Regio:${offset 20}$color${execi 300 wget -qO- ipinfo.io 2> /dev/null | grep "region" | awk -F'"' '{print $4}'}
Attachments
2024-11-12_19-37.png
2024-11-12_19-37.png (50.33 KiB) Viewed 223 times

KL
PUPPY LINUX Simple fast free

User avatar
spiritwild
Posts: 85
Joined: Wed Jul 22, 2020 1:34 am
Been thanked: 27 times

Re: Openvpn Can Connect Through Proton Vpn Servers

Post by spiritwild »

works with vpngate https://www.vpngate.net/en/ as well I just modified this pet "sonny" posted

POST: viewtopic.php?t=11857

PET:download/file.php?id=24254 Free VPN for FossaPup64 / VPN on/off

hit and miss at times

User avatar
Governor
Posts: 883
Joined: Sat Nov 12, 2022 7:11 pm
Location: https://www.heritage.org/voterfraud/
Has thanked: 224 times
Been thanked: 46 times

Re: Openvpn Can Connect Through Proton Vpn Servers

Post by Governor »

Trapster wrote: Tue Nov 12, 2024 2:03 pm

For those who like to know where the vpn is connected to(from) without using a browser,
use this in a console:

Code: Select all

curl -s https://ipinfo.io/$(curl -s https://ipinfo.io/ip) | grep city | cut -c 10-

I also use this in conky.

How can I use this is a script that I can click on in Rox or on the desktop?
Thanks.

Governor

User avatar
Trapster
Posts: 182
Joined: Sat Aug 01, 2020 7:44 pm
Has thanked: 1 time
Been thanked: 54 times

Re: Openvpn Can Connect Through Proton Vpn Servers

Post by Trapster »

Quick and dirty, something like this will work.

Code: Select all

#!/bin/bash

curl -s https://ipinfo.io/$(curl -s https://ipinfo.io/ip) | grep city | cut -c 10- > /tmp/city.txt

xmessage -center -bg orange -fg black -file /tmp/city.txt
User avatar
Governor
Posts: 883
Joined: Sat Nov 12, 2022 7:11 pm
Location: https://www.heritage.org/voterfraud/
Has thanked: 224 times
Been thanked: 46 times

Re: Openvpn Can Connect Through Proton Vpn Servers

Post by Governor »

Trapster wrote: Thu Nov 14, 2024 1:54 pm

Quick and dirty, something like this will work.

Code: Select all

#!/bin/bash

curl -s https://ipinfo.io/$(curl -s https://ipinfo.io/ip) | grep city | cut -c 10- > /tmp/city.txt

xmessage -center -bg orange -fg black -file /tmp/city.txt

Ahh! Thank you. Works for me. :thumbup:

Governor

Post Reply

Return to “Network/Server”