Professional Documents
Culture Documents
Hot Gate
Hot Gate
http://www.nax.co.th
Hotgate
Hotspot software
http://www.nax.co.th
Welcome
Hotgate , , , Hotspot
(Bandwidth) Log
. 2550
(Server) Fedora Linux
Internet Explorer, Firefox, Safari, Chrome
(Client) Login PC
Windows, Linux Desktop, Laptop, iMAC, Macbook, iPad, iPhone, Android
Hardware Selection
2 ,
-
-
- 3-5
- 1-5
- RAM, Harddisk - RAM, Harddisk
- Tower Rack
- Tower
- Hardware 24
- 24
Tower server
Rack server
Server() Tower
http://www.nax.co.th
10
800 Mhz
1 GB
80 GB
None
2
DVD
10 80
1.8 Ghz
2 GB
200 GB
Type 1
2
DVD
81-140
2.2 Ghz
4 GB
500 GB
Type 1,5
2
DVD
150
3 Ghz
8 GB
1500 GB
Type 5
2
DVD
Modem/Router
Hotgate
ADSL, Fiber,
Leaseline, Satellite internet
RJ45 LAN
(eth0)
LAN Card
LAN Card 2 LAN PCI Mainboard
PCI 2 Slot LAN on Board Dual Gigabit
LAN
: LAN on Board
Network
Hotgate Modem/Router, Switching Hub,
Wireless, LAN
Hotgate LAN 2
Internet eth0 eth1
Switch eth1
IP Address 172.168.1.10/24
172.168.1.200 ()
http://www.nax.co.th
Wireless to Wireless
Bridge
Hotgate
WDS (Wireless
Distribution System)
Monitor/Keyboard
Harddisk
, , Log
. 2550 Harddisk
Harddisk Western Green
Blue Black Seagate
NS
Harddisk RAID
RAID
http://www.nax.co.th
RAID 1
RAID 1 RAID 0
RAID 1 Harddisk 2
Harddisk 500GB x 2 RAID 1 500GB
RAID 5
RAID-5
Harddisk
RAID5
,
RAID-5 , ,
Harddisk 3 Harddisk 500GB x 3 RAID 5
1,000GB = ( Harddisk-1) x Harddisk
RAID
Hotgate Fedora Linux Linux
Red Hat Linux Red Hat Enterprise Linux (RHEL)
Fedora Linux Package
Fedora Linux Red Hat Enterprise Linux
http://www.nax.co.th
2.6.35.9
Kernel Kernel Modified
Layer 7 Filter - P2P
IPSet -
IMQ - (Intermediate Queueing Device)
File System
File System Hotgate
Linux
Partition,boot - ext2
Partition,root - ext4 Linux
Partition,squid - reiserfs Proxy
Hotgate ISO
1.5GB
(Hotgatev1.x.x.iso) Linux OS + Hotgate Package Hotgate
OS
Burn
DVD
- Nero Express ( Write DVD )
http://www.nax.co.th
- ISO
Hotgatev1.0.0.iso
- 4x DVD
Burn
- 100% Hotgate
- Burn Hotgate 4x
- Hotgate
http://www.nax.co.th
Linux OS
Linux OS Process
Reboot
http://www.nax.co.th
- Hotgate 1
-
Actived Key
Hotgate Actived Key Key
Hardware Key 2 Lite, Full
Hardware
CPU
Motherboard
LAN card
RAM
Harddisk
CD-ROM/DVD-ROM
Actived Key
Actived Key
Actived Key
Actived Key
Actived Key
Actived Key
Actived Key
IP Address
172.168.1.xx / 255.255.255.0
http://www.nax.co.th
http://www.nax.co.th
Home
System status
-
-
- Product Code, Actived Key
-
(System resource)
- CPU (%)
- RAM (MB)
- Disk (GB)
/
/
(Users information)
(Service information)
-
Started/Stop
HTTPD -
Squid Proxy -
MySQL -
DNS - DNS
DHCP - IP Address
Syslog - Log .
NTPD -
DDNS - Dynamic DNS
SNMP -
Server mode
http://www.nax.co.th
2
Safe mode -
-
- Update software
-
Normal mode -
Firewalls
-
- Re-configure
Main menu
Home
Users management -
Firewalls -
Status - log . , ,
Print - ,
Refill -
Options -
Users management
Prepaid - ( )
Postpaid - ( )
Group policy -
Users billing -
Users register -
http://www.nax.co.th
(Prepaid users)
Add
Username -
Password -
Select Type -
Unlimit -
Minute - /
Hour - /
Day -
Month -
Group Policy -
Download -
Upload -
Price - Users billing
Match MAC - MAC Address
Match MAC - MAC Address
Auto MAC - MAC Address
http://www.nax.co.th
(Generator users)
Gen..
2
Random -
Counter -
Random
UserVolumn - A
10
UserRange - 3
A 4
Password Range -
Select Type -
Group Policy -
Download -
Upload -
Price - Users billing
Match MAC - MAC Address
Auto MAC - MAC Address
Comment -
Generator User
Download/Upload 1024/512
[1024/512] Group policy
All right reserved, 2012 NAX
http://www.nax.co.th
Counter
Price -
Match MAC - MAC Address
Comment
Counter
3
User Prefix - AAA
4 -
Start 001 -
End 020 -
AAA4001-AAA4020
Password Range - 7 Character 7
Value 3 Month
Group Policy - Group Policy
Generate User
Group Policy
/
http://www.nax.co.th
Group Policy
Policy ID - Group Policy Import CSV
Policy Name - Policy
Download -
Upload -
Prepaid Member - Group Policy
Postpaid Member - Group Policy
Delete - Group Policy Member Group
Policy [1024/512] --> 1024/512
Add List -
1 - Group Policy, 2 - Download, 3 Upload Save
Group Policy
Double Click
Firewalls
Hotgate Bittorrent,
Port, Login (Pass Through MAC)
Normal Mode
http://www.nax.co.th
Layer7 Reject
P2P
Bittorrent, Kazaa
Bittorrent Bit
Hotgate P2P
(Encryption)
Login Reject
MAC Address
Add List
MAC
Address
00:01:01:01:01:01
Add
MAC Reject
Login Reject MAC Reject
http://www.nax.co.th
Login Group
Login Group
Login Group Options -> Properties
http://www.nax.co.th
Web Reject
Domain name IP Address
http://www.test.com 12.124.1.23
Web Reject https (port 443)
IM Reject
Instant Messenger MSN, Camfrog, Yahoo Messenger, Pirch
http://www.nax.co.th
NAT
Network Address Translation
NAT Public IP Address
Private IP Address
Port Forwarding
Forward Port
(DVR), Dreambox,
On-line
Pass Through MAC
Port Reject
Port Port, Domain IP Address
Port 443
http://www.nax.co.th
Wall Garden
www.google.co.th
Not Resolve IP
Address
Status
, , ,
IP Address, MAC Address,
User Online
User Type -
UserName -
Download -
Upload -
IP Address - IP Address
MAC Address - MAC Address
Login Time -
Terminate -
Refresh - User Online
http://www.nax.co.th
User Expired
Reset -
Re-Check -
Delete -
Authentication Log
http://www.nax.co.th
Logout -
Terminate -
Time Usage
(Minute)
UserName -
IP Address -
MAC Address -
Start Time -
End Time -
Time Count(min) -
Activity -
User Type -
Data Usage
2
Web - ( Port 80 )
Firewalls -
http://www.nax.co.th
Web Log
/, , IP Address, MAC Address, Web Address
Routing Log
17 Bitorrent, FTP, HTTPS,
MSN, POP3, SMTP
AP Monitor
Wireless (Access Point) Connected, Lost
http://www.nax.co.th
Bandwidth Monitor
Bandwidth In bound, Out bound
Print User
/ ,
Ticket Designer
http://www.nax.co.th
A4 Laser
Printer, Inkjet Printer, Dot Matrix
Reciept Editor
,
Refill Management
, , ,
Print -
http://www.nax.co.th
Delete -
Add -
Gen -
Refill Volumn -
PG
10
Refill Range - 6
Random
Value Type -
Option
IP Address, , ,
Properties
Process Management
Idle Time -
Rows/Page -
Page Space -
Data Sort -
(DESC) (ASC)
Show Speed -
http://www.nax.co.th
Refill - /
Log Rotation - Log . 1 ( 90 = 3 Day x 30 )
Language -
Show User History -
Popup Login - Popup Static
Register System
Register System - /
Register Speed -
Group Policy
Register Package -
Register Attempt -
Personal ID Verify - /
Protection
http://www.nax.co.th
Postpaid Price
Price/Hour -
Operation
Edit -
Cancel -
Database Tools
, ,
Log Rotation
. 2550
Web Log List -
Routing Log List -
Backup Log Rotation -
Standard Database
,
Select Toggle -
/
auth_user -
prepaid_users -
postpaid_users -
http://www.nax.co.th
register_list -
authentication_log -
data_usage -
time_usage -
web_log -
routing_log -
properties -
refill_item -
refill_log -
dhcp_defination - IP Address
http://www.nax.co.th
CSV
CSV
CSV
Restart/Shutdown
(admin)
Login Theme
HTML jpg, bmp, gif, swf, png
Change Theme - Theme
Add Theme - Theme
Them
Login Theme
http://www.nax.co.th
Squid Management
( ) WWW
Speed Limite & Swap File
Clear Cache Process -
Download Speed / (
)
Max Connection - ()
= 20 () 20
21
Re-Configure -
File Access
()
Delete -
Add List -
MAC
Address
Network Management
IP Address, DNS eth0, eth1
Edit
http://www.nax.co.th
DHCP Information
IP Address
http://www.nax.co.th
IP Reserve
IP Address MAC Address
DHCP IP Address
IP Address IP Address
IP Address
Log Enable
Log . 17
Routing Log
http://www.nax.co.th
Administrator
, ,
Delete User -
Add User -
Change Password -
Update Software -
View -
Edit -
Disable -
http://www.nax.co.th
http://www.nax.co.th
Advance
http://www.nax.co.th
Advance
Linux Hotgate
Linux user: root password: naxserver1234 --> Remote user
MySQL user: root password: $123root$
Hotgate DDNS, ,
Hotgate
2
1. Port Forward Port 22 Port 80 Modem/Router
2. DDNS IP Address
DDNS NOIP
DDNS
DynDNS Dynamic DNS ? (Hostname)
IP Address IP Address
ISP IP Address (Dynamic IP Address)
IP Address
Dynamic IP
IP Address IP Address Dynamic
IP Address
DynamicDNS
( ) IP Address
Hotgate DDNS
DDNS NOIP http://www.noip.com
NOIP
NOIP
http://www.nax.co.th
NOIP
I accept, Create my account
NOIP
(Free) 3 Host
Host
http://www.nax.co.th
Host Hotgate.no-ip.org
http://www.nax.co.th
DDNS
Edit
CSV
1.
2.
3.
4.
CSV Backup
CSV
CSV
CSV Export
UserName -
Password -
Download -
Upload -
Time Value - Unlimit -
Time Unit -
- 0 = Unlimit
- 1 = Minute
- 2 = Hour
- 3 = Day
- 4 = Month
Expired Date - Minute,Hour -
Price - ()
http://www.nax.co.th
Prepaid - Prepaid ( 1)
Postpaid - Postpaid ( 1)
min 1234, Download 1024Kb, Upload 512Kb, 60 7 100
hour 1234, Download 512Kb, Upload 128Kb, 10 15 200
day 1234, Download 1024Kb, Upload 1024Kb, 3 300
month 1234, Download 1024Kb, Upload 512Kb, 1 500
unlimit 1234, Download 1024Kb, Upload 512Kb, 500
post 1234, Download 128Kb, Upload 64Kb, 60
http://www.nax.co.th
/ Group Policy
CSV / Group
Policy Download/Upload g1 (Policy ID) Premium-member
1024KB/512KB
SSL
Clear Text Username Password
SSL
ssl 3
1. Private SSL SSL SSL Certificate
CA dedicated IP address
https://www.domain.com https://domain.com https://secure.domain.com 3 url
https 3 SSL certificate 3
2. Shared SSL SSL Web hosting
SSL certificate
https://secure.yourHostingProvider.tld/~username
3. Self-signed Certificate SSL SSL certificate certificate
file CA browser Security Warning
click accept certificate
Self-signed Certificate
- Username Password -
-
- SSL
- SSL
SSL
SSL Root
http://www.nax.co.th
Text Mode
-
user:root
password:naxserver1234
-
Product code, Actived Key
Support NAX
http://www.nax.co.th
5. hosts
nano /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 Hotgate localhost localhost.localdomain localhost4 localhost4.localdomain4
172.168.1.1 Hotgate localhost localhost.localdomain localhost4 localhost4.localdomain4 < ------
Ctrl+x Y Enter
6. httpd.conf
nano /etc/httpd/conf/httpd.conf
ServerName localhost
<VirtualHost 172.168.1.1:80>
Redirect permanent / https://172.168.1.1/
</VirtualHost>
<VirtualHost localhost:443>
SSLEngine On
SSLCertificateFile /usr/bin/server.cert
SSLCertificateKeyFile /usr/bin/server.key
</VirtualHost>
Ctrl+x Y Enter
7.
service httpd restart
8. SSL
SSL
http://www.nax.co.th
Firefox
http://www.nax.co.th
Login Theme
Login Website, HTML
Login Theme Microsoft FrontPage
HTML Login Theme
HTML
- Login Theme A-Z a-z 0-9_- Login Theme , Theme
- Login Theme Backup Database
-
(Flash) Path ()
- tag img Path
<img src=login_theme/Theme/>
Login Theme login1 login.jpg tag img
<img src=login_theme/login1/login.jpg>
Login Theme Directory
C:\theme\ Login Drive C:\theme\
|--login1.html HTML HTML Code Login
|--login_theme\ Folder login_theme
|--login1\ Folder login1 Theme Folder login_theme
|--login.jpg
Folder login1
|--ai.swf
Folder login1
Code
<object width="570" height="200">
<param name="movie" value="test">
<embed src="login_theme/login1/ai.swf" width="570" height="100">
</embed>
</object>
Login Theme Hotgate
option->login theme Add Theme
http://www.nax.co.th
- login1
- HTML Code
tag <img>
-
login.jpg
- Add Theme
Theme HTML
http://www.nax.co.th
Hardware Recommended
Server
IBM X3200M3
ITEM DESCRIPTION
Maximum Processor = 1
Memory :
Standard = 1x1GB
Maximum = 32 GB
Maximum Slots = 6 slots / PC3-10600 1333MHz ECC DDR3-SDRAM
Hard Disk Controller :
4 SATA Simple-Swap bays
RAID Controller
None (Optional)
Internal CD-ROM drive :
DVD-ROM, No Floppy Disk
Ports :
Front Ports : Two USB (2.0)
Rear Ports : One serial (9-pin), Four USB (2.0), Two Gigabit Ethernet (RJ45) and One Video
Keyboard / Mouse
USB Keyboard / Mouse
PCI Slots :
Slot 1: fullsize,
Slot 2: fullsize,
Slot 3: fullsize,
Slot 4: fullsize,
Slot 5: fullsize,
IBM X3650M3
ITEM DESCRIPTION
Standard Processor = 1
Maximum Processor = 2
Memory :
Standard = 4 GB
Maximum = 288 GB (144 GB max per processor)
Maximum Slots = 18 slot
System Form Factor :
Rack (2U)
Hard Disk Controller :
Support SAS, SATA or SSD SFF Hot-Swap disks
Onboard RAID Controller
ServeRAID M1015 : Support RAID 0,1,10
Optical drive :
No Optical Drive (Options)
No Floppy Disk
Ports :
Front : Two USB (Vers 2.0), graphics (DB-15)
Rear : Two USB (Vers 2.0), One Serial (9-pin), One graphics (DB-15), Two Gigabit Ethernet (RJ-45),
One RJ-45 (sys mgmt) / no parallel port
PCI Slots :
Slot 1: PCI-Express x8, full length, full height
Slot 2: PCI-Express x8, low profile adapter with full height bracket
Slot 3: PCI-Express x8, full length, full height
Slot 4: PCI-Express x8, half length, full height
**can be converted to from 4 x8 slots 2 x16 slots via optional riser
Hard Disk Bays :
Used = 0
Maximum = Eight 2.5-inch Small Form Factor (SFF) hot swap disk bays std
*optional expansion to sixteen SFF hot swap disk bays
Power Supply Units :
1x 460W Power Supply
Support Hot-Swap Reduntdant Power Supply (Option)
All right reserved, 2012 NAX
http://www.nax.co.th
LAN Card
Intel PRO/100 S Desktop Adapter
TECHNICAL FEATURES
Data Rate(s) Supported Per Port 10 & 100Mbps
Onboard Memory 18KB
Interrupt Levels INTA
IEEE Support 802.2 & 802.3
Data Path Width 32-bit PCI
Hardware Certifications FCC B, CE
Data Transfer Mode Bus-master DMA
Controller Processor Intel82550EY
Typical Power Consumption 250mA @ +5VDC
Operating Temperature 0-55COperating Humidity 85% at +55
TECHNICAL FEATURES
Data Rate(s) Supported Per Port 10 & 100 & 1000Mbps
Interrupt Levels INTA
IEEE Support 802.2 & 802.3
Data Path Width x1 lane PCI Express in x1, x4. X8, x16 slots
Hardware Certifications FCC B, CE, UL, BSMI, CTICK,MIC
Data Transfer Mode Bus-master DMA
Controller Processor Intel82572GI
Typical Power Consumption 3.3 W(3.3V @ 1A)
Operating Temperature 0-55COperating Humidity 85% at +55
TECHNICAL FEATURES
Interfaces/ports Details 2 x RJ-45 10/100/1000Base-T Network LAN
Interface Type 10/100/1000Base-T
Connectivity Media Twisted Pair 10/100/1000Base-T
Interfaces/ports 2 x 10/100/1000Base-T LAN
Compatibility IBM Servers
Number Of Ports/channels 2
Brand Name IBM
Data Transfer Rate 10 Mbps Ethernet, 1 Gbps, 100 Mbps, 10 Mbps, 100 Mbps Fast Ethernet, 1 Gbps
http://www.nax.co.th
Troubleshooting
Hotgate
Linux
Hotgate
1. NAX LAGv3.2.1
2. NAX LAGv3.2.1 SQL option -> database tools
auth_user, prepaid_users, postpaid_users
Hotgate
3. Backup Standard Database
SQL
4. Hotgate
Cant connect
, , Shutdown
Cant connect
Support NAX
1. root
2.
mysqlcheck -u root -p$123root$ --repair-database --all-databases
3.
4. reboot
5.
http://www.nax.co.th
root
root Linux ( admin )
root
1. Linux root
2. prompt [root@Hotgate ~]#
3.
passwd root
4.
5.
Hotgate MySQL
Tool MySQL NaviCAT Mysql, MySQL
Administrator
1. Linux root
2.
mysql -u root -p$123root$ mysql
3. MySQL
4.
grant all on *.* to remoteuser@% identified by remoteuser1234;
http://www.nax.co.th
5. exit MySQL
5. Forward Port 3306 (192.168.1.2 eth0)
6. Host (DDNS ) NaviCAT MySQL MySQL Administrator
7. remoteuser remoteuser1234
admin
admin
1. Linux root
2.
mysql -u root -p$123root$ Hotgate
3. MySQL
update site_auth set password_admin=81dc9bdb52d04dc20036dbd8313ed055 where user_admin=admin;
4. exit MySQL
5. admin 1234
root Linux
Linux root
Support NAX Linux Single Mode
1.
2. space bar
http://www.nax.co.th
Fedora (2.6.35.9) E
2
E
Single enter
http://www.nax.co.th
2
B Linux
Linux
passwd root
root
reboot
http://www.nax.co.th
(Shutdown/Restart)
crontab
(poweroff) (reboot)
1. Linux root
2.
nano /etc/cron.d/process enter
3.
1 6 * * * root /sbin/reboot
1 8 * * * root /sbin/poweroff
4. 06.01
5. 08.01
root
/sbin/reboot
1. Firewalls
2. Log enabled
3. / Squid Proxy
4.
IP Address
http://www.nax.co.th