Created
May 17, 2021 19:32
-
-
Save leotada/752c172426440af9ec3fe4552c47473f to your computer and use it in GitHub Desktop.
connect to .ovpn using openvpn3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Connect | |
openvpn3 session-start --config ~/test.ovpn | |
# List connections | |
openvpn3 sessions-list | |
# Disconnect | |
openvpn3 session-manage --session-path /net/openvpn/v3/sessions/fbd8d1d7s682cs5555sb18bs4c10c18c28ea --disconnect | |
# Enable Split tunneling, add this lines to .ovpn file | |
route-nopull | |
route 192.168.8.1 255.255.255.255 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment