Use aircrack-ng
Author Archives: alfred
Setup a Router using Linux
Procedures of setting a router with cache function are as follows:
Router section:
1. install dnsmasq
2. iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
3. modify /etc/network/interfaces with following lines
auto eth0 static
iface eth0 inet static
address 192.168.18.1
netmask 255.255.255.0
network 192.168.18.0
broadcast 192.168.18.255
4. echo “1” > /proc/sys/net/ipv4/ip_forward or modify /etc/sysctl.conf
5. install pppoeconf for pppoe connection
6. install apache http://fusionstrike.com/2012/installing-apache2-raspberry-pi-debian
Cache session:
1. install squid
2. configure squid.conf
3. iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp –dport 80 -j REDIRECT –to-ports 3128 # http proxy transparency setting
Connecting to other proxy servers for breaking great firewall:
1. configure squid.acl.gfwed.config # used to distinguish which websites need to other proxy servers.
2. configure squid_cache_peers.conf # set which other proxy servers we are connecting to.
3. configure stunnel.conf # set which other proxy servers we are connecting to.
Other proxy server side’s setting is as follows:
1. install squid
2. install stunnel4
3. configure stunnel4.conf
4. create stunnel.pem for stunnel
创业的感觉
生命的意義?What is the meaning of life?
我想我們生命的意義是在于離開世界之前,我們可以為世界帶來什麽正面的貢獻。
I think the meaning of life is that what positive contributions we can bring to this world before we leave it.
永不放棄!Never Give Up!
只要還有呼吸,就還會有希望的 🙂
The hope is still here when we still can breathe 🙂
2012 的第一個目標 The first target in 2012
我一定要在半年內為公司集資100萬!
I have to help my company to raise HKD1,000,000 within 6 months!
相信朋友
有時候簡單相信朋友,會對你有益處的!
What will it be next year?下年會是怎樣的呢?
I never thought what will it be next year in my life except this year. I really wanna know what will it be next year!
我從來沒想過下年會是一個怎樣的境況。我真的很想知道下年會是怎樣的!
Suddenly wanna have an office from HKSTP.
Team spirit is created by sitting together!
Merry Christmas. 今天我的Wii 壞了。
隨它吧。不要介懷!