You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello ipsec!
In my vpn connection to hackthebox the ip of the vpn is not shown in the prompt.
This command does not return anything ps -ef | grep -i 'openvpn [eu|au|us|sg]'|tail -1| rev| awk '{print $1}'|rev |sed 's/\..*$//g'
If I change it to cat ~/htb/lab_ktulu.ovpn | grep "remote" | cut -d " " -f 2 | cut -d "." -f 1 | cut -d "-" -f 2- works fine for me but when I disconnect from the vpn it does not show me the ip of ens33.
Greetings and thanks.
Before
After
The text was updated successfully, but these errors were encountered:
I'll figure out a way to improve it. I'm guessing the issue is the vpn file name, typically I name my VPN's <$server>.ovpn. I'm guessing if you renamed your vpn file to be: eu-vip-28.ovpn then it would work.
Hello ipsec!
In my vpn connection to hackthebox the ip of the vpn is not shown in the prompt.
This command does not return anything
ps -ef | grep -i 'openvpn [eu|au|us|sg]'|tail -1| rev| awk '{print $1}'|rev |sed 's/\..*$//g'
If I change it to
cat ~/htb/lab_ktulu.ovpn | grep "remote" | cut -d " " -f 2 | cut -d "." -f 1 | cut -d "-" -f 2-
works fine for me but when I disconnect from the vpn it does not show me the ip of ens33.Greetings and thanks.
Before
After
The text was updated successfully, but these errors were encountered: