Clark Connect Enterprise

Page 1

Clarkconnect Enterprise 4.3


! ภภภภภInternet Gateway ) * ClarkConnect Enterprise 4.3 7 8 9: Linux > ?ภ@ Radhat D* 8 9: 8 E 8* ? 9: 9 ?F G H ภI ภภJ @ KL ) ภE) ภภM M K E D ภE) ) H H L >E 8 ภ* M D Kภ8I) @ KL @?M D * KMภKM E) E 8 )ภJM D 9 N @?M D @ KL 8 @ D M E) ? E 8 )ภJM D J @K@ *8I9) * ) @? I) K9 H )O ภ@ ภ@ M D M ภE) G >E )OภJ> M D K P @?N 87 8 ? E ) * L

) * * E8 ภM KQRภH * S


" #$% & '#( ภ!ภ# ภ? ภ>E)> 8 Server > 8 > * ภภI D 9: ภ>E)OM )G *8 *@ ภ@ 8>E)> 8 Server M 8 ? ? > * ภภ) ภ* E 8 > 8 > 1. >E)> 8 Clarkconnect Enterprise 4.3 2.F9 ภG F M I9 Server 3. 8 E* > H G Server 4. K9ภSH G > E > H J>

1.+, ! Clarkconnect Enterprise 4.3 >E)> 8 Clarkconnect N) *FD@)I) http://www.clarkconnect.com/downloads/isos.php ภ) *FD@) D ภGEภภ? ?I N) *FD@)I) D ภI GEภ@? GEภ@ * Username @? Password ภJ @8 ? ?I) ) I) > K 8 30 * D M > ภ) ^ * ? ? ภ> I9 2../#+ภ# 0$123(#$. 0"4( 5/ server >E)> 8 server J @ * E 8 M )I I) @ ภJ F9 ภF ssh (Secure Shell) SSH F F @ D M E* > H ภD @J ภE M I9 8 E* > H 8 @? 8 > 8O 8 SSH ภG ) rlogin,TELNET @? rsh 8) * D>K @) * 9@ )Q ? SSH G *EP M D M @ 8 ?D* 8 8 H> > f M 8 SSH H> 22 ภภSSH 8 9: f M 8ภO G SFTP D SCP D F9 ภ? G F9 ภPutty @? F9 ภWinSCP 7 8 9: F9 ภOpenSource N ) *FD@) G ภI) 8I > 8 H ภ) * F9 ภPutty 9: F9 ภG 88 )HI@ H * F9 ภWinSCP 9: F9 ภI* 8Ij@HM I9 Server 8 Putty ) *FD@)I)


http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html D > M 8F9 ภภJ ? 9:

F9 ภPutty ภ@J ภE

F9 ภPutty @J ภE @ * D *EP G 8 ?ภ@ *N 8 > I9 WinSCP F9 ภD 8Ij@HM Server) *FD@)I)


http://winscp.net/eng/download.php D > M 8F9 ภWinSCP ภJ ? 9:

D > M 8F9 ภWinSCP ภ@J ภE

D > M 8F9 ภWinSCP @J ภE @ * D *EP G 8 ?ภ@ *N 8 > I9


3. 8 E* > H G Server D 8 E* > H ? G Server * @ ภ9ภ) OD ?* > 8 9l) Server >E)> ภD@ * D@ ภG 8 9ภ> ภE I9 D 8 Server 9 ? *@ @G D m 8 ภE) * I N M I) > 8 )@ ? ภ8 8 @?> 8I* ภN I) ?)*ภI * > 8I* GE)>E) 8 ภE I9 @? * > 8I* D 8 ภKภ? ? I9 >?F) Server D I9F) 9@ nภD Server ) D > H I) M ? ภ@ ภ7 8 server 1.7 * @ ภ> * M 9o K I * @ ภ> * >ภK @ * ? ?D 7 K9ภSH G 9 ?ภ9: 8 Server @ ŕ¸

CPU Intel Core 2 Extreme quad-core

CPU AMD AthlonX2

2. H) 9: 8*8 M ) DL K) ) GE * E* > H 8 H) 9 ?ภI9) * I F 7E9 @? G 8 D K9ภSH> 8O G G 8 7 9: > ภ@ ภ7 H) * @ ภ7 K 8 ภภ7 @? * @ ภ> * @J > PCI ?D ?ภH) G Server > 8 G ภH) @ D@ ภS J>D@


Asus A780GM-A

Asus P5P800 Intel 775

3. 9: K9ภSH G ภJ M @ D ภ7 I99 ? *@ @ 8 E* > H ? J*D G ภJM ภ*

ภ8 ) D > ภJ ? ) * ภ3G E) DDR ,DDR2,DDR3 > DDR >ภK I9 @ * ?D 7 ภJ 8D @ ภ) * DDR3 M 8 8 ?* E 8 y D 8 D 8I 9: E > > M 8D ?N ภ@8ภ* D E ภM * ภ@ 8 9: E > ภJ 8 ? 9: DDR2 > M 8N ภภ* ภ? 1 GB. 9 ? S 500 ภJ @ ภD ) O @? G D G 1 GB. 9: 8>

Ram Kingston DDR2 800

Ram CORSAIR

4.m H))E K9ภSH ภJ M @> M > 8>@ )ภJ ? 160 G. 9: 8> * 80 G. D 7 I I) @ * ภJ @ ภ7 > ภ@ 8 HM 8 @?ภ* 160 GB. ภJ D@ j} I ? ภJ ?I ŕ¸


Harddisk Seagate 160 G SATA

Harddisk western 250 G ATA

5.ภH) 9: K9ภSH G 9 ? *@ @) ภjjlภภServer ภH) I ภ* ภภJ ? G )8 @> >E)> 8 @?> M I9 7J I ) 8 8I 9: > 87 ภH) 8O G D G > * H)ภJ @ * > 7 H)ภJ @ @ ภ7 > * ภH) H)@?ภN D ภI * H) ?7 ภH) H)D 9@ ภJ D N M ภ?7

Q )8> D 8 @J >> 8 H)

G 8 VGA H)

6. LAN Card (LAN ภLocal Area Network) 9: K9ภSH L ภG > M ? M I * ? 9: M ?) 8NE M ?) 9 ? D M ?) F@ภ8 G E H J> @ ภS?M 8ภH) @ F) *I9 ? 9: 8*8 D@ > D ภH) @ H) ? 9: GE >E)> 8I* H) ) 8 9) @ 8


9Q )8ภH) @ H)

Lan card 10/100 Fast Ethernet

D *EP * D * ? G ภH) @ ภภJ D * M 8 J> *ภ) * D 8 G J> 3 3+1 = 4 9: > 7. E > H 9: K9ภSH I* )8 M @ ? 8 LCD @? CRT @7 ) ? 8 D ภ9 ?D ) 9 ?D )Ij @?N > * 7 H ? DL ? ? D ภภ9o K I E G @ * ?* I 9 ?D ) @ 88 ภ8 8I N > ภ* ภ@ * E > H D 8 server ? G ?> >E)> 8 Server >E)> 8 J @ *ภJ ?N ) ภ8I 9: > 87 E N ) ภ8@ ภ8 )ภJI) > G * *ภ> N ภ? 9 D ภภ?7 G 8ภJI * ?I LCD > M 8N ภ40005000 ?I) 8) @ *

Q )8 LCD M ) 19ƒ wide

Q )8 CRT


8.7 *ภH) 9: K9ภSH D ภE) 8 7 *ภH)ภJ ? ) * ภ2 G E) H) @? 9: ภH) ภภD ภภH) D ภH) @ > * ภ@ * 8 ? 9: server I 9: > 8 G 7 *ภH) > 8 ) > * > *7 *ภH) *@ 7 H) * ภภJ ? 7 *ภH) H) D ) * ? ? I ภJI > 8I9D 7 @ ภ8 8I I) G 8 ภ> 8D ŕ¸

9 )87 *ภH) ŕ¸

9 )87 *ภH) ภH)

9. E* > H 9: * )K I* D DK GE * > 8OM 8 E* > H @ ภ?S? 9: ภ@ 8 D@ ) 9: F@D? ) ภ? 8 9: F@D? @? I G F@D?ภ7 > 8) j@>j H M 8 H)) * * > 8ภD 9@ ) ^ *7 E) ? H)I I) ?D * I ภD j@>j H 9: E > ภJ j@>j H ATX * > * ?I ภ@ *N 8 ภD I9D ภ8 * ภJ > 8 > 300- 2000 ภJ

9Q )8 E* > H ATX


9: 8M ? 8> ? * K H ?D ภI) 9ภ) OภJ N @ ภ7 I) > G 8D )ภJ * 9 ?ภM 8 E* > H ? G ภserver ภ@ 8 ?ภ@ * D I) ) 9: > * 8 D@? 4. K9ภSH G > E > H J> D K9ภSH G ภG > E > H J> I ?I ภ9ภ>E *@ I9M G EภE > H J> ภISP ภJ ?I) F )J N ) * Kภ8F) 8 IM> 8O> D EภE > H J> 9: ภD ) D@ ภO @ *ภJ ? 4 8 F )J 9l> > H > F H F )J ภJ D@ I) ภP ) > H Wireless

F )J P )

F )J > H 4 H>

F )J > HI* @

9 E> > H 9: K9ภSH ภLL SF H ภภLL S E > H J> ภS > 8ภG F HI9 ภภ@ E > H J>

9 )8> * 8M 8 9 E> > H

9Q )8ภ> 9 E> > H


> JR-45 * > ภF )J M ภภH) @ 8 D ? ภ* @ ภJI)

9 )8D *> JR-45

9 )8M 8 @

F H I* > ภF H M ภF )J 9 ภ>E ? D @ * ภ@ 8F )J

9 LL SF H

9 )8ภ>

8D ) ภJ K9ภSH G ภG > E > H J> ?M ) 8 ) 8D 8I I) > 8 D Kภภ* 9 E> > H ?> D I > ภJI) M ภ* > 8ภD G F HI9) * ID @? 8D ) ภ@ * ภJ 9: ภ> * ภ?>E)> 8 server ) * clarkconnect > I9 ? )ภN 8 8 ภภM ภJM 8 ภ* ภ> I9


ก # ก+77#877" # 4 %9 :# 7#( ! !" #;"!< ก ก ? M กJ 9: * 8 @ *8D * ? ก M M 8 ID D N 8Q ก* M M 8 > 8ก 9: ID 8 ก > * I) ก ? M D J> @? ก D 9: > * 8 5 F) > 8 > 1 WAN I9 N 8 4 WAN *

5 9: ? 4 WAN > > E K9ก SHI* @ D ) * 8 ก I* @ I* G > * 8 1 ? M 1 WAN ? M 1 WAN D ? D @Jก @JกO 8@ กI ก 8 8@ กI) 5-10 8 G ก H) @ 2 > *F) > *> * กI* > ก F )J Bridgemode Bri ก> * 8I* ก J> D ก *8 @

Q )8 ? M D 1 WAN


> * 8 2 ? M 2 WAN D ? M 2 WAN D@ ภภภJ @ ภ1 WAN 8 > E K9ภSH ภE)D lan card > 8 G 3 > * @? ADSL Modem 2 > * N 7J D FD@) @ 7H D ภJ> ภภH ภJI) M ภภภIj * @@H ? 2 WAN 8 8@ ภI) 10-20 10 8

9 )8 ? M 2 WAN


> * 8 3 ? M D 3 WAN ? M 3 WAN G ก H) @ 4> * F )J 3 > * 8 8@ กI) 20-30 30 8 ก S 8@ ก 30 8 ?> 8 E *E 7H ก> * ?* *E 7H 24 H>

9Q )8 ? M 3 WAN


> * 8 4 ? M 4 WAN ? M 4 WAN G ก H) @ 5 > * F )J 4 > * 8 8@ กI) 30-50 50 8 @ ) *

9Q )8 ? M 4 WAN


> * 8 5 ? M 4 WAN @? Wireless W D ? M 4 WAN @? Wireless ? D ภภ? 4 WAN 8 > E ? I* @ ภ1 > * 8

9Q )8 ? M 4 WAN @? Wireless

8D ) I) ภ9: > * 8 9: f ภภ? M M 8 M 8 N I99 ? KภH G ? M 8 I) > I9ภJ ? 9: > 8 F )J 9: Bridge mode D ภJM 8


ภ# . " < "/=! Bridge Mode D ภJ ? 9: ภภ> 8 F )J 9: Bridge Mode D Clarkconnect 9: > * G > E > H J>F) > 8 D > * 8 ? D ) ภJ ? ) * ภ8 D ? ? G Linksys AG241V2 @?ภJ Billion Bipac 5102s > * Linksys 9: > H 4 H> @ * * > * Billion > 8 9@8 D 9: > H D@ 8 ?> I) ภ8 9: F )J P ) * ภ9@8F )J 9: > HภJ ภI) ภhttp://www.thelordofwireless.com/modules.php?name=Content&pa=showpage&pid=56 E > 8 ภ@ > * ภภJ ? 9: Linksys ? ภ> 8 F )J Linksys AG241V2 9l) IE @ * E H 192.168.1.254 > 8G 8 Address

Username = admin Password = admin @ *ภJภ) OK


> 8D *M ) @EภSetup J9) 7 @ ภ> 8 Internet Setup > 8 Encapsulation: D @Eภ@ ภG @8 @ * @ ŕ¸

@ * @EภI9

ภ@ H ) @ 8 K)


ภ) @Eภ9K‰

99 8ภJ ?FG*HM M * * Setting are successful. D 9) ภภJ

@Eภ9K‰

ภJ 9: J ภ> 8 F )J Linksys AG241V2 9: Bridge Mode @ * > I9ภJ ? 9: ภ> 8 F )J Billion Bipac 5102s


ภ> 8 F )J Billion Bipac 5102s D ภ> 8F )J 9: Bridge Mode M 8 Billion Bipac 5102s ภJ D@ ภภ@ OภE ภ@ IP M 8 Billion ภJ ? D ภภLinksys 192.168.1.254 9l) IE @ * E H 192.168.1.254

D )E ?M D User name @? Password ภJ D )E User name = admin Password = admin ภภJภ) OK ภ) OK @ *ภJ ? D jlภM 8 Billine ) 8 9) @ 8


D @ ภInterface Setup ภJ ? M FD )M 8 Internet >F >E ? 8 ภ>K) 7 > 8 J9 Encapsulation


)E 8 9: PPPoE/PPPoA ? D @ ภBridge Mode

@ ภBridge Mode @ * ภJภ)

I) @ ภJ 9: J E D ภ> 8 F )J 8 8 K D FD )

Bridge Mode D@ 8> 8 F )J 9: Bridge Mode J @ * > I9ภJ ? 9: ภ>E)> 8 Server ) * Clarkconnect Enterprise 4.3 D ภJ 8


ภ# ClarkConnect Enterprise 4.3 > Kภ8 @ *ภJ M > ภ>E)> 8 ClaerkConnect ภ@ D 8I >E)> 8 D I9) *FD@) @E 8 H) CD ClarkConnect M I9 8 ? 9: 8 Server

8 server @ * >E)> 8 ClarkConnect Enterprise

@ * M ? D ภD ภ) Enter


@ ภQ D @ ภ> Q @ @ * OK

@ ภKeyboard D @ ภ9: us @ *ภJ OK


@ ก Local CDROM @ *กJ OK

@ ก Install @ *กJ OK


N 8> 8 D E H * linux @ *ภJ OK

@ ภGateway mode @ *ภJ OK


@ ภDSL ‹ PPPoE @ *ภJ OK

N 8M > Username @? Password @ *ภJ DNSภJ D M 8 I) ภISP > ? ) ^ * ? M E > H J>I I) J @ *ภJ OK


ภD ) IP @? Netmask D ภServer

G Hostname @? Domain > > 8ภ@ *ภJ OK


N 8M > @ ภtimezone @ ภ> Q @ *ภJ OK

ภD ) Password D ภServer


N 8M > @ ภPartition ภJ @ ภ> Q @ *ภJ OK

N 8M > @ ภ>E)> 8 Software ภ>E)> 8> *ID ภJ @ ภI) @ D I ? @ ภ> *ID ภJ > Q ภJI) J @ *ภJ OK


@ ก Software ก 8 กJ @ ก> กJI) J กJ @ ก Done

@ ก Done @ *กJก) Enter @


ภ@ 8 Format

ภ@ 8>E)> 8 software @ ภI9 >?ŕ¸


ก 99Iก@ ? J @?

.. J 7? N 8D CDROM ? ) 8 ก 8 D ก @ *กJก) Enter


D@ 8 ภ@ *ภJ ?M D > Q @

ภ@ 8FD@) Software @? Connect internet


Kภ8 J SH @ *ภJ N 8D @J ภE ภJ 9: J @ * D ภ>E)> 8 ClarkConnect Enterprise 4.3 Server 8 ภJ Server I* G 8 @ * > I9ภJ ? 9: ภGEภ@8 ? ClarkConnect D N ) I) 30 *


ภ#9 #B 08"7$%!"' 1 '" 0 Clarkconnect D ภJ ? ภ@8 ? D N ) I) 30 * I D 9: ภ*@ E ภ@ D M I9 @E 8 H https://secure.clarkconnect.com/webapp/evaluation.jsp ภJ ? M D ภ@8 ? ) 8 9

> 8 Create New Account ภJ Username @? Password @?ภJ E-mail M 8 8 > 8 Country @ ภ9: Thailand > 8 Timezone @ ภ9: Etc/GMT+7 ภภJภ)> 89K‰


ภ)9K‰

ภภJ D @Eŕ¸

@Eภ)D ภPoint Clark N 8

@ *ภJ ?I) D

8M Key

ภJ ?I) ) 8 9) ภภJ D I9 GJ E-mail M 8 ) ?


) ภ@ 8 )D ภJ ? DJ * )D D 8 ภPoint Clark Networks Not.

ภJ @EภM I9) )D @

F9 ) 8 ภ>K> 8

I) Key @ * ภJ > 8

D ภJ 99ÂŽÂ?> * @M 305310 @ *ภJภ@ I9 D *J @8 ? M 8 Clarkconnect ภ8

) 8


ภภJ @Eŕ¸

ภJ 9: J @ * D ภ@8 ? D Clarkconnect M 8 ) I) D ภJ 8 > I9 ภJ ? 9: ภM I9 jlภWebconfig M 8 Server ŕ¸


ภ#"4( Webconfig ภJ ? 9: ภM Webconfig @8 ? D ภClarkconnect Enterprise 4.3 @?ภ> 8 f D ภ? ภ?I9 M Webconfig D > 8 IP D ภ8@ ภ? F D 8 E)> 8 HM 8 ภŕ¸

D Desktop @EภM* My Network Pleces @ ภProperty

ภJ ? M D Network Connections


D Network Connections @EภM* Local Area Connection


Local Area Connection Properties @ ภInternet Protocol(TCP/IP) @ * @Eภ9K‰


Internet Protocol(TCP/IP) Properties D @ ภ> 8 Use the following IP address

IP address ,Subnet mask ,Default gateway @ *ภJ DNS 8 8G 8) * G M 8 ID ภJ M 8 ? @ *ภJ @Eภ9K‰


ภJ ? Local Arae Connection Properties ภ8 @Eภ9K‰ I) @ > I9ภJ ) 9l8D 8 Server ) * N ภ> 8ID F) @EภI9

E H * cmd @ *ภJภ) OK

@ *ภJ

@ *ภJ9l)D > 8 Network Connections


ภภJ E H cd \ @ *ภJ enter G 89l8F) E H * ping ‹t 192.168.1.1 @ *ภJภ) enter

9> * 8 )8ภ9l8D 8 server

N M D 9) ภJ 9: ภ9l8ภ)8* @ M Eth1 N ภ> 8


9> * 8 )8ภ9l8D 8 Server I

> N M D 9) ภJ )8* 9l8D ภI ภJ D @ 8I@ ภH) @ @? ภ* ?9l8D ภ> * * N ภ> 8 @ *ภJ E H https://192.168.1.1:81 G 8 Address M 8 IE(Internet Explorer)

ภ9) 9: F9 ภInternet Explorer V.8

9 )8ภภM *J9 jlภ8 ŕ¸


ภM *J9 jlภ8 ภภJ ? 9: D 9) D @Enŕ¸

9 )8D > @J ภE M 8 Webconfig

ภ9) D E H * root G 8 Username > 8G 8 Password ภJ *E H) > 8I* > >E)> 8 Server

J @ *ภJ @Eภ9K‰


ภ) Continue @ *ภJ ?I) D > D 9) ภJ ? ภN ? M 8 Interface > 8

ภ9) D *M Interface ? DJ N ?M 8ภH) @ 8 Server 9 ? ภH) @ 3 > * F) eth1 ? 9: ภH) @ > * > 8 Switch > 8 IP Address ภJ ?> 8ภIP > 8I* 192.168.1.1 @? eth2 ภJ ?* 8 ? 8I > 8 jlภ* eth0 ภJ ?ภ@ 9: ppp0 ?> I) G > E > H J> @ * D ภJ 8 > I9 ? @8 ? D ภServer M 8 D ) I) ŕ¸


ภ#B 08"7$%!2:( Server D ? @8 ? D Server M 8 D N 8 ) I) ? K 8 30 * > D ) NM Request Key I) ภ3 8 I D *@ @K ภ> @ ) M 8 Webconfig D @ ภI9 Services @ *ภJ @ H Register System

Services>>Register System

9 )8 @ ภRegister System ภJ ? G 8 D Username @? Password

ภJ Username @? Password I) @8 ? 8 *J I7>HM 8 Clarkconnect > @ *


ภ@Eŕ¸

? D @ ภ3 D *M D ภ>E)> 8 8 ภD @ ภI9 K)

D @ ภD *M K)

G > 8 System Name @ * @Eภ9K‰

D >Enŕ¸

I agree to the terms cited below. @ * @Eภ9K‰


? M * 8 > * ภ@8 ? K G 8 8 30 * D @Eภ9K‰

ภJ 9: * ภ@8 ? M 8 J @ * N 8 D Server ) I) 30 * 30 * @ *D ภServer M 8 9oLD > 8@8 D ภJ N I9Request D *J9 @8 ? I) ภ7 HD 8 Request I) 8 8 @ * ? G *EP D ภJ N Clarkconnect Server G 8 ) I) >@ ) *@ @ D ภJ 8 > I9ภJ ? 9: ภF M Server ) * F9 ภPutty 8 ) Server M 8 D M 8


ภF ) * F9 ภPutty @ * I) @8 D ภServer M 8 @ * G D D ภJ > ภ) * 8 ภF ) * Putty ) Server ภ> @ I9 D Desktop @ *) E @ @EภI M 8 Putty

E H IP Address G 8 Hostname ภ@Eŕ¸


9l)F9 ภ8 ภF9 ภ? D 7j H ภJ I* @Eภ9K‰

@J ภE ) * root @? Password > 8I* > >E)> 8 Server

@


E H * apt-get update @ *ภ) Enter

99D 8ภJ ? ) J ภJ> ) J @ *ภJ ? D Q ) > I9ภJ> 8>E)> 8 cc-devel I* >E)> 8F9 ภO >M 8D


E H apt-get install cc-devel @ *กJ Enter

N 8> 8 กJก) y @ *กJ Enter


ก @ 8FD@) J กJ> 9:

FD@) 8I J @ D


FD@) J @ * ภ@ 8>E)> 8

M ภJ 9: * J @? D *@ G ภ>E)> 8 cc-devel ?G D J*ภJM ภ* J* E > H J> G ? * G *@ 9 ? S 8G *F 8 @


> I9ภJ>E)> 8 NO-IP * G M 8 ภ?I) F M ) @ Server M 8 I) D ? *J9I7 HภJ) I G @ E @ ) ภ*

D E H> wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz @ *ภJ Enter

ภ@ 8FD@) no-ip


FD@) J @ *ภJ >ภIj@H) * 8 tar zxvf noip-duc-linux.tar.gz

>ภIj@H J


ภภJ M I9 Fj@H ) H) * 8 cd noip-2.1.9-1 @ *ภJ Enter

cd noip-2.1.9-1 @ *ภJ ?I) ) 8 9)


I @H) * 8 make @ *ภJ Enter

make @ *ภJ ?I) ) 8 9)


ภภJ E H 8 make install @ *ภJ Enter

N 8> @ ภinterface ? D noip *E 8 M D @ ภI9 ppp0 ภJ ภ) 1 @ * Enter


ภภJ D e-mail G ŕ¸

ภ9 ภJ e-mail M 8 G noip G ID ภJ D G ? > D ภ8I ภJI9 I) http://www.no-ip.com/newUser.php * * PÂ’ ?I ภ@ *N 8 ? D I9 ภ8


e-mail @ *ภJ password ภภJภ) Enter

N 8> ภJ D > N @ *ภJ Enter

ภJ 9: * >E)> 8 noip J @ *


ภภJ 8 D noip 8 F) E H* noip2 @ *ภJ Enter

J ภภ>E)> 8 @ *ภJ D ภ@ I9 root > )E F) E H* cd /root @ *ภJ Enter


E H cd /root

ภJ root @ *


> I9ภJ>E)> 8 netstat-nat I* ) port > 8O > * netstat host D@ ภI D ) *FD@)) ? FD@) ภJ I* @ *ภJ M I9I* Host * > * E E

E H> wget http://www.clarkconnectthai.co.cc/download/os/netstat-nat-1.4.9.tar.gz @ * ภ) Enter

ภJภ@ 8FD@)....


FD@) J @ *ภJ ภ>ภIj@H ) * 8 tar zxvf netstat-nat-1.4.9.tar.gz @ * Enter

>ภIj@H J


M I9 Fj@H ) H ) * 8 cd netstat-nat-1.4.9 @ *ภJ Enter ? ? ภE H 8 J* E H cd natstat ภภ) Tab D@ ภJ ? > D 8 I G @ 8ภ))


ภภJ E H 8 ./configure @ *ภJ Enter

configure @ *ภJ G 8> I9 make


E H make @ * Enter

> I9ภJ make install


E H make install @ *กJ Enter

M กJ 9: * J ก >E)> 8 netstat I* D H> ก > 8O> I9 >E)> 8 Webmin I* jlก Server ก

E H wget http://prdownloads.sourceforge.net/webadmin/webmin-1.470-1.noarch.rpm @ *กJ Enter


ภ@ 8FD@)......

FD@) J @ *ภJ>E)> 8) * 8 rpm ‹U webmin-1.470-1.noarch.rpm @ *ภJ Enter


>E)> 8 @ *ภJ ? 9: 9) *@ M G 8 ภJ E H http://ip-server:10000 ) 8 ) @ 8

9l) IE E H http://192.168.1.1:10000

ภJ ? D D login M

@ *ภJ Enter


root @?ภJ password M 8 8 Server ภ@Eภ9K‰

D ภM 8 ภIE ?N * D ภPassword I* ID ภJ ?ภ) Yes D No ภJI) * G Yes @ ภ)

M @ *ภJ ? D > D 9) ภJ 9: * J @ * ภ>E)> 8 webmin D ภCC M 8 I) ) Server I9 @ * >E)> 8 cc-devel I9 @ * >E)> 8 noip I9 @ * >E)> 8 noip I9 @ * >E)> 8 netstat I9 @ * @?ภJ>E)> 8 Webmin I9 @ * ? ภ@ I9 webconfig ภ?I9 jlภ* D@ G ภ> 8 DHCP ภForward Port D DotA I) 9: > D ภJM 8 ภภ> I9 .


ภ# DHCP ภ> 8 DHCP Clarkconnect I ภM > 8 OI ภM > 8 E > 8 ภ@ ) M 8 Webconfig D @ ภI9 Network ภภJ@ ภH > D 8 DHCP

NetworK >> DHCP

9 )8 @ ภDHCP


Configure Global DHCP Settings @EภStatus D 9:

ภ@Eภ9K‰

ภJ 9: J ภ> 8 DHCP D ภServer M 8 @ * 8 ID > I9 ?

I9> 8 * M 8 IP Settings ภD ภJ 8 .

ภ> 8 IP Settings D ภ> 8 FD )M 8 IP Settings ภJ ? ) * ภ8 * Network @? Interface D * M 8 Network ภJ ภN 8 N ?M 8 DNS @?ภJ ภG Hostname @? ModeM 8 Server M 8 @? * M 8 Interface ภJ ? ภN ? M 8 Interface M 8 Server * 9: eth D ppp ) ^ * ภ) M 8 Webconfig @ ภI9 Network ภภJ@ ภH IP Settings ) 8 9) @ 8

Network >> IP Settings


9 )8 M 8 IP Setting

* M 8 Network ภJ ? ภN ?M 8 DNS N D ภ* N ? 9: )8 )8* J> ) D 8D@K)D DNS

9oLD D 8 8 E J> @ *I I) @Eŕ¸

Multi-WAN ภJ D N ? DNS 9: )8I) G ŕ¸

9 )8* DNS 9oLD

9 )8* DNS 9 ภ>E > I9ภJ 9: * M 8 Interface IP Settings ภJ ? ภN ?M 8 Interface > 8O 8 Server M 8 G ภ* N ? 9: eth1 D ppp0,ppp1 @? ภIP Address ) * ภ9) @ 8 ? DJ Interface 3 > * eth1, eth2, ppp0 8 3 Interface ภJ ภH) @ 3 > * 8 Server M 8 D@? > * eth1 ? 9: > * ภIP D ภ*8 @ M 8 eth2 ภJภ@ 8D K >En*O * ppp0 ภJ 9: > * > J>> 8 8 ภ@?


9 )8 * M 8 Interface ภS J> 8 G M 8 9: > * 8 eth2 8I ภjlภภJ ?D K >En*O G ID ? ภ> J> E ภE 8 ภ> 8> @ ภF )J I) > 8 9: Bridge Mode I* eth2 M 8 Server ภภภJ @Eภ9K‰

M 8 eth2

> 8 Role @ ภ9:

ภ@Eภ9K‰

Ethernet ภJ @ ภ9:

ภ@Eภ9K‰

> 8 Type @ ภ9:

? * >

N M 8 >


Username @? Password G > J>M 8 > 8

? D I ภJI) N ? ภJ

N I9 D EภE > H J> G ภ? * MTU M 8 I * > * I Clarkconnect ?D D 8 @?ภJ> 8

N >EnภภJ ? 9: ภDNS D >F >E N

I >EnภภJ 9: ภDNS ) * > * 8 J @ *ภJ @Eภ9K‰

D@ 8 ภภ)9K‰

@ * ภJ ?I) Interface eth2 ภภJ ? 9: ppp1 > 8I N G 8 I)

> 8I9 Enabled Multi-WAN ภ8 ภ>K* DNS ? 9: )8 9: I8 I ภ@ G D D ภ> 8 IP Settings > I9 ภJ ?I9 9l)ภG 8 Multi-WAN ภD ภJM 8

ภ> 8 Multi-WAN @ * I) ภ*ภภ> 8 IP Settings ภI9 @ * D ภJ ภ> 8 M 8ภ> 8 Multi-WAN D ภ> 8 * M 8 Multi-WAN ภJI ภภD ภ8 @Eภ9K‰ ภJ 9: ภ9l) G 8 Multi-WAN @ * E ภ@ ) M 8 Webconfig @ ภI9 Network ภภJ O@ ภH Multi-WAN


Network >> Multi-WAN

? DJ Statue 9: Disabled G D

D @Eŕ¸

N ?> 8 Status ภJ ? 9: Enabled @

8 ภJ 9: ภ9l)ภG 8 Multi-WAN @ *

Multi-WAN ? 9: 8 ภFD@)

@ 7H D ภ> 8ภ8 FD@) @ 7HภJI > 8ภJI > 8> 8 O> > N > 8ภภJ> ภภ@ *ภJ ภภภD ) Rule D ภMulti-WANภ> ภ?I9ภD ) Rule )N 8 Weight ภŕ¸

Weight ภJ ภภD ) D D ภ?*E 8 M D Interface G N ppp0 9: J> ภJภD ) D ภD ?I* ภ@? ppp1 9: ภภJภD ) D ภD K) > * 8 ภD ) D ppp0=200 ,ppp1=1ภJ ภ* ppp0 9: J> * ppp1 9: ภ8 > ภ8ภD ) Rule ภ> @ ภภD ) Rule D ภServer ) * ภ2 - Add Source-based Route ? 9: ภภ> D @M IP 8> 8


- Add Destination Port Rule ? 9: ภภ> D @M Port 9@ 8 D Add Source-based Route ? *EP ภ> 8 ) 8

ภD ) D 8@ ภG PC01 IP Address = 192.168.1.101 *E 8 ภppp0 M 8 Nickname ภ@Eภ9K‰

G 8 IP Address

G 8 Interface @ ภ9:

?I) ) 8 9) @ 8

ภD ) D 8@ ภG PC02 IP Address = 192.168.1.102 *E 8 ภppp1 G 8 Nickname ภ@Eภ9K‰

G 8 IP Address

G 8 Interface @ ภ9:

?I) ) 8 9) @ 8

D Add Destination Port Rule D ภภ> D @M Port ภJI ภD ภ* Port ?*E 8 M Port ?I 8 ? ภ> * 8 D ) ภ3 > * 8@?ภ8 G http =80 , ftp =21 TV Online =554

G 8 Nickname 9:

ภ@Eภ9K‰

G 8 Protocol ?I) ) 8 9) @ 8

G 8 Port

Interface @ ŕ¸


D ftp @? TV Online ภJภD ) @ ŕ¸

J @ * D D@ ภภภ> D @M Port I ภ@ G D N I99 ? KภG D ภServer M 8 I) 88 ) @ * H> ภH> ?I 8 ภJ ภD )> 8 * @?

ภ> 8 Port Forwarding D ? ภภภForward Port D N Cleat ภDotA I) E ภ@ ) @ ภI9 Network ภภJ @ H@8 Port Forwarding > 9) @ 8

Network >> Port Forwarding


* M 8 Port Forwarding D > ภJ ? D ภ9) D@?

F) ภForward Port ? Forward 8 TCP @? UDP E > ) * 8 1 ภ9) G 8 Nickname DotA01 > TCP > 6001 > 6001 > 192.168.1.101 > @ ) D Q ภ@Eภ9K‰

> I9ภJ E H D )E 9@ TCP 9: UDP

9@ ? TCP 9: UDP


I9 8 8ภJ ?I) ) 8 9) ภภJ 8> I9 O > * 8@ ŕ¸

ภ9 D ) 15 8 D@ ภJI9 ภ8 ? E M ภE H @ * Forward Port D *J jlภJ @ * ภJ @ I9> 8 ภD > 8ภport > 8I* ) * ) ^ * ? I I) ภ> 8 ภภJ 9l) ภM


@ ภI9 Option

@ ภI9 Gameplay


D H> I) Forward Fort I* G 8 Game Port D 9 ? I9 D Kภ8 ?

ภภJ OK ภI) @ 8 ภJ N ภDotA I) @ * D ภJ ภ> I9ภJ ? I9 jlภSquid > >E)> 8 I) @ ภ>E)> 8 ) *


ภ# SQUID WEB PROXY D ?I9 jlภSquid ภD Squid > * 9: * HG 2.5 M 8 CC > >E)> 8 I) @ ภ>E)> 8 Web Proxy I9) * ) 8 jlภ8> ภภD N G 8 I) @ * ) ^ * ? I9 >E)> 8 Squid 2.6 7 8 ภjlภ@? )ภ* @? N ภJ J ภI) ภKภภภJ E @8 ภ@ ) ภ* ) M 8 Webconfig @ ภI9 Software ภO @ H@8 Web Proxy > 9) @ 8

M @ *ภJ ? M D jlภM 8 Web Proxy ) 8 9) ? 8 ภ>K DJ * Squid 8I I) 8 ? Status 8 9: Stopred D @Eภ9K‰

@?ภJ @Eŕ¸

D Squid Kภ8D@ 8 > H Server


@Eภ@ * Status ภJ ? 9: M * D 9)

ภjlภ? 9@ ? Transparent Mode ŕ¸

9:

? > 8O ) ^ *

> >E)> 8 Squid 2.6 ) ^ * ? 9@ D 8 ? Squid 2.6 ภjlภ8) @ * D Squid 2.6 KS Naninternet 9: ภD I) G 8 ภ> 8M M KS Naninternet S F ภ) * ? D ภEภ>E)> 8 Server ) * Ubuntu ภJ>E)> KS Naninternet I) http://www.icafethai.com/ M 8ภ> > 8 Transparent Mode 9:

@ *ภJ @Eภ9K‰

ภJ 9: J

E D ภ> 8 Web Proxy 8> * M 8 *J9 jlภภ@ * > I9 ภJI9>E)> 8 Squid 2.6 M 8 Naninternet > ?I) > 8ภ* ภ>E)> 8 Squid 2.6 ?> 8 G F9 ภWinSCP 8Ij@HM


Server @?F9 ภPutty 88 > @ * I) ภG 8 F9 ภPutty I9 8 @ * * D 8 ภJ ? G 8 8 8F9 ภ@ ภJ E ภ@ ) ภภJ D 9l)F9 ภWinSCP ) *FD@) ภJ I* @ * M D ภ8I I) ) *FD@)ภJI9 http://winscp.net/eng/download.php ภJFD@) ภJ I* 7? ? > 8 G 8 9: 9 ? @ * D Squid 2.6 I) M I9 ภJ I* Host * > * @ * ? D ) *FD@)I) http://www.clarkconnectthai.co.cc/download/os/squidfrox.zip ) *FD@) @ *ภJ >ภIj@HI* D Destop ?I) ?)*ภ*@ G 8 >ภIj@H @ *ภJ ?I) ) 8 9) @ 8

>ภIj@H J @ * ? Ij@H 4 Ij@H 1. frox.conf 2. frox_addons_clarkconnect-1.5.tar.gz 3. squid-2.6-s13.rpm 4. squid.conf


ภภJ 9l)F9 ภWinSCP M

IP 8 Server =192.168.1.1 User name = root Password ภJ > 8I* ? ภ@Eภ9K‰

9l)F9 ภ8 ภ?M D Update H ภJ @Eŕ¸


ภJ ?I) D > 9) ภ9 ? DJ ) * ภ8) ) 7 •o–8M 8 8 F ) M* •o–8 8 Server

D @ ภIj@H squid-2.6-s16.rpm I9 F9 ภWinSCP •o–8M 8 8 Server ) 8 9)


ภภJ 9l)F9 ภPutty M @J ภE @ *ภJ E H 8 rpm -Uhv squid-2.6-s13.rpm > 9 ) @ 8

E H 8 J @ *ภJภ) Enter E ภ>E)> 8 @


>E)> 8 J @ * ?I) D 9) >E)> 8 J @ * Squid 2.6 ? 8I N G 8 I) ? Ij@H squid.conf >ภภภI9 /etc/squid ภภ?@ ภI9 D J squid.conf > * ภภF) ภ9@ G D 9: squid.conf.ori jlภE) @ ) ?I) ภ@ G I) ŕ¸

F9 ภWinSCP D @EภภFj@H ) H root

ภภroot @ *ภJ ? Fj@H ) H> 8OM 8 ? D M I9 Fj@H ) H etc @


ภภJ M I9 Fj@H ) H squid > 9

ภ9 ? DJ Ij@H squid.conf > * )E D 9@ F) @EภM* Ij@H squid.conf


ภ@ ภI9 Rename

9@ 9: squid.conf.ori > 9


ภภJ@ ภIj@H squid.conf > * >ภIj@HI* ) J 9 I) @ > 9)

@Eภ9K‰

ภภ@ I9 F9 ภPutty E H service squid restart ) D squid.conf 8


8 service squid restart @ * ?I) ) 8 9) ภJ 9: J @ * D ภ>E)> 8 Squid 2.6 8 ภJ I) Squid I* ภJ J ภ*E 8 http ภ@ * ภI D 9: ภ*@ ภJI9>E)> 8 Frox ภ> @


ภ>E)> 8 Frox ภJ ? G D@ ภภD ภ>E)> 8 squid 2.6 @ ภIj@H frox Fj@H ) H ) *ภภSquid D@? I9 •o–8 Server ภ?@ ภI9 D ภ@ I9 Fj@H ) H root D )E ภF) @Eŕ¸

I9 root

@ ภIj@H frox_addons_clarkconnect-1.5.tar.gz I9 •o–8 Server > 9

ภภJ E H 8 F9 ภPutty > tar -xzf frox_addons_clarkconnect-1.5.tar.gz ) 8 9)


ภภJ cd frox_addons_clarkconnect-1.5 @ *ภJ Enter

ภJ ? M Fj@Hfrox ) 8 9)


E H ./install @ * Enter

ภJ 9: * J M > ภ>E)> 8 > I9 ภJ Ij@H frox.conf I9 * /etc/frox @ ภSquid ŕ¸


@EภภภFj@H ) H root ภM I9 etc @?ภJ frox > @ ) D ภD Fj@H ) H frox I D ภ) j F9 ภWinSCP ภJ ? frox ) 8 9) @ 8

D )E J frox.conf ภJ I* ภ@ ภ@EภM* frox.conf @ * @ ภRename


9@ 9: frox.conf.ori 7?

ภภJ@ ภIj@H frox.conf >ภIj@HI* ) J 9I9 > 97?

@Eŕ¸


?I) >

8 service frox restart F9 ภPutty Frox D ภ8

J @ *ภJ ?I) ) 8 9) 9: * J ภ>E)> 8 Frox ภJ J ภ*E 8 H> 21 D ftp 8


9: I8 I ภ@ G D > I9 9: ภ>E)> 8 Firewall D ภServer F) Firewall G ? G M 8 KS>— 8 ? ภJ G D ภ@?ภJI 9oLD ภJ> ภภM )9: )O > 8M KS KS>— 8 ภ? Firewall I) G 8 ภE ภ@ 9l)F9 ภWinSCP ภ8 D 8I 9l)ภJ > I) @ WinSCP D I9 /etc/rc.d

M @ * ภJ J M 8 )E ภJ I* @


@EภM* @ ภRename

9@ G 9: rc.firewall.local.ori ) 8 9) ภD ภFD@) firewall F) FD@) http://www.clarkconnectthai.co.cc/download/os/Tong.firewall.V2.6.zip FD@) J @ *ภJ >ภIj@HI* D ) J 9 G


>犧!j@H @ * ?I) Ij@H rc.firewall.local ) 8 9)


D )E @ ภI9 * •oÂ?8 Server

@Eŕ¸

ภ) En@ @Eภrc.firewall.local @ ภI9 ภ9 E)D


D @? )ภ9 > 8OภJ> * ) * ) G * LinuxThai M KS@K89 @ Linuxthai.org D 9 ภ) )

M KS SiamCaFe.net squid D G M KS xxxkung frox D G @? ภ1 ภG ภ)E˜ ) ภD O

script Tong v2.6 -

8 > Eth


-

E jo8ภHG Drop *9

-

E port ภH

-

ภIM O ŕ¸

G I) 5 ? auto @ D )E > * 9@ M 8 E9 New

> * 9@ _ ppp |

D eth M 8 @8I9I) @ ? ID M ภภJI) > 7 ภD@?

_ ? ID I9 net

|

|

|

|

_ภD ) D FD@) ? bit

ภD ) D ภnet ภFD@) E> net

Wire2[3]=(ppp1 game no) Wire3[3]=(ppp2 game bit) Wire4[3]=(xxxx xxx xxx xxx) Wire5[3]=(xxxx xxx xxx xxx)

> * 8 eth G * ภppp declare declare declare declare declare

D yes ภJI)

|

declare Wire1[3]=(ppp0 net bit) ----declare declare declare declare

D game I) @ >

Wire1[4]=(eth0 net bit) Wire2[4]=(eth1 game no) Wire3[4]=(ppp0 game no) Wire4[4]=(xxxx xxx xxx) Wire5[4]=(xxxx xxx xxx)

? -

* ภD ) D FD@) bit 9: net ?) ภ* ?

-

ภS net 2 M I9 ? load balance

-

ภS game 2 M I9 M 8 E9

Game 3

# -----

1 Game Asiasoft + Bf2 + DotA

# -----

2 Game Playplus

# -----

3 Game Winner + GamesOnline


Game 2

# -----

1 Game Asiasoft

# -----

2 Game Playplus + DotA + Winner + GamesOnline

Game 1 # -----

) * Game Onlines

Squidcontrol - Squidcontrol=yes

D Squid ภJ ภH E9 I @) ภ@ I9I) ? ภ@

- Squidcontrol=no

D Squid ภJ D O> Squid M 8 @8I* D 8 D Squid ภJ Logfile ภJ> *

? M Squid ? ภJ file E9 M 8 *9> 8O D ภ@ 9l) *9) E9 Bitcontrolip - Bitcontrolip=yes - Bitcontrolip=no

FD@)I) > > ip 8 ภD ) [ Bitip ]

FD@) E>I) Kภ8

Bitip=192.168.0.111

ภD )I I) @ ? D 8ID FD@)

ภSquid @? Frox > * config M 8ภ? squid 2.7

)E>

I @H F) MR.BOM SiamCaFe.net

http://www.siamcafe.net/board/index.php/topic,23915.msg186436.html#msg186436

Frox 1.6

I @H F) xxxkung

)E> http://nimrodv.exteen.com/ !

D D>K N M 8 squid D frox DJ I * PM D Post I) @ ?

Install


9l) winscp >> copy 9l) putty

firewall.local >> /etc/rc.d

<<backup

ภภJ I* ) * ? :::

>> service firewall restart

> ภJ@E 8 HM 8@ 8 @ 8I9 ภ) http://www.linuxthai.org/forum/index.php?PHPSESSID=3210e1597b331adcfb177f82f2894fee&topic=852.0

9 > 8 > 8O D M ภ? M 8 @ *ภJI9 Putty 8 service firewall restat


ภJ 9: J E D ภ>E)> 8 Frox I* ภJ J ภ*E 8 ftp @? 8D ) I) ภ@ * ภJ 9: ภ>E)> 8 Clarkconnect Enterprise 4.3 9: Internet Gateway I* D D ภM 8 ?I) I > 8 > 8 H 8 M > ) * D ? D K H 8 G 8 @? ? ภE)M I I) @ D ภI

Linuxthai > 8M KS@K89 )H ภ? *J9) O D *ภI) ภServer ) * Linux I) 8M 8 Linux > 8O ภK @ ) ภE) ภภJM D ภ@K89 )H KS>— 8 KS E > H J> M D Kภ* KM * EL @? * Kภ* Kภ) * L K) D* 8* KภI) ภภ@ * ? N SERVER ) * > 8I) @?D ภM @ ) I) I9 E) @ )I > 8ภภJM Q S ) * M @ ? .


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.