Linux使用wget下载JDK

0
wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2Ftechnetwork%2Fjava%2Fjavase%2Fdownloads%2Fjdk-7u3-download-1501626.html;" http://download.oracle.com/otn-pub/java/jdk/7u11-b21/jdk-7u11-linux-x64.tar.gz

参考: https://forums.oracle.com/forums/thread.jspa?messageID=10563534

GoAgent ipv6 hosts’ value

0

Query following IPv6 address for google appengine server by using following IPv6 DNS

Google Public DNS

2001:4860:4860::8888

OpenDNS IPv6
2620:0:ccc::2

Hurricane Electric DNS
nameserver 2001:470:0:45::2

 

If original IPv6 hosts not work in your network, try using following list

[google_ipv6]
mode = http
hosts = 2a00:1450:4013:c00::8d|2404:6800:4008:c01::8d|2a00:1450:4013:c00::8b|2a00:1450:4013:c00::2f|2404:6800:4004:802::1003|2404:6800:4004:802::100a|2a00:1450:4013:c00::84|2607:f8b0:4002:c03::8d|2607:f8b0:4002:c04::84|2607:f8b0:4002:c04::52|2404:6800:4008:c01::52
sites = .google.com|.googleusercontent.com|.googleapis.com|.google-analytics.com|.googlecode.com|.google.com.hk|.googlegroups.com
forcehttps = groups.google.com|code.google.com|mail.google.com|docs.google.com|profiles.google.com|developer.android.com
withgae =
withdns =

 

OpenVPN Over HTTP Proxy

0

长城防火墙增强了openvpn的干扰功能,在Openvpn外面再加上一个轻量级的web proxy会使VPN更强健,并且免受干扰。同时轻量级的web proxy对速度影响有限。

本实验基于Debian 6 vps,其他Linux请修改对应命令

Web proxy采用的是polipo,Polipo是一个小而高速的proxy软件,专门针对个人或者小组使用。如果需要强劲的proxy软件,可以采用Squid等

命令如下:

安装Polipo

apt-get install polipo

修改Polipo的配置文件,在文件尾部加上如下配置,TCP端口8123,侦听本地1194端口(Openvpn服务端口,只支持TCP协议),并设置http basic验证账号及密码。

cat >> /etc/polipo/config <<EOF
proxyAddress = "0.0.0.0"
proxyPort = 8123
authCredentials = "nsshell-user:nsshell.com-password"
tunnelAllowPorts = 1194
EOF

重启polipo服务

/etc/init.d/polipo restart

OpenVPN服务端只需要设置为TCP协议模式,端口1194,无其他额外修改。

[wp_ad_camp_3]

OpenVPN客户端需要加上如下设置,其中password.txt是上面设置的用户名密码文件,用户名和密码各占一行。

remote 127.0.0.1 1194http-proxy nsshell.com 8123 passowrd.txt
http-proxy-retry

 

架设基于StrongSwan的L2tp/IPSec VPN服务器

8

参考: http://agit8.turbulent.ca/bwp/2011/01/setting-up-a-vpn-server-with-ubuntu-1004-and-strongswan/

以下操作基于Debian 6

安装StrongSwan

apt-get install libgmp3-dev libssl-dev make
cd /tmp
wget http://download.strongswan.org/strongswan-4.6.2.tar.gz
tar zxvf strongswan-4.6.2.tar.gz
cd /tmp/strongswan-4.6.2
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --with-ipsecdir=/usr/lib/strongswan --enable-cisco-quirks --enable-openssl --enable-nat-transport --disable-mysql --disable-ldap --disable-static --enable-shared --enable-eap-mschapv2 --enable-eap-radius --enable-eap-md5 --enable-dhcp
make
make install

(更多…)

在Debian上架设高质量的OpenVPN服务器

2

以下操作是在纯净的Debian 6上完成,其他平台请参考对应命令参数

本文操作基于Hostigation.com的KVM VPS,纯净Debian 6 32bit(64bit类似,适用于内存较大机器)安装所选软件包只有SSH Server。推荐使用hostigation的256M及以上的VPS,联通网络速度理想。电信未知。

(更多…)

Take Action: Add your voice to your government

0

https://www.google.com/takeaction/

A free and open world depends on a free and open Internet. Governments alone, working behind closed doors, should not direct its future. The billions of people around the globe who use the Internet should have a voice.“

Add IPv6 support to my home PC

1

I am using China Union ISP service to internet with an ADSL wireless router. The IP address for my home PC is a private address. So the only way to using IPv6 network is using teredo mode.

commands are: (BTW, Windows 7 installed to my PC)

  1. Cleanup exist rules:
    netsh interface ipv6 set teredo disable
    netsh interface ipv6 6to4 set state disable
    netsh interface ipv6 isatap set state disable
  1. Create teredo connection:
    netsh interface ipv6 set teredo enterpriseclient teredo.trex.fi 60 34567
  2. Check result:
    netsh interface ipv6 show teredo

Public teredo server list:

teredo.ipv6.microsoft.com
teredo.remlab.net
teredo2.remlab.net
debian-miredo.progsoc.org
teredo.ginzado.ne.jp
teredo.iks-jena.de

第 3 页,共 3 页123
Go to Top