forked from alibaba/FlexGW
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add client conf file auto package while dial vpn proto settings changed.
- Loading branch information
Showing
3 changed files
with
37 additions
and
3 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
client | ||
dev tun | ||
{% if proto == 'tcp' %} | ||
proto tcp | ||
{% else %} | ||
proto udp | ||
{% endif %} | ||
|
||
# please replace EIP to your real eip address. | ||
remote EIP 1194 | ||
|
||
resolv-retry infinite | ||
pull | ||
nobind | ||
persist-key | ||
persist-tun | ||
comp-lzo | ||
verb 3 | ||
ca ca.crt | ||
cipher AES-128-CBC | ||
auth-user-pass |