Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- cd path/to/.ovpn/file
- username="OVPNlogin"
- password="OVPNpass"
- /usr/bin/expect << EOF
- spawn openvpn nl-free-01.protonvpn.com.tcp443.ovpn
- expect "Enter Auth Username: "
- send "$usernamer"
- expect "Enter Auth Password:
- "send "$passwordr"
- expect "$"
- EOF
Add Comment
Please, Sign In to add comment