clowwindy / ShadowVPN

Removed according to regulations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't ShadownVPN run as server on Windows?

Twilightlee opened this issue · comments

I have a Windows Server 2003 with TAP driver installed.

my server.conf

# Server listen address
server=0.0.0.0

# Server listen port
port=55555

password=ce0541aa1baa7fc08716e2bb09cca55e

# Server or client mode
mode=server

# Max source ports. Must be the SAME with client or it won't work properly.
concurrency=1

# MTU of VPN tunnel device. Use the following formula to calculate:
mtu=1432

# Tunnel device name. tunX for Linux or BSD, utunX for Darwin.
intf=tun0

# local tunnel ip address (required)
tunip=10.7.0.8

net=10.7.0.1/16
#up=server_up.bat
#down=server_down.bat
#pidfile=shadowvpn.pid
#logfile=shadowvpn.log

run shadowvpn.exe -c server.conf -v as administrator , it's show below info then exit.

Wed Jan 11 11:45:29 2017 warning: concurrency is temporarily disabled on this version, make sure to set concurrency=1 on the other side 
Wed Jan 11 11:45:29 2017 warning: config key net not recognized by shadowvpn, will be passed to shell scripts anyway 
Wed Jan 11 11:45:29 2017 opening device tun0 

Wed Jan 11 11:45:29 2017 enabling interface 'tun0' 
Wed Jan 11 11:45:29 2017 warning: script not set 
Wed Jan 11 11:45:29 2017 VPN started 
Wed Jan 11 11:45:29 2017 vpn.c:522 sendto: �����������У�������ĵ�ַ��Ч�� 

Wed Jan 11 11:45:29 2017 warning: script not set