顯示具有 Network/Server 標籤的文章。 顯示所有文章
顯示具有 Network/Server 標籤的文章。 顯示所有文章

星期一, 4月 15, 2013

Ubuntu pptp server

1. install pptpd service
sudo apt-get install pptpd

2. iptables rules
-A INPUT -i xyz0 -p tcp -m state --state NEW --dport 1723 -j ACCEPT

-A INPUT -i xyz0 -p gre -j ACCEPT
-A OUTPUT -i xyz0 -p gre -j ACCEPT
-A INPUT -i xyz0 -p tcp --sport 1723 -s xxx.xxx.xxx.xxx -j ACCEPT
-A OUTPUT -i xyz0 -p tcp --dport 1723 -d xxx.xxx.xxx.xxx -j ACCEPT

xyz0 is the out interface.
xxx.xxx.xxx.xxx is the pptp server address

3. /etc/pptpd.conf
modify localip & remoteip

localip xxx.xxx.xxx.xxx
remoteip 192.168.x.51-59

xxx.xxx.xxx.xxx is the pptp server address

4. /etc/ppp/chap-secrets
add one entry for pptpd

# client server secret IP addresses
"user" pptpd "password" *

5. start pptpd service

星期五, 7月 09, 2004

PXE Server setup

pre-requirment:
1. windows 2000 server CD
2. netsetup.exe(download from www.enanshan.com/down)
3. Intel PXE PDK 2.0:pxe-pdk20.exe (download from www.enanshan.com/down)
4. Sage PXE download image(customized by Allen)

Step:
1. windows 2000 server
2. enable DHCP server which built-in in windows 2000 server
3. extract netsetup.exe to temp folder
4. install pxe-pdk20.exe (during install needs files from netsetup.exe)
5. using pxereg60.exe add DHCP option for PXE proxy
6. copy the Sage PXE download image to specify folder.(ex: C:\PROGRAM FILES\INTEL\PXE\PDK\SYSTEM\IMAGES\X86PC\UNDI\DOSUNDI)

Allen

星期四, 6月 17, 2004

PXE for Sage XPe image deploy

1. XPe Server enviroment
1-1. DHCP Server
1-2. PXE option
1-3. .0 bootstrap prepare

2. XPe client OS prepare
2-1. linux kernel (.1)
2-2. linux initrd (.2)
2-3. SAMBA mount implement
2-4. automatic download script
2-5. progress bar implement

3. Integration testing

work around:
1. using DOS boot image to be the PXE download image.
2. need a hard drive sector dump tools.
3. security improve.(ex: security key function implemnet)


Allen