clowwindy / ShadowVPN

Removed according to regulations.
1.47k stars 1.06k forks source link

Fix and improve config and script files for both Linux and Windows #134

Closed cdpwdmp closed 9 years ago

cdpwdmp commented 9 years ago

Linux: Fix tun0 is not up while ShadowVPN starts (both server and client).

Windows: Update tunip and remote_tun_ip to match the recent server config file changes net=10.7.0.0/31. Add concurrency in client.conf.

Fix a problem that Windows 10 wont use VPN's DNS server (this even happens with Microsoft's PPTP, I dont know if it's intentional), Windows 10 will always use the Ethernet's DNS server, so we can set DNS for orig_intf in client_up.bat and restore it to DHCP in client_down.bat, same as intf.

Update intf and orig_intf, use the default interface name of Windows 8.1 and Windows 10 English version.