用户工具

站点工具


vpn_notes

VPN 笔记

Resource

Types

AnyConnect

AnyConnect supports TLS, DTLS and IPsec IKEv2. IT is deployed with DTLS & TLS at this time.

L2TP

PPTP

Point-to-Point Tunneling Protocol

IPSec

MLPS

PAC

PAC(Proxy Auto-Config,代理自动配置)

sample

function FindProxyForURL( url, host )
{
	url = url.toLowerCase();
	if( shExpMatch( url, "*facebook.com*" ) ||
	shExpMatch( url, "*googlecode.com*" ) ||
	shExpMatch( url, "*twitter.com*" ) ||
	shExpMatch( url, "*youtube.com*" ) ||
	shExpMatch( url, "*wordpress.com*" ) ||
	shExpMatch( url, "*appspot.com*" ) ||
	shExpMatch( url, "*.google.com*" ) )
	{
		return "SOCKS 127.0.0.1:1987";
	}
	return "DIRECT";
}
vpn_notes.txt · 最后更改: 2013/03/14 14:01 由 2ndboy