Endian Firewall 2.3 Rc1 - Manual Book
Endian Firewall 2.3 Rc1 - Manual Book
Endian Firewall
E-book Firewall
Firewall
...
E-Book
Thaiadmin
PM DM
Link
(
.. ^o^ )
... E-book
!! E-book
...
Somhpong Ph.
Soi62@ThaiAdmin
13 Oct 2009
.
....
ref : http :// www . thaiadmin . org / board / index . php ? topic =112996.0
Part 3 :
config Firewall
config system access
config outgoing
Part 4 :
4.1 Proxy (Neoboyd@Thaiadmin)
4.2 Contentfilter block
, (tototyt)
Part 5 :
config Logging Log
Log
Part 6 :
Config VPN server
Open VPN Client to Site (tototyt@thaiadmin)
Open Vpn Site to Site (tototyt@thaiadmin)
IPSEC
Part 7 : Network
7.1 Interfaces : ( Link )
Part 8 : Service
8.1 DHCP : IP Address
8.2 Traffic Monitoring :
Ntop
8.3 Quality of Service Devices (QOS) :
Part 9 :
FAQ
Part 10 :
Appendix ()
Credits ()
Part 1 :
Endian Firewall (EFW) Overview
Dashboard
Quality of Service and Bandwidth Management
Other....
- Traffic-based Hotspot tickets and automatic user generation
- Event handling and notification
- SNMP support
- Revamped Mail Security
1.
2.
3.
4.
5.
EFW? ?
1. Firewall
EFW OpenSource
2. Linux
config Web Browser***
3.
3D
4. consult,
config
5. community ThaiAdmin
" 5
^o^ "
Web Browser : Internet
Explorer, FireFox, Safari, Chrome, etc...
***
Download EFW
...
Endian Firewall Community 2.3 Release Candidate
123 MB. download
ISO ISO
CD CD
speed
4x ~ 12X
Hardware
Endian Firewall Community Edition
1. Zone
network
2.
Linux operating system Linux.com article for
more details.
CentOS 4.6 operating system.
CentOS
driver version linux
Computer
Endian Firewall
Network
25 Vpn 5 connection
...
Recommend Spec :
Pentium 3.1 GHz.
50
vpn 10 connections :
Performance Spec :
Pentium4 2.8 GHz. up
1~4 GB. RAM up
20~80 GB. Hard Disk Drive (Caching, Logging)*
4 x 100 Mb. Network Cards (Green, Red, Blue, Orange
)
24 hrs. x 365 days
*Caching :
ISP Client EFW
ISP
*Logging : Log EFW .
90 ...
1. CD
CD-Rom Drive
Boot
CD-Rom Drive ....
2. Enter
Enter
..
3.
Enter
4. EFW
HDD Endian
Yes Enter
5. console
Serial Yes
Green ....
No Enter .....
6. 5-10
7. IP Address
Green
().... Enter
...
8. IP Address Eject CD
...
EFW
10. Shutdown 10
11.
CD .... ?
12. config
13.
Green IP ....
0-Shell : linux
2-Reboot : EFW
....
Endian Firewall
Config http://
ip 7
IP Green
1. >>> config
2. English(English)
Asia/Bangkok
3. Accept License
4. Restore Backup
Endian Firewall Restore
NO >>>
Restore Yes
>>> Browse Config
Backup
5.
Remote SSH
6
6. Red Interface
Internet
1. Ethernet Static IP
IP
2. Ethernet Dhcp IP
IP DHCP Server
IP
4.
5.
6.
7.
Fix Dynamic
Adsl USB PCI adsl interface usb pci
3
driver
ISDN
digital
Analog/UMTS Modem
UMTS*
Gateway Endian
Internet Nat
router
-
UMTS
2 Mbit/sec -
EDGE 4
7. Network Zone
Zone
Blue Orange ...
1. Orange Zone DMZ
Server Map Public IP
ISP
2. Blue Zone Wifi Zone
8. Internet
8.1 Red interface Ethernet Static
1. IP address ip
Internet Leased Line Adsl
Fixed IP Ip 1 IP
address Subnet Mask
2. Add additional Addresses(One IP/Netmask or IP/CIDR perline): IP
Leased Line IP 8
1 Network Class, 1
Router, 1
Broadcasting 1
Endian Firewall IP 4
Map Orange Zone Server
172.16.1.10/255.255.255.0 172.16.1.10/24
3. Interface
4. Default Gateway Internet
5. >>>
1. Interface Internet
2. Add additional Addresses(One IP/Netmask or IP/CIDR perline):
Adsl Corporate Premium IP
1 ip
Concept username password
authen IP
Add additional Addresses(One IP/Netmask or IP/CIDR perline):
Online Adsl IP
Dynamic
3. Username
4. Password
5. Authentication PAP or Chap
6. MTU packet
8. Service ISP
9. Concentractor Name
10. >>>
2. ISP
PPPOE
>>>
3. VPI / VCI
3.1 VPI (
ISP )
3.2 VCI (
ISP )
3.3 Encapsulation LLC
3.6 Username
3.7 Password
3.8 Authentication PAP or Chap
ISP
VPI
VCI
Cslox
35
Samart
35
TOT
32
True
100
TT&T
33
CATTELECOM
33
Buddy BB
35
8.5 ISDN
1. Modem ISDN
2.
Internet
Usename
Password
Authen PAP or CHAP
3.
4.
5.
6.
3.
4. Access Point
5. Username
6. Password
7. Authen PAP or CHAP
8.7 Gateway
IP Internet
>>>
9. DNS Server 2 (
DNS
) >>>
DNS Server
HiNet by CAT :
DNS : 202.129.27.135 / 61.19.245.246 / 61.19.254.134
HiNet by TTT
DNS : 202.129.27.135 / 61.19.245.246 / 61.19.254.134
TTT ( 3BB )
DNS : 202.69.137.137 / 202.69.137.138
TOT
DNS : 203.113.127.199 / 203.113.24.199
True
DNS: 203.144.207.29 / 203.144.207.49
10.
...
1. Email
2. Email Endian
3. smtp server
>>>
12.
13. Browser
http:// IP Green Zone
Part 2 : Network
Network EFW
2 : Endian Server
Zone DMZ 2
3 : Endian
Zone 4 Zone Endian Firewall
4 : Endian Firewall
Gateway
log internet
Traffic Mornitor
internet
Manual
1Wan(RED) + 1 Lan(Green) Leased Line Adsl
Config
Requirement Adsl
2 Config Adsl
Endian Config Red
Main Uplink Internet
Internet
1. Login Dashboard
Interface
UP
Online Config
CPU MEMORY HDD version
log build
Uplinks
Connect
2.
internet
log Authentication
IP 2 Fix
Dynamic IP Set Fix
DHCP
IP
Endian DHCP
Static DHCP
Add a fied lease
Fixed lease 3
1. Computer Name
2. Mac Address
3. IP Mac address
IP
IP
1. Setup Tcp/Ip
2. Mac address 1 IP 1
3. IP Set manual
Dhcp Fix Lease
internet
Endian Firewall
Iptable routing port firewall
Port Forwarding/Nat Outgoing
Firewall
Source? --> Destination? Service? Policy? Actions
*** update concpet forward server client
***
Firewall -> Port Forwarding/Nat
Part 4 : Proxy
4.1 Proxy
(Neoboyd@Thaiadmin)
Proxy download
internet Proxy server
1 Endian
Proxy
1. Client
Endian
2. Proxy Client
Browser Concept Browser
IP Port Proxy-Server
3. Endian Firewall version 2.3 rc1
Automatic Configuration Script
proxy.pac Script
proxy
address proxy.pac
http://Ip endain/proxy.pac
Domain Group Policy
set proxy client
Admin support
1.
2.
3.
4.
5.
6.
7.
1. proxy msn
2. username password user
3.
Proxy Enable proxy
5. Proxy
Green Orange Blue
2. Transparent internet
Authentication
Proxy Setting
7. Authentication
Local username password
Endian Windows Authentication Ldap
Window Domain Radius
Server Endian Username
Password Radius Server
Authentication Local
1. Authentication Realm
2.
3.
4.
5.
6.
7.
8.
login
proxy
Number of Child Authentication children login
4
Min Password Lenght
user
Manage User
user
Manage Group User
user password
create user
User Group
3. Policy
1. Source Type Policy
Any Authentication
Internet
2. Destination Any
Authenticaiton user
internet
3. Authentication
Allowed Users
4. Time Restriction
Policy
Reboot
login
user Set
internet login browser username password
1.6
Create profile Update profile
Add access policy
Filter profile
Profile
: Policy
Part 5 :
config Logging
Log
FAQ
Q: EFW "GRUB
Loading Stage 2 ......" EFW ?
A: EFW
console
Serial port port
...
Serial port BIOS EFW
Q:
A:
Q:
A:
Q:
A:
VPN host-to-net 1
(LAN)
Internet LAN
(Internet)
LAN
LAN
VPN
Server
1. Endian Firewall Community Web Browser
(https://server_ip_address:10443)
5. Accounts
Add account
8. Advanceed
6 Save and restart
6 Advanced
9. Download CA Certificate XXX.cer
Client 7 (
IE 8
xxx.cer (xxx
) Firefox Google Chrome
xxx.pem
2.
OpenVPN client
Default Options
C:\Program Files\OpenVPN
3. Icon
Taskbar
4. client.ovpn C:\Program
Files\OpenVPN\sample-config C:\Program
Files\OpenVPN\config
5. VPN Icon 9
Edit Config
C:\Program Files\OpenVPN\config\client.ovpn
6.
( config
copy config
client
dev tap
proto udp
10
2. Connect OpenVPN Icon Taskbar
11
11
3. IP Address Server
IP pool 12
12
4. OpenVPN Server
user
13 kill
CA
Server
(
)
1. Server IP Client
IP
IP Dynamic IP pool start
address Restart
Connect
IP
2. Connect
Firewall VPN traffic Enable VPN
Firewall
rule
Open VPN
1. Webconfig Endian
Forward Router
6.
IP Address
7. Sharing folder
Protocal UDP TCP 6
client 6
8. IP
Class A 10.0.0.0/24 Endian 2.2 IP
Client VPN
192.168.0.0/24
Bug
2 Site A Site B
Site
Site
Site
IP Private IP Site
VPN OpenVPN
Open Source
OpenVPN Endian Firewll
1 VPN host-to-hots
Server Site A
*
Host-to-Net Client To Site
4.
Firewall Community
Web Browser (https://server_ip_address:10443)
vpn
Openvpn Server
Tab Server configuration
Dynamic IP pool start address Dynamic
IP pool end address IP Address
(LAN)
( Roadwarrior )
2 Server configuration
5.
Save and restart
2
6.
Accounts
3 Add account
3 Accounts
7.
Username Password
checkbox Direct all client traffic through the VPN server
4 Save
8.
Restart OpenVPN server
5
5
9.
Advanceed
6
Save and restart
6 Advanced
10. Download CA Certificate
XXX.cer
Server Site B
7 Download CA Certification
Status Services
STOPED
RUNNING 7.1
Server Site B
1.
Site B
OpenVPN client (Gw2Gw)
Add tunnel configuration
- Connection Name :
Bridge to : GREEN
Protocol: UDP
() CA
11
Siate A
Connection status and
control 12
IP Address
Global
settings VPN Server Site B
Status Site B established
13
Client
VPN Server
Site A
13 Status Site B
* Site A
Site B
established
2. Connect ( Status established ) Ping
- ......
Part 7 : Network
7.1 Interfaces : ( Link )
7.1.1 Uplinks manage
*
Intranet
Loadbalance
Lan Card Drivers Lan Card
Route Endian Firewall
7.1.1- 1
2.
3.
Create Uplink
7.2 Routing
( Policy Routing )
Routing
7.2.1
1. Tab Static
7.2.1-1
3. Add
Route
7.2.2 (
1. 7.2.1
()
7.2.2-1
7.2.2- 1
IP
Part 8 : Serveice
8.1 DHCP : IP Address ( Dynamic Host
Configuration Protocol )
DHCP
IP Address
8.2.2- 1
8.3.1 :
Devices
: Quality of Service
8.3.2 :
Classes
8.3.3 :
Rules
: Quality of Service
Quality of Service
Part 9 : QQ
Tip
1. Restart
- password password
"endain" ( " ")
- password root
# passwd control password
- password admin config web
# htpasswd /var/efw/auth/users admin
- update
" configure
Tools -> Options -> Advance -> Encryption -> View Certificates
Servers ip address endian firewall
Servers
Authorities efw-xxxxxx
"
NinNin
http://www.thaiadmin.org/board/index.php?topic=121955.0
Noktualek
Part : 10
Referrence
http://www.easyzonecorp.net/network/view.php?ID=241
http://www.itwizard.info/technology/linux/efw/ovpn_host_to_net/efw_ovpn
_host_to_net.html
http://samba-beginner.blogspot.com/2009/01/setup-openvpn-endianfirewall.html
http://samba-beginner.blogspot.com/2009/02/openvpn-endianfirewall.html