|

楼主 |
发表于 2009-6-13 13:04:04
|
显示全部楼层
For first question, I found this http://wiki.debian.org/iptables. 
For the second, I habe been installed ntp and edited the ntp.conf file.
- [b]cat /etc/ntp.conf[/b]
- server 137.189.11.180 prefer
- server 137.189.11.181 prefer
- server 137.189.11.128 prefer
- server 61.129.66.79
- server 218.75.4.130
- server 218.21.130.42
- restrict default nomodify notrap noquery
- restrict 127.0.0.1
- restrict 137.189.11.180 mask 255.255.255.255 nomodify notrap noquery
- restrict 137.189.11.181 mask 255.255.255.255 nomodify notrap noquery
- restrict 137.189.11.128 mask 255.255.255.255 nomodify notrap noquery
- restrict 61.129.66.79 mask 255.255.255.255 nomodify notrap noquery
- restrict 218.75.4.130 mask 255.255.255.255 nomodify notrap noquery
- restrict 218.21.130.42 mask 255.255.255.255 nomodify notrap noquery
- [b]ntpq -p[/b]
- remote refid st t when poll reach delay offset jitter
- ==============================================================================
- *postman.itsc.cu 137.189.11.63 2 u 27 64 377 50.420 -54.686 4.342
- +envelope.itsc.c 137.189.11.63 2 u 36 64 377 50.509 -57.062 2.860
- ihome.cuhk.edu. .STEP. 16 u - 1024 0 0.000 0.000 0.000
- x61.129.66.79 64.183.55.54 2 u 19 64 377 345.801 -213.07 1.640
- xHshh.org 216.218.192.202 2 u 54 64 337 443.233 -170.46 2.134
- 218.21.130.42 .STEP. 16 u - 1024 0 0.000 0.000 0.000
复制代码 |
|