Clarkconnect Enterprise 4.3
! กกก กก Internet Gateway )* ClarkConnect Enterprise 4.3 789: Linux >?ก@ Radhat D* 89:8E8* ?9:9?FGHกIกกJ @ KL ) กE) กก MMKEDก E)) HH L>E 8 ก* MDKก 8I) @ KL @?MD *KMก KM E)E8)กJMD9N @?MD@ KL 8@DM E)? E8)กJMDJ@K@*8I9)*) @?I) K9H)Oก@ ก@ MDMกE)G>E)OกJ> MD KP @?N878?E)*L
)**E8กM KQRกH *S
"#$%& '#(ก!ก # ก ?ก>E)>
8 Server
>8> *ก ก ID9:ก>E)OM )G*8*@ ก@ 8>E)>
8 Server M8 ??
> *ก ก) ก* E8 >8> 1.>E)>
8 Clarkconnect Enterprise 4.3 2.F9ก G FMI9 Server 3.8E*>H G Server 4.K9กSHG>E>HJ>
1.+,! Clarkconnect Enterprise 4.3 >E)>
8 Clarkconnect N)*FD@)I) http://www.clarkconnect.com/downloads/isos.php ก)*FD@)Dก GEกก ??IN)*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@* E8 M)II)@กJ F9ก F ssh (Secure Shell) SSH FF@ D ME*>H ก D@JกEMI9 8E*>H8 @?8>8O 8
SSH ก G) rlogin,TELNET @? rsh 8)*D>K@)*9@)Q ? SSH G*EP MD M@ 8?D*88 H>>fM8 SSH H> 22 กก SSH 89: fM8กO G SFTP D SCP D F9ก ?G F9ก Putty @? F9ก WinSCP 789:F9ก OpenSource N )*FD@)Gก I)8I > 8H ก ) * 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>M8F9กกJ?9:
F9ก Putty ก@JกE
F9ก Putty @JกE@* D *EP G8?ก@*N8 >I9 WinSCP F9กD 8Ij@HM Server)*FD@)I)
http://winscp.net/eng/download.php D>M8F9ก WinSCP กJ?9:
D>M8F9ก WinSCP ก@JกE
D>M8F9ก WinSCP @JกE@* D *EP G8?ก@*N8 >I9
3. 8E*>H G Server D 8E*>H ?G Server
*@ก9ก ) OD?*>89l) Server >E)>ก D@* D@ กG8 9ก>กEI9D8 Server 9?*@@G Dm8 กE)*IN M I) >8 )@? ก8 8@?>
8I* กNI)?)*ก I*>
8I*GE)>E) 8กEI9 @? *>
8I*D8ก Kก ?? I9>?F) Server DI9F)9@ nก D Server ) D >HI) M?ก@ก7 8 server 1.7 *@ก> * M9oK I*@ก> * >กK@*? ?D7 K9กSH G9?ก 9: 8 Server @ ก
CPU Intel Core 2 Extreme quad-core
CPU AMD AthlonX2
2. H) 9:8*8M)DL K) )GE *E*>H 8 H)
9?ก I9)* IF 7E9@? G8D K9กSH>8O G G8 7 9:> ก@ก7 H)
*@ก7 K 8 ก ก 7 @?*@ก> * @J> PCI ?D ?ก H)G Server >8GกH)@ D@ กS J>D@
Asus A780GM-A
Asus P5P800 Intel 775
3. 9:K9กSH GกJ M@Dก 7 I99?*@@ 8E*>H?J*DGกJM ก * ก 8) D > กJ? )*ก 3GE) DDR ,DDR2,DDR3 > DDR >กKI9@*?D7 กJ8D@ ก) * DDR3
M88?*E8 yD8D 8I9: E >> M8D?Nก@8ก* D EกM * ก@ 89: E> กJ8?9: DDR2 > M8Nกก*ก? 1 GB. 9?S 500 กJ@ก D) O@? GD G 1 GB.9:8>
Ram Kingston DDR2 800
Ram CORSAIR
4.mH))E K9กSHกJ M@> M>8>@)กJ? 160 G. 9:8> * 80 G. D7 II)@* กJ@ก7 >ก@ 8 HM8@?ก * 160 GB. กJD@j}I?กJ ?Iก
Harddisk Seagate 160 G SATA
Harddisk western 250 G ATA
5.กH) 9:K9กSH G9?*@@)กjjlก ก Server
กH) I ก *กกJ ?G)8@>>E)>
8 @?>MI97JI
) 8
8I9:>87 กH) 8OG DG> * H)กJ@* > 7 H)กJ@@ก7 > * กH) H)@?ก NDกI* H) ?7
กH) H)D9@กJDNMก ?7
Q)8>D8 @J>>8 H)
G8 VGA H)
6. LAN Card (LAN ก Local Area Network) 9:K9กSH LกG>M? M I* ?9:M?) 8NE M?) 9? DM?) F@ก8G EHJ> @ กS?M8กH)@ F) *I9 ?9:8*8 D@ >D กH)@ H)
?9:GE >E)>
8I* H) ) 89)@8
9Q)8กH)@ H)
Lan card 10/100 Fast Ethernet
D *EP *D*?GกH)@ก
กJD*M8J> *ก)*D8 G J> 3 3+1 = 4 9:> 7.E>H 9:K9กSH I*)8M@ ? 8 LCD @? CRT @7 )
? 8 D ก 9?D ) 9?D )Ij @?N> * 7 H
?DL?? D กก 9oK IEG@* ?*I9?D )@ 88 ก
8 8IN> ก *ก@*E>HD 8 server
?G ?> >E)>
8 Server
>E)>
8J@*กJ?N)ก 8I9:>87 E N)ก8@ก8 )กJI) >G **ก >Nก?9D กก?7 G8กJI *?I LCD > M8Nก 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 GE) H) @? 9:กH)กก Dก กH) D กH)@ >*ก@*8 ?9: server
I9:>8G7*กH)>8)>* > *7*กH) *@ 7 H) *กกJ? 7*กH) H)D)* ??
IกJI>8I9D 7 @ ก
8 8II)G8 ก>8Dก
9)87*กH) ก
9)87*กH) ก H)
9. E*>H 9:* )K I*DDKGE *>8OM8E*>H @ ก?S?9:ก@8 D@ ) 9:F@D? )ก?
8 9:F@D?@? IGF@D?ก7 >8)j@>jH M8 H))** >8ก D 9@ ) ^*7 E)? H)II)?D*I ก D j@>jH 9: E> กJ j@>jH ATX *> *?Iก@*N8 กDI9Dก8 *กJ >
8> 300- 2000 กJ
9Q)8E*>H ATX
9: 8M? 8>
? * K H?DกI)9ก ) OกJ N@ก7 I)>G
8D)กJ*9?ก M8E*>H ?Gก server ก@ 8?ก@*D I))9:> *8 D@? 4.K9กSHG>E>HJ> D K9กSH GกG>E>HJ>
I ?Iก 9ก>E*@ I9MG EกE>HJ> ก ISP กJ?I)F)JN)*Kก
8F) 8IM>8O> D EกE>HJ>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*@
9E>>H 9:K9กSHก LLSF Hกก LLSE>HJ> กS >8กGF HI9 ก ก@E>HJ>
9)8> *8M89E>>H
9Q)8ก>9E>>H
> JR-45 *>กF)JMก กH)@
8 D? ก*@กJI)
9)8D *> JR-45
9)8M8@
F H I*>กF H Mก F)J 9ก>E? D@*ก@8F)J
9 LLSF H
9)8ก>
8D) กJK9กSH GกG>E>HJ> ?M)8)8D8II) >8 D Kก ก* 9E>>H ?> DI>กJI) M ก *>8กDGF HI9)*ID @?
8D) ก@*
กJ9:ก> *ก ?>E)>
8 server )* clarkconnect >I9 ?)ก N88 กก M กJM 8 ก *ก >I9
ก #ก+77#877"#4 %9 :#7#( ! !"#;"!< กก ? M
กJ9:*8@*8D*?ก MM8 IDDN 8Qก* MM8 >8ก9: ID 8
ก > * I)ก ? M D J>@?กD9:> *8 5 F) >
8> 1 WAN I9N8 4 WAN * 5 9:? 4 WAN> >EK9ก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? MD 1 WAN
> *8 2 ? M 2 WAN D ? M 2 WAN D@ กกกJ@ก 1 WAN 8>EK9กSH กE)D lan card >8G 3 > *@? ADSL Modem 2 > * N7JDFD@) @7H DกJ>กกH กJI)M ก กก Ij *@@H ? 2 WAN 8 8@กI)10-20 10 8
9)8? M 2 WAN
> *8 3 ? MD 3 WAN ? M 3 WAN GกH)@ 4> * F)J 3 > * 8 8@กI) 20-30 30 8 กS 8@ก 30 8?>8E*E7H ก> * ?**E7H
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กก ? MM8 M8 N I99?KกHG? M8I) >I9กJ?9:>
8 F)J9: Bridge mode D กJM 8
ก # ." <"/=! Bridge Mode D กJ?9:กก>
8F)J9: Bridge Mode D Clarkconnect 9:> *G> E>HJ>F)>8 D > *8 ?D)กJ? )*ก 8 D? ? G Linksys AG241V2 @?กJ Billion Bipac 5102s > * Linksys 9:>H 4 H> @* *> * Billion >89@8D 9:>H D@ 8 ?> I)ก 89:F)JP) *ก9@8F)J9:>HกJกI)ก http://www.thelordofwireless.com/modules.php?name=Content&pa=showpage&pid=56 E>
8ก @ > *กกJ?9: Linksys ? ก>
8F)J Linksys AG241V2 9l) IE @* EH 192.168.1.254 >8G8 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)@8K)
ก)@Eก 9K
998กJ?FG*HMM** Setting are successful. D9) ก
กJ
@Eก 9K
กJ9: Jก>
8F)J Linksys AG241V2 9: Bridge Mode @* >I9กJ?9:ก>
8F)J Billion Bipac 5102s
ก>
8F)J Billion Bipac 5102s D ก>
8F)J9: Bridge Mode M8 Billion Bipac 5102s
กJ D@ กก@Oก Eก @ IP M8 Billion กJ?Dก ก Linksys 192.168.1.254 9l) IE @*EH 192.168.1.254
D)E?M D User name @? Password กJD)E User name = admin Password = admin ก
กJก) OK ก) OK @*กJ?DjlกM8 Billine ) 89)@8
D@ก Interface Setup กJ?M FD)M8 Internet >F >E? 8ก>K)7>8J9 Encapsulation
)E 89: PPPoE/PPPoA ? D@ก Bridge Mode
@ก Bridge Mode @* กJก)
I)@ กJ9: JE D ก>
8F)J
88KDFD)
Bridge Mode D@ 8>
8F)J9: Bridge Mode J@* >I9กJ?9:ก>E)>
8 Server )* Clarkconnect Enterprise 4.3 D กJ 8
ก # ClarkConnect Enterprise 4.3 > Kก8@*กJM
>ก>E)>
8 ClaerkConnect ก @ D 8I >E)>
8D I9)*FD@) @E 8H) CD ClarkConnect MI98 ?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
N8>8 DEH* linux @*กJ OK
@ก Gateway mode @*กJ OK
@ก DSL PPPoE @*กJ OK
N8M
> Username @? Password @*กJ DNSกJDM8 I) ก ISP >? ) ^*? ME>HJ>II) J@*กJ OK
กD) IP @? Netmask Dก Server
G Hostname @? Domain >>8ก @*กJ OK
N8M
>@ก timezone @ก>Q @*กJ OK
กD) Password Dก Server
N8M
> @ก Partition กJ@ก >Q@*กJ OK
N8M
>@ก>E)>
8 Software ก>E)>
8> *IDกJ@กI)@ DI?@ก> *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@?
.. J7? N8D CDROM ?)8ก8 Dก @*กJก) Enter
D@ 8ก @*กJ?M D>Q@
ก@ 8FD@) Software @? Connect internet
Kก8J SH@*กJN8D @JกE กJ9: J@* D ก>E)>
8 ClarkConnect Enterprise 4.3 Server 8 กJ Server I*G8@* >I9กJ?9:ก GEก @8? ClarkConnect DN )I) 30 *
ก #9#B 08"7$%!"'1'" 0 Clarkconnect D กJ?ก @8? DN ) I) 30 * ID9:ก *@ Eก @ DMI9 @E 8H https://secure.clarkconnect.com/webapp/evaluation.jsp กJ?MDก @8? ) 89
>8 Create New Account กJ Username @? Password @?กJ E-mail M88 >8 Country @ก9: Thailand >8 Timezone @ก9: Etc/GMT+7 ก
กJก)>89K
ก)9K
ก
กJD@Eก
@Eก )Dก Point Clark N8
@*กJ?I)D
8M Key
กJ?I)) 89) ก
กJDI9GJ E-mail M8) ?
) ก@8)DกJ?DJ* )DD8 ก Point Clark Networks Not.
กJ@EกMI9))D@
F9) 8ก>K>8
I) Key@* กJ>8
DกJ99> *@M 305310 @*กJก@ I9 D*J @8? M8 Clarkconnect ก
8
) 8
ก
กJ@Eก
กJ9: J@* D ก@8? D Clarkconnect M8 )I) D กJ 8 >I9 กJ?9:กMI9jlก Webconfig M8 Server ก
ก #"4( Webconfig กJ?9:กM Webconfig @8? Dก Clarkconnect Enterprise 4.3 @?ก>
8 f Dก ? ก ?I9M Webconfig D>
8 IP Dก 8@ก ? F D8E)> 8HM8ก ก
D Desktop @EกM* My Network Pleces @ก Property
กJ?MD 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
88G8)* GM8IDกJM8
? @*กJ@Eก 9K
กJ? Local Arae Connection Properties ก
8 @Eก 9K I)@ >I9กJ) 9l8D8 Server )* Nก>8ID F)@EกI9
EH* cmd @*กJก) OK
@*กJ
@*กJ9l)D>8 Network Connections
ก
กJEH cd \ @*กJ enter G 89l8F)EH* ping t 192.168.1.1 @*กJก) enter
9> *8)8ก9l8D8 server
NM D9) กJ9:ก9l8ก )8* @M Eth1 Nก>8
9> *8)8ก9l8D8 Server I
>NM D9) กJ)8*9l8Dก I กJD@8I@ กH)@ @? ก*?9l8Dก >* * Nก>8@*กJEH https://192.168.1.1:81 G 8 Address M8 IE(Internet Explorer)
ก9) 9:F9ก Internet Explorer V.8
9)8กกM*J9jlก
8ก
กM*J9jlก
8ก
กJ?9:D9) D@Enก
9)8D>@JกEM8 Webconfig
ก9) DEH* root G8 Username >8G8 Password กJ *EH) >
8I*>>E)>
8 Server
J@*กJ@Eก 9K
ก) Continue @*กJ?I)D>D9) กJ? กN? M8 Interface >8
ก9) D *M Interface ?DJN?M8ก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>
8jlก * eth0 กJ?ก@9: ppp0 ?> I)G>E>HJ> @* D กJ 8 >I9?@8? Dก Server M8D )I)ก
ก #B 08"7$%!2:( Server D ?@8? D Server M8DN 8 )I)? K 8 30 * >D)NM Request Key I) ก 3
8ID *@@Kก >@ ) M8 Webconfig D@กI9 Services @*กJ@H Register System
Services>>Register System
9)8@ก Register System กJ? G8D Username @? Password
กJ Username @? Password I)@8? 8*J I7>HM8 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? KG8 8 30 *
D@Eก 9K
กJ9: *ก@8? M8J @* N 8D Server )I) 30 * 30 * @*Dก Server M8 9oLD>8@8D กJN I9Request D*J9 @8? I) ก 7HD8 Request I)
8
8@*?G*EP D กJN Clarkconnect Server G8 )I)>@)*@@ D กJ 8 >I9กJ?9:ก FM Server )* F9ก Putty 8 ) Server M8 D M 8
ก F)*F9ก Putty @*I)@8 Dก Server M8@*GD D กJ>ก )*8 ก F)* Putty ) Server ก >@ I9 D Desktop @*) E @@Eก IM8 Putty
EH IP Address G8 Hostname ก
@Eก
9l)F9ก
8ก F9ก?D7j HกJ I* @Eก 9K
@JกE)* root @? Password >
8I*>>E)>
8 Server
@
EH* apt-get update @*ก) Enter
99D8กJ? )JกJ> )J@*กJ?DQ) >I9กJ>8>E)>
8 cc-devel I*>E)>
8F9กO>M8D
EH apt-get install cc-devel @*กJ Enter
N8>8 กJก) y @*กJ Enter
ก@ 8FD@)JกJ> 9:
FD@) 8IJ@ D
FD@)J@* ก@ 8>E)>
8
M กJ9: *J@? D *@ Gก>E)>
8 cc-devel
?GDJ*กJM ก *J* E>HJ> G? *G*@9?S8G *F8@
>I9กJ>E)>
8 NO-IP *GM8ก?I) FM)@ Server M8I) D?*J9I7HกJ) IG@ E@) ก*
DEH> 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@HJ
ก
กJMI9Fj@H)H)* 8 cd noip-2.1.9-1 @*กJ Enter
cd noip-2.1.9-1 @*กJ?I)) 89)
I@H)* 8 make @*กJ Enter
make @*กJ?I)) 89)
ก
กJEH 8 make install @*กJ Enter
N8>@ก interface ?D noip *E8M D@กI9 ppp0 กJก) 1 @* Enter
ก
กJD e-mail Gก
ก9กJ e-mail M8 G noip G ID กJ DG
? >Dก 8I กJI9 I) http://www.no-ip.com/newUser.php ** P ?Iก@*N8? DI9 ก 8
e-mail @*กJ password ก
กJก) Enter
N8> กJD> N @*กJ Enter
กJ9: *>E)>
8 noip J@*
ก
กJ
8D noip 8 F)EH* noip2 @*กJ Enter
Jกก>E)>
8@*กJDก@ I9 root >)EF)EH* cd /root @*กJ Enter
EH 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 *> * EE
EH> 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@HJ
MI9Fj@H)H )* 8 cd netstat-nat-1.4.9 @*กJ Enter ??กEH8J* EH cd natstat กก) Tab D@กJ?>D8 IG@8ก))
กกJEH 8 ./configure @*กJ Enter
configure @*กJG 8>I9 make
EH make @* Enter
>I9กJ make install
EH make install @*กJ Enter
M กJ9: *Jก>E)>
8 netstat I*DH>ก>8O>I9>E)>
8 Webmin I*jlก Server ก
EH 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) *@MG8กJ EH http://ip-server:10000 ) 8)@8
9l) IE EH http://192.168.1.1:10000
กJ? DD login M
@*กJ Enter
root @?กJ password M88 Server ก
@Eก 9K
DกM
8ก IE ?N*D ก Password I*IDกJ?ก) Yes D No กJI) *G Yes @ก)
M@*กJ?D>D9) กJ9: *J@* ก>E)>
8 webmin Dก CC M8 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 ก ?I9jlก* D@ G ก>
8 DHCP ก Forward Port D DotA I) 9:> D กJM 8 ก ก >I9 .
ก # DHCP ก>
8 DHCP Clarkconnect
Iก M
>8OIก M
>8 E >
8ก @ ) M8 Webconfig D@กI9 Network ก
กJ@กH >D8 DHCP
NetworK >> DHCP
9)8@ก DHCP
Configure Global DHCP Settings @Eก Status D9:
ก
@Eก 9K
กJ9: Jก>
8 DHCP Dก Server M8@* 8ID >I9?
I9>
8*M8 IP Settings ก D กJ 8 .
ก>
8 IP Settings D ก>
8FD)M8 IP Settings
กJ? )*ก 8* Network @? Interface D * M8 Network
กJ กN8N?M8 DNS @?กJ กG Hostname @? ModeM8 Server M8 @?*M8 Interface กJ? กN? M8 Interface M8 Server
*9: eth D ppp ) ^* ก ) M8 Webconfig @กI9 Network ก
กJ@กH IP Settings ) 89)@8
Network >> IP Settings
9)8M8 IP Setting
*M8 Network
กJ? กN?M8 DNS NDก*N?9: )8)8* J>)D8D@K)D DNS 9oLDD 8
8EJ>@*II)@Eก
Multi-WAN กJDN? DNS 9: )8I)Gก
9)8* DNS 9oLD
9)8* DNS 9ก>E >I9กJ9:*M8 Interface IP Settings
กJ? กN?M8 Interface >8O 8 Server M8 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 M8 D@? > * eth1 ?9:> *ก IP Dก *8@M8 eth2 กJก@ 8DK>En*O * ppp0 กJ9:> * >J>> 8
8ก @?
9)8*M8 Interface กS J>8GM89:> *8 eth2 8I กjlก กJ?DK>En*OGID ? ก>J>E กE 8 ก>8>@กF)J I)>
89: Bridge Mode I* eth2 M8 Server ก ก
กJ@Eก9K
M8 eth2
>8 Role @ก9:
ก
@Eก9K
Ethernet กJ@ก9:
ก
@Eก9K
>8 Type @ก9:
? * >
NM8>
Username @? Password G>J>M8 >8
?DIกJI) N?กJ
NI9 D EกE>HJ> Gก? * MTU M8I *> *I Clarkconnect ?DD8 @?กJ>8
N>Enก กJ?9:ก DNS D >F >E N
I>Enก กJ9:ก DNS )*> *8 J@*กJ@Eก 9K
D@ 8ก ก)9K
@*กJ?I) Interface eth2 ก กJ?9: ppp1 > 8ING8I)
>8I9 Enabled Multi-WAN ก 8ก>K* DNS ?9: )8 9:I8 Iก@GDD ก>
8 IP Settings >I9กJ?I99l)กG8 Multi-WAN ก D กJM 8
ก>
8 Multi-WAN @*I) ก *ก ก>
8 IP Settings ก I9@*D กJ ก >8 M8ก>
8 Multi-WAN D ก>
8*M8 Multi-WAN
กJIก กDก 8@Eก 9K กJ9:ก9l)G8 Multi-WAN @* Eก @ ) M8 Webconfig @กI9 Network ก
กJO@กH Multi-WAN
Network >> Multi-WAN
?DJ Statue 9: Disabled GD
D@Eก
N?>8 Status กJ?9: Enabled @
8 กJ9:ก9l)กG8 Multi-WAN @*
Multi-WAN ?9: 8กFD@)
@7H
Dก>8ก 8FD@) @7HกJI>8กJI>8>
8O> >N>8กกJ>กก @*กJกกกD) Rule Dก Multi-WANก >ก ?I9กD) Rule )N8 Weight ก ก
Weight กJกกD)D D ก ?*E8MD Interface GN ppp09:J> กJกD) D กD?I*ก @? ppp19:ก ก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)D8@ก G PC01 IP Address = 192.168.1.101 *E8ก ppp0 M8 Nickname ก
@Eก 9K
G8 IP Address
G8 Interface @ก9:
?I)) 89)@8
กD)D8@กG PC02 IP Address = 192.168.1.102 *E8ก ppp1 G8 Nickname ก
@Eก 9K
G8 IP Address
G8 Interface @ก9:
?I)) 89)@8
D Add Destination Port Rule Dกก>D@M Port
กJIก Dก* Port ?*E8M
Port ?I 8 ?ก> *8D) ก 3 > *8@?ก 8 Ghttp =80 , ftp =21 TV Online =554
G8 Nickname 9:
ก
@Eก 9K
G8 Protocol ?I)) 89)@8
G8 Port
Interface @ก
D ftp @? TV Online กJกD)@ก
J@* D D@ กกก>D@M Port Iก@GD NI99?KกGDก Server M8I)88)@ *H>ก H>?I 8กJกD)>8* @?
ก>
8 Port Forwarding D ? กก ก Forward Port DN Cleat ก DotA I) Eก @ ) @กI9 Network ก
กJ@H@8 Port Forwarding >9)@8
Network >> Port Forwarding
*M8 Port Forwarding D>กJ?Dก 9) D@?
F)ก Forward Port
? Forward
8 TCP @? UDP E>)*8 1 ก9) G8 Nickname DotA01 > TCP > 6001 > 6001 > 192.168.1.101 >@) DQ ก
@Eก 9K
>I9กJEHD)E 9@ TCP 9: UDP
9@ ? TCP 9: UDP
I9
88กJ?I)) 89) ก
กJ8>I9O >*8@ก
ก9D) 15 8 D@กJI9ก 8? EM ก EH@* Forward Port D *J jlกJ@* กJ@I9>
8กD>8ก port >
8I*)* ) ^*? II) ก>
8กกJ9l)กM
@กI9 Option
@กI9 Gameplay
D H> I) Forward Fort I* G8 Game Port D9? I9D Kก8?
ก
กJ OK กI)@ 8 กJN ก DotA I)@* D กJ ก >I9กJ? I9jlก Squid >>E)>
8
I)@ก>E)>
8)*
ก # SQUID WEB PROXY D ?I9jlก Squid ก D Squid > * 9:*HG 2.5 M8 CC > >E)>
8
I)@ก>E)>
8 Web Proxy I9)*) 8
jlก 8>ก ก DNG8I) @*) ^*?I9 >E)>
8 Squid 2.6 78 กjlก @? )ก* @?NกJ JกI)ก Kกก กJE@8ก @) ก* ) M8 Webconfig @กI9 Software ก
O@H@8 Web Proxy >9)@8
M@*กJ?MDjlกM8 Web Proxy ) 89) ? 8ก>KDJ* Squid 8II)8 ? Status 89: Stopred D@Eก 9K
@?กJ@Eก
D Squid Kก
8D@ 8 >H Server
@Eก@* Status กJ?9: M *D9)
กjlก
?9@ ? Transparent Mode ก
9:
?>8O) ^*
>>E)>
8 Squid 2.6 ) ^* ?9@ D8? Squid 2.6
กjlก8) @* D Squid 2.6
KS Naninternet 9:กDI)G8ก >8MM KS Naninternet S Fก )*? Dก Eก>E)>
8 Server )* Ubuntu กJ>E)>KS Naninternet I) http://www.icafethai.com/ M8ก > >
8 Transparent Mode 9:
@*กJ@Eก 9K
กJ9: J
E D ก>
8 Web Proxy 8>*M8*J9jlกก
@* >I9กJI9>E)>
8 Squid 2.6 M8 Naninternet >?I)>8ก *ก>E)>
8 Squid 2.6
?>8GF9ก WinSCP 8Ij@HM
Server @?F9ก Putty 88 > @*I)กG8F9ก Putty I9 8@**D8 กJ ?G8
88F9ก@ กJEก @ ) กกJD9l)F9ก WinSCP )*FD@)กJ I*@*
M Dก 8II))*FD@)กJI9 http://winscp.net/eng/download.php กJFD@)กJ I*7?? >8G89: 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)?)*ก*@G8 >กIj@H@*กJ?I)) 89)@8
>กIj@HJ@*? 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
ก
กJ9l)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) )7o8M88 F )M*o8 8 Server
D@กIj@H squid-2.6-s16.rpm I9F9ก WinSCP o8M88 Server ) 89)
ก
กJ9l)F9ก Putty M @JกE @*กJ EH 8 rpm -Uhv squid-2.6-s13.rpm >9 )@8
EH 8J@*กJก) Enter Eก>E)>
8@
>E)>
8J@*?I)D9) >E)>
8J@* Squid 2.6 ? 8ING8I)?Ij@H squid.conf >กกก I9 /etc/squid ก ก ?@กI9D J squid.conf > *กกF)ก 9@ GD9: squid.conf.ori jlกE)@)?I)ก@ GI) ก
F9ก WinSCP D@Eก กFj@H)H root
กก root @*กJ? Fj@H)H>8OM8? DMI9 Fj@H)H etc @
ก
กJMI9Fj@H)H squid >9
ก9?DJIj@H squid.conf > *)ED9@ F)@EกM* Ij@H squid.conf
ก
@กI9 Rename
9@ 9: squid.conf.ori >9
ก
กJ@ก Ij@H squid.conf > * >กIj@HI* )J9 I)@>9)
@Eก 9K
ก
ก@ I9 F9ก Putty EH service squid restart )D squid.conf 8
8 service squid restart @*?I)) 89) กJ9: J@* D ก>E)>
8 Squid 2.6 8 กJ I) Squid I*กJ Jก *E8 http ก @* ก
ID9:ก *@กJI9>E)>
8 Frox ก >@
ก>E)>
8 Frox
กJ?GD@ กกDก>E)>
8 squid 2.6 @กIj@H frox Fj@H)H) *ก ก Squid D@? I9o8 Server ก ?@กI9Dก@ I9 Fj@H)H root D)Eก F)@Eก
I9 root
@กIj@H frox_addons_clarkconnect-1.5.tar.gz I9o8 Server >9
ก
กJEH 8 F9ก Putty > tar -xzf frox_addons_clarkconnect-1.5.tar.gz ) 89)
ก
กJ cd frox_addons_clarkconnect-1.5 @*กJ Enter
กJ?MFj@Hfrox ) 89)
EH ./install @* Enter
กJ9: *JM
>ก>E)>
8 >I9กJIj@H frox.conf I9* /etc/frox @ก Squid ก
@Eก กกFj@H)H root ก
MI9 etc @?กJ frox >@) DกDFj@H)H frox IDก) jF9ก WinSCP กJ? frox ) 89)@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* )J9I9>97?
@Eก
?I)>
8 service frox restart F9ก Putty Frox D ก
8
J@*กJ?I)) 89) 9:*Jก>E)>
8 Frox กJ Jก *E8H> 21 D ftp 8
9:I8 Iก@GD >I99:ก>E)>
8 Firewall Dก Server F) Firewall G
?GM8KS>8? กJG Dก @?กJI 9oLD กJ>กกM)9:)O >8M KSKS>8ก? Firewall I)G8ก Eก @ 9l)F9ก WinSCP ก
8 D 8I9l)กJ>I)@ WinSCP DI9 /etc/rc.d
M@* กJ J M8)EกJ I*@
@EกM*@ก Rename
9@ G9: rc.firewall.local.ori ) 89) ก
DกFD@) firewall F)FD@) http://www.clarkconnectthai.co.cc/download/os/Tong.firewall.V2.6.zip FD@)J@*กJ>กIj@HI* D)J9G
>กIj@H@*?I)Ij@H rc.firewall.local ) 89)
D)E@กI9*o8 Server
@Eก
ก
) En@@Eก rc.firewall.local @กI9ก 9 E)D
D @? )ก9 >8OกJ> * ) * ) G* LinuxThai M KS@K89@ Linuxthai.org D9ก) ) M KS SiamCaFe.net squid DG M KS xxxkung frox DG @? ก 1 กG ก)E ) ก DO
script Tong v2.6 -
8 > Eth
-
E jo8กHG Drop *9
-
E port กH
-
กIM O ก
GI) 5 ? auto @ D)E > *9@ M8E9 New
> *9@ _ ppp |
D eth M8@8I9I)@ ?IDM กกJI) > 7 ก D@?
_?IDI9 net
|
|
|
|
_กD)DFD@) ? 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 I9M8E9
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 DO> Squid M8@8I* D 8D Squid กJ Logfile กJ> *
? M Squid ?กJ file E9 M8*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)@?D8IDFD@)
ก Squid @? Frox > * config M8ก? 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/ !
DD>K NM8 squid D frox DJI* PM D Post I)@?
Install
9l) winscp >> copy 9l) putty
firewall.local >> /etc/rc.d
<
กกJ I*)*? :::
>> service firewall restart
> กJ@E 8HM8@8 @8I9ก) http://www.linuxthai.org/forum/index.php?PHPSESSID=3210e1597b331adcfb177f82f2894fee&topic=852.0
9 >8>8ODMก ? M8@*กJI9 Putty 8 service firewall restat
กJ9: JE D ก>E)>
8 Frox I*กJ Jก *E8 ftp @?
8D) I)ก@*
กJ9:ก>E)>
8 Clarkconnect Enterprise 4.3 9: Internet Gateway I*D Dก M8 ?I)I>8 > 8H 8M> ) * D?D K H8G 8 @? ?กE)M II)@DกI Linuxthai >8M KS@K89)Hก? *J9) OD*กI) ก Server )* Linux I) 8M8 Linux >8O กK@ ) กE)ก กJM Dก@K89)H KS>8 KSE>HJ> MDKก *KM *EL @?*Kก* Kก)*L K) D* 8*Kก I)กก @*?N SERVER )*>8I) @?Dก M@) I) I9
E)@)I>8ก กJMQ S )* M @? .