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.
Moderator: Forum moderators
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.
@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
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.gzwizard
Very nice indeed. Thanks!
Governor
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.
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}'}
KL
PUPPY LINUX Simple fast free
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
Trapster wrote: Tue Nov 12, 2024 2:03 pmFor 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
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
Trapster wrote: Thu Nov 14, 2024 1:54 pmQuick 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.
Governor