-
Notifications
You must be signed in to change notification settings - Fork 36
/
client.conf
35 lines (25 loc) · 823 Bytes
/
client.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# ShadowVPN config example for windows
# notice: do not put space before or after "="
# server listen address
server=server_ip
# server listen port
port=1123
# password to use
password=my_password
# server or client
mode=client
# local tunnel ip address (required)
tunip=10.7.0.2
# the MTU of VPN device
# 1492(Ethernet) - 20(IPv4, or 40 for IPv6) - 8(UDP) - 24(ShadowVPN)
mtu=1440
# tun/tap interface name (make sure you have changed this from Network-Setting)
intf=Tun
# the script to run after VPN is created
# use this script to set up routes, NAT, etc
# configuration in this file will be set as environment variables
up=client_up.bat
# the script to run before stopping VPN
# use this script to restore routes, NAT, etc
# configuration in this file will be set as environment variables
down=client_down.bat