Last active
October 21, 2017 00:49
-
-
Save onokatio/e86bae80fde6f3365963363d871479bf to your computer and use it in GitHub Desktop.
LinuxでVPN Gate(闇の力)をもっと簡単に使おう ref: http://qiita.com/onokatio/items/1e679ecd36b72b249527
This file contains hidden or 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
| $ sudo cp ./vpngate-client.service /etc/systemd/system/vpngate-client.service | |
| $ sudo systemctl daemon-reload |
This file contains hidden or 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
| $ sudo systemctl start vpngate-client.service | |
| $ sudo systemctl enable vpngate-client.service |
This file contains hidden or 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
| $ sudo ./setup-client.sh -s vpngate-server.com:443 -b VPN -u user1 | |
| パスワード : ******** | |
| 確認入力 : ******** |
This file contains hidden or 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
| Usage: setup-client.sh [-h] [-s <server:port>] [-b <HUB>] [-u <USERNAME>] [-f] | |
| -h このヘルプを表示 | |
| -s <server:port> VPNサーバーのアドレスとポートを指定 | |
| -b <hub> VPNのハブの名前を指定(大体の場合は'VPN') | |
| -u <username> VPNのユーザー名 | |
| -f 既にVPNの設定があっても、それを削除して強制的に再登録する。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment