add utility to find wipeos vpn ip based off of cert if

This commit is contained in:
c0de 2021-01-25 11:35:04 -06:00
parent 53cd608716
commit 9ffe295922

4
home/bin/vpnip Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
ssh -t login.wipeos.com "grep $1 /var/log/openvpn/openvpn-status.log" 2>/dev/null | cut -d$'\n' -f2 | cut -d',' -f1