IPBrick Manual - Referencia - ENV5.2
IPBrick Manual - Referencia - ENV5.2
IPBrick Manual - Referencia - ENV5.2
Reference Guide
Version 5.2
iPortalMais
February 2010
2
Copyright
iPortalMais
c
All rights reserved. February 2010.
The information in this manual is subject to change without prior notice. The
presented explanations, technical data, configurations and recommendations are
precise and trustful. Nevertheless, they have no expressed or implied guarantees.
2 Before Starting 17
3 IPBrick.I 21
3.1 Machine Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.2 Machine Management . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.2.1 Mass Operations . . . . . . . . . . . . . . . . . . . . . . . . 24
3.3 User Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.4 Users Management . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.4.1 Mass Operations . . . . . . . . . . . . . . . . . . . . . . . . 31
3.4.2 XML-RPC management . . . . . . . . . . . . . . . . . . . . 33
3.5 Domain Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.5.1 Configure . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.5.2 Users Management . . . . . . . . . . . . . . . . . . . . . . . 36
3.6 File Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3.6.1 Individual Work Areas . . . . . . . . . . . . . . . . . . . . . 38
3.6.2 Group Work Areas . . . . . . . . . . . . . . . . . . . . . . . 39
3.6.3 Kaspersky . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
3.7 E-Mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
3.7.1 Configure . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
3.7.2 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
3.7.3 Queue Management . . . . . . . . . . . . . . . . . . . . . . . 50
3.7.4 Users management . . . . . . . . . . . . . . . . . . . . . . . 51
3.7.5 Mailing Lists . . . . . . . . . . . . . . . . . . . . . . . . . . 55
3.7.6 Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
3.7.7 Anti-Virus . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
3.7.8 Anti-Spam . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
3.8 Print Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
3.9 Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
3.9.1 Remote . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
3.10 Terminal Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
3.10.1 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 74
3.10.2 Client configuration . . . . . . . . . . . . . . . . . . . . . . . 77
4 IPBrick.C 81
4.1 Firewall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
4.1.1 Available Services . . . . . . . . . . . . . . . . . . . . . . . . 82
4.1.2 Block Services . . . . . . . . . . . . . . . . . . . . . . . . . . 83
4.2 Proxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
4.2.1 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 84
4.2.2 Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
4.2.3 Kaspersky Proxy . . . . . . . . . . . . . . . . . . . . . . . . 94
4.3 VPN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
4.3.1 PPTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
4.3.2 SSL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
4.3.3 IPSec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
4.3.4 GRE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
4.4 E-mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
4.4.1 Advanced relay . . . . . . . . . . . . . . . . . . . . . . . . . 107
4.4.2 Get Mail from ISP . . . . . . . . . . . . . . . . . . . . . . . 108
4.4.3 Mail Copy . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
4.5 SMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
4.5.1 Configure . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
4.5.2 Routes Management . . . . . . . . . . . . . . . . . . . . . . 111
4.5.3 Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
4.5.4 Sending a SMS . . . . . . . . . . . . . . . . . . . . . . . . . 113
4.6 Web Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
4.6.1 Creating a new site . . . . . . . . . . . . . . . . . . . . . . . 115
4.6.2 Management . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
4.7 Webmail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
4.8 FTP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
4.8.1 Access log . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
4.9 VoIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
4.9.1 Phone management . . . . . . . . . . . . . . . . . . . . . . . 124
4.9.2 Users Management . . . . . . . . . . . . . . . . . . . . . . . 126
4.9.3 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
4.9.4 Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
4.9.5 Routes Management . . . . . . . . . . . . . . . . . . . . . . 151
4.9.6 Music on Hold . . . . . . . . . . . . . . . . . . . . . . . . . . 157
4.10 IM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
4.10.1 Enabling / disabling the IM server . . . . . . . . . . . . . . 157
5 IPBrick.GT 161
5.1 Fax Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
5.1.1 Fax2Mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
5.1.2 Mail2Fax . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
5.1.3 Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
6 IPBrick.KAV 169
This reference guide gives you a detailed description of the following IPBrick
menus:
• IPBrick.I configuration;
• IPBrick.C configuration;
• IPBrick.GT configuration;
• IPBrick.KAV configuration;
• Advanced Configurations.
In the appendix we present the procedure to deal with the Workstation con-
figurations. You will find there, the following configurations
Before Starting
When you open a WEB session with IPBrick you will see a login web page.
After a correct validation, IPBrick allows you access to the main configuration
page. Here you can change the domain and the IP network of the private and
public server interfaces.
Attention: If the communication network, where you are trying to install
IPBrick has already a DHCP server you should deactivate this in order to avoid
conflicts.
IPBrick web interface management is divided into five main menus (Figure
2.2):
• Advanced Configurations.
On the management interface there are some links that allow you to manage
the services:
• Back : Allows you to turn back to the previous page without saving changes;
IPBrick.I
This chapter describes the IPBrick.I menus used to manage the main Intranet
services.
It is divided into the following main sections:
• Machine Groups
• Machines Management;
• User Groups;
• Users Management;
• Domain server;
• File Server;
• E-mail;
• Print Server;
• Backup;
• Terminal Server.
• Group type
– Machines: If you choose this option and Insert, it’s possible to assign
existing network machines to the group;
• Machine count: If the group is a subnet of machines, you can choose the
number of machines for the group;
• Subnet: This field defines the subnet for the group of machines. It represents
the range of IP addresses concerning the defined group.
By clicking Insert, the group is created and its settings are displayed. On
that screen you can see three links: Back to go back to the list; Modify to change
the name of the present group; Delete to remove the machine group. We can see
an example of a machine group at Figure 3.2 and the general list at Figure 3.1
• IP Phone: Hardware IP SIP phone in LAN. The name will be the SIP
username and it will always be associated to the IP address;
• Linux Terminal: Thinclient with remote session to a Linux machine that will
be used with the Terminal Server in IPBrick;
In order to insert a machine you only have to define the type, introduce the
name and IP Address. In this way the machine is registered in the LDAP and
the DNS server. If you fill in the MAC Address field with the MAC adddress of
the machine to be registered then a record is also created for this machine in the
DHCP server.
Note: The machine MAC address can be obtained from the network connection
icon in Windows XP or by executing the order ipconfig /all in the command line.
You can manage a specific machine clicking over its name in the list. You will
get the screen present at Figure 3.4. If you click the link Modify, the form from
Figure 3.3 is displayed and enables you to redefine the machine parameters. If you
click Delete, the machine will be deleted. When all the machines are registered
you can get the list at the main menu (Figure 3.5).
– 1: For Workstation;
– 3: For Workstation + Softphone;
– 14: For Linux Workstation;
– 15: For Linux Workstation + Softphone;
– 16: For Printer;
– 2: For IP Phone;
– 7: For Linux Terminal;
Other fields:
• callerid;
• voip_nat;
• voip_disallow;
• voip_allow;
• voip_dtmfmode;
• voip_subscribecontext;
• voip_pickupgroup;
• voip_callgroup;
• voip_canreinvite;
• voip_insecure;
• voip_athuser;
• voip_fromuser;
• voip_fromdomain;
• voip_mailbox;
• voip_quality;
• voip_call_limit;
• phonedescription;
• idphonetemplate;
• printerdescription;
• printerlocation;
• printerport.
action;computernumber;machinetype;name;groupnumber;ip;mac;password
I;;1;wrk03;;172.29.1.52;00:E0:98:9B:45:06;
I;;1;wrk04;;172.29.1.54;00:E0:98:9B:45:04;
I;;3;softphone04;;172.29.1.57;00:E0:98:9B:45:54;1234
! Attention !:
• The computer’s name shouldn’t contain spaces nor diacritical marks on char-
acters neither punctuation. Its maximum length should be 15 characters;
• It is not allowed to register neither machines with the same name nor ma-
chines whose names are identical with a registered user log in;
There are two pre-defined groups that cannot be deleted or changed. These
groups are:
• Administrators;
• General.
• When inserting new groups their name can be in capital and/or small letters.
• The group name can contain spaces, but can’t have more than 32 alphanu-
merical characters without accents.
• When the user is created, there shouldn’t be other group with the same
name, including domains.
agement of some of the system’s included sites and functions. Therefore he can
never be removed.
• Name: User’s name. Usually it’s his first and last name;
• Server: Selection of the server where the user account shall be created. The
user account stands for the hard drive space in the server where various
user contents are stored, including an email folder, Windows profile and
documents. If there are slave servers they are also listed.
• Work Areas: Partition of the server drive selected to create the account.
The users should be distributed in an equitable way, in order to efficiently
use the available space.
• Quota: Value that limits the user hard drive space in the system. The unit
os measurement is kilobytes. If you don’t indicate a limit value, the user will
have unlimited space to occupy.
At option Extra Options we can define other LDAP parameters for the users
like :
• Employee Number;
• Department Number;
• Room Number;
• Phone extension;
• Employee type;
• Business category.
• When inserting users, only use characters without accents for their name,
login and e-mail address.
• Spaces, brackets, full stops, small and capital letters are possible in the Name
field.
• You are not allowed to use spaces in the Login field. Avoid using capital
letters.
• Every login has to be unique. There cannot be a login with the same name
of a machine registered in IPBrick.
In order to modify some user information you have to click over the name (Fig-
ure 3.13).
In the form where you change the user (Figure 3.15) you can see all fields
that were defined when the user account was created. The only exception is the
• In the generated page, besides from displaying user properties, you can also
delete the user (Figure 3.14).
⇒ Note: The user’s contents (personal files, profile, e-mails) are not elimi-
nated when deleting his registration. They are moved to an administrative share
called BackupX (X representing the number of the work area where the user was
registered, 1 or 2). Only members of the Administrators group have access to
this share from any Windows station. Therefore they have to do the following:
All folders and files deleted in these administrative shares are finally eliminated
in IPBrick.
• name: User name. If more than one word is used the " is necessary;
• password: Insert a user password. Later the user can change it at the
myipbrick site. Note that this field is not present when we export a .cvs file,
so it must be created;
Other fields:
• groupnumber: Group LDAP ID of user;
• idserver: Slave server IP where to create the account. The 0 is for local;
• randompassword: Used to generate random password’s for users;
• sipurl: User’s SIP url, representing the phone near the user;
• mailaccountstatus: 1 for active, 2 for inactive;
• mailalias: User alternative mail address;
• mailquota: Maximum mail account quota in MBytes;
• mailmaxsize: Maximum received message size in MBytes;
• mailforward: It’s a forward mail for the user;
• mailoutoreply: It’s the automatic reply message. The use of " is needed;
• homedrive: Represents the account network drive. The default is Z;
• roamingprofile: 1 for a roaming profile, 2 for a local profile.
• employeenumber: Field that represents the employee number;
• departmentnumber: Represents the employee department number;
• roomnumber: User’s room number;
• pager: User’s page number;
• employeetype: Represents the category for the employee;
• businesscategory: This field represents the employee’s business category
Example of a .cvs file content for mass operations import option:
actionuser;usernumber;login;name;email;accountquota;idworkarea;password
I;10001;jdomingues;"Joao Domingues";jdomingues@domain.com;0;;2;123456
I;10002;jsmith;"John Smith";jsmith@domain.com;0;;1;123456
<value><string>name:username</string></value>
</param>
<param>
<value><string>email:user@domain.com</string></value>
</param>
<param>
<value><string>password:12345</string></value>
</param>
<param>
<value><string>mailalias:useralias1@domain.com;useralias2@domain.com
</string></value>
</param>
</params>
</methodCall>
Note: The first two parameters must be replaced with the IPBrick web inter-
face credentials.
3.5.1 Configure
In this section you define the name of the domain served by IPBrick as well as
this fields (Figure 3.16):
• Domain Login:
– YES: IPBrick will be a Primary Domain Controller in the chosen do-
main;
– NO: IPBrick will not operate as a domain server.
• Default account network drive: The drive where the users account will be
mapped in the workstations side. The default setting is Z;
• Default type of profile: The profile in a Windows workstation is a group of
folders that are stored normally at c:\Documents and Settings\user_login;
– Roaming: In this case, when the user logs out from the workstation,
all the profile folders are synchronized to the user personal account in
IPBrick, located at \\ipbrick\user_login\.profiles. When he logs
in again at the same workstation or at a different one, the profile will
be synchronized back to the workstation;
– Local: The profile will never be synchronized to IPBrick.
⇒ Note: The information on this page is only valid for the MS Windows
environment. The IPBrick Domain Name field is related to the Workgroup or
Domain Name in the MS Windows environment.
IPBrick has two Work Areas by default: Work Area 1 and Work Area 2.
When you click on Work Areas you are given a list of all users and sharing groups
classified by Work Area as well as information about the occupied space in the
system of each individual Work Areas (Figure 3.18).
When you click on a Work Area, e.g.: Work Area 1, you are given a list of all
users introduced in this area as well as the occupied space of each user (Figure
3.20). Each user area is created in the moment you make the IPBrick registration
in IPBrick.I Users Management. In individual workareas we also have the list
of FTP accounts created in FTP menu at IPBrick.C.
! Attention !: If the occupied space in the Work Areas reaches 100%, users
can longer save their data in IPBrick. More over, e-mails are no more delivered to
the users. They stay in the queue until some space is released in the Work Areas.
It is recommended to keep the occupation rate of each Work Areas under 95%.
! Attention !: Enabling the recycle bin for the users is not recommended in
case of small disk capacity.
• Name: Name of the share folder. Try to avoid spaces, characters with accents
and punctuation;
• Browseable: If Yes it will appear in the server browse list. If No the share
will became hidden;
• Name of the recycle bin folder: If you have chosen to enable the pre-
vious option, you can set in here the folder that will be used as a recycle
bin.
Access Permissions
After creating a Group Work Area you have to give permissions to the users
in order to have access to the network share. This is done by first clicking at the
share name as shown at Figure 3.24.
There are 3 different types of permissions:
• None: No access to the share. Users have no access to open a share folder
on a workstation;
• Read Only: Users have access to share folders and its files. Nevertheless,
they are not allowed to change these files;
• Read/Write: Users have access to share folders and its files and are allowed
to change files and save changes.
Permissions are given to individual users or user groups (Figure 3.25). Users
groups are defined in IPBrick.I Group Management.
For example, in order to create a share folder for users belonging to a commer-
cial department you have to take the following steps:
• Create group ”Dept Financeiro”, in Group Management and add the users
of this department to the group.
• Give read and write permissions to the group ”Dept Financeiro”. The other
groups have either reading permissions or no access to this area.
⇒ Note: When defining user group permissions any change in the General
group leads to changes for all the other groups. This happens because all users
⇒ Note: A deleted share is no longer available to users. All files in this share
are moved to an administrative share called BackupX (X representing the number
of the work area where the share was created, 1 or 2) that you can find in the
same Work Area. Only users belonging to the IPBrick Administrators group
can access this folder. It’s possible to access this share from a Windows station, if
you take the following steps:
All files and folders deleted in these administrative share are permanently
deleted in IPBrick.
3.6.3 Kaspersky
Kaspersky Antivirus for Samba Server (file server) is already installed in IP-
Brick. After inserting a valid license (Figure 3.26), Kaspersky Antivirus for Samba
Server is activated and displays the interface with the following links:
• Update: After the license expires you should renew it with a new license file;
• Statistics: Interface with specific statistics about the file server’s Anti-
Virus.
Configuration
General settings:
• Notify from the address: Sender that will make the notifications;
Object settings:
• Packed Files: If you choose this item, this type of file will be analyzed;
• Archives: If you choose this item, this type of file will be analyzed;
• Auto-extraction files: If you choose this item, this type of file will be
analyzed;
• Email database: If you choose this item, this type of file will be analyzed;
• Text format email: If you choose this item, this type of file will be ana-
lyzed.
Scan settings:
• Usar IChecker: If the file was not modified since the last time that was
checked, there will be no new analysis for this file.
Actions Settings: Defines what the Anti-Virus will do with infected and sus-
pecting files or with warnings
• Notify user through winpopup: Notification using the Windows net send
command;
To change settings click on Modify. You can see the configuration interface at
Figure 3.27 and Figure 3.28.
Workareas
By default, work areas are verified when they are opened and closed. You can
set for each share if it will be protected, or not, and if it will be verified when users
open and/or close files, like shown at Figure 3.29.
Statistics
Several statistics are displayed in this interface:
• Vı́rus statistics: The display can be filtered by: Infected files, protected,
corrupted, errors and files where disinfection failed;
3.7 E-Mail
Email is the most used network service in Internet, gradually replacing tradi-
tional mail and fax. The protocol used to send electronic messages is SMTP (Sim-
ple Mail Transfer Protocol) that runs on gate 25 TCP. It enables email sending
for one or several recipients and is implemented by MTA (Mail Transfer Agents).
IPBrick’s MTA is Qmail2 .
SMTP is only capable of sending messages, therefore, users need the POP3/IMAP
protocol to retrieve messages from the servers, these protocols are supported by
all email clients.
2
http://cr.yp.to/qmail.html
• Configure;
• Queue Management;
• Users Management;
• Mailing Lists;
• Statistics;
• Kaspersky Anti-Virus;
• Kaspersky Anti-Spam.
3.7.1 Configure
An important concept about the email server configuration is open relay. A
server that works in open relay processes messages between senders and recipients
out of the server’s domain, that actually can even be non-existent. Obviously,
IPBrick doesn’t work as an open relay, it only forwards Internet emails to domains
that are explicitly indicated.
2. Authorized relay domains: IPBrick forwards all the messages that have
their domains in this list and will be accepted by the server to a queue list.
Messages to other recipients that don’t belong to this domains won’t be
accepted by the server (please see 3 .
4. SMTP Routes: SMTP routes are configured when you want e-mails to follow
a certain way (server) in order to find their recipient. Normally, a SMTP
route is defined by default (showing the SMTP route and leaving the Domain
empty).When the server is not correctly registered with the IP name in the
Internet DNS, you have to define a SMTP route. In this route it should be
either the server responsible for the forward of company e-mails or the SMTP
server of the ISP used by firms to access the Internet. This configuration is
necessary because certain e-mail servers make additional verifications of the
sending server authenticity. If they can’t resolve the server name into the
corresponding IP address (reverse DNS check), the mail may be deleted or
sent back as SPAM. In case no SMTP route is used the server tries to send
the mails in the queue by his own. With the help of the DNS registrations
he tries to find the recipients directly in the Internet.
Each e-mail configuration option has a link to Insert new entries (Figure 3.32).
The domains for local delivery (domains with IPBrick serves) and relay (do-
mains which IPBrick forwards) can be edited and/or deleted. The exception is
3
Only e-mails from the Internet respecting these rules are processed. IPBrick is not configured
as open-relay.
the domain whose name is the same as that of the machine in the local networks
or that of the local domain in the relay.
⇒ Note: To make IPBrick relay e-mails to another server holding the ac-
counts, the firm base domain has to be retreated from the domains served by
IPBrick, since it is a domain served by IPBrick by default.
By default IPBrick only forwards email messages that come from its private
network. If there are different internal IP networks, they should be added to allow
them to send messages.
2. IP address of the route server. Please give attention to the brackets 195.22.133.45.
In the following you are given two examples of configurations, one with an
IP for a specific domain and another configuration for the same domain with the
FQDN:
First Example:
Domain : abzas.miz
SMTP route : 195.22.133.45
Second Example:
4
Fully Qualified Domain Name
Domain : abzas.miz
SMTP route : smtp.exchange.telepac.pt
Domain: domain.com
SMTP route: accounts.domain.com
Domain:
SMTP route: smtp.isp.pt
3.7.2 Definitions
There is a link called Definitions (see Figure 3.33 and Figure 3.34) to define
characteristics of the e-mail server:
• Message maximum size: It’s the global message maximum size of a re-
ceived/sended message
Value by default: unlimited.
• Maximum time to hold the message in the server: Maximum time the
message will be in mail queue
Value by default: 604800 seconds (7 days)
• Maximum number for simultaneous SMTP connections: Number of con-
nections that the server can support
Value by default: 20
• Incoming message timeout: Maximum time to receive a single message in
server. If reached it will timeout
Value by default: 1200 seconds
• Outgoing message timeout: Maximum time to send a single message. If
reached it will timeout
Value by default: 1200 seconds
• Reject emails from invalid domains: The server will reject incoming
mail if the sender’s domain MX record don’t exist, so it will be invalid.
Default value: Yes
• Reject emails from invalid servers: The server will reject incoming
mail if the sender’s FQDN don’t have a reverse DNS record.
Default value: No
– http://www.spamhaus.org/SBL
– http://0spam.fusionzero.com
– http://www.uceprotect.net/en
– http://www.spamsources.fabel.dk/
• Invalid senders: A list with e-mail addresses that are not allowed to send
email (Figure 3.36).
You can delete several e-mails at the same time by selecting the corresponding
checkboxes and clicking in the Delete Mails option. You have to confirm this
action in order to eliminate the chosen mails.
When selecting a mail you can see its complete source. This operation is done
in real time. Therefore is not necessary to Apply Configurations.
! Attention !: E-mails deleted in the queue are eliminated definitely. A email
can stand in queue for a default value of 7 days.
! Attention !: When a message in queue is deleted the qmail service is restarted.
• Default mail: The user default mail address. It’s not mandatory to be equal
to login@domain;
• Alternative addresses;
• Mail quota;
• Forward to;
Alternative Addresses
Alternative addresses (Figure 3.39) allows you to on the one hand to have
practical logins which are easy to manage and on the other hand the confort in
using more personalized e-mail addresses. This way the user can have an e-mail
address with which he identifies himself more.
All mails that are sent to any defined alternative e-mail user address are deliv-
ered to the inbox respectively.
Alternative Addresses:
john_smith@domain.com
john.smith@domain.com
john@domain.com
Whenever you want to you can access the e-mail address list (IPBrick user
e-mail address arranged in groups) and change the names or the user of an e-mail
address. Is it obvious that when you change the user of an alternative e-mail
address new mails will be delivered to the new user while the other alternative
addresses stay with the old user.
Mail Forward
Mail forward allows delivered mails to be sent to the user’s email and other
internal or external e-mail addresses.
To insert a new mail forward (Figure 3.39):
• Insert in the Automatic reply message text area, insert the content you
want. Ex: I’m not at office. Please contact my coleague John Smith.
• Click on Insert;
• Write the address you want in the mail field (Figure 3.40);
• Click on Insert.
After you add a mailing list (Figure 3.41), you have to configure:
• Internal Users List: Set the IPBrick Users that will be part of the mailing
list;
• External Users List: Set the email addresses that don’t belong to the
LAN (Figure 3.42).
In both cases you only have to click Modify to add members to the list.
3.7.6 Statistics
Like proxy and web service the Advanced Web Statistics is used for mail service
too. That generates important statistics for the network administrator like:
• Senders statistics: By top level domain, hosts, received mail and incoming
mail;
3.7.7 Anti-Virus
Kaspersky
The Kaspersky Anti-Virus is already installed in the Email section. You only
have to acquire a license from Kaspersky to activate its management interface.
After inserting the license, the interface displays the following links (Figure 3.43):
• Update: After the license expiration, you need to renew with a new license
file;
General configurations
Groups Management
The group default is already created. If you click on the group, the default
general settings are displayed. If you click on Modify, you can personalize the
following options (Figure 3.45):
The notification rules for any type of object can be changed in Notification Rules
menu, as you can see in Figure 3.46.
In the Filter menu (Figure 3.47), you may set the filter rules/exceptions by the
name of the files or by mime-type.
Statistics
ClamAV
ClamAV5 is included in IPBrick. By default the service is inactive (Figure
3.50), to activate it just hit Modify and choose Yes at Enable configuration.
When activated, ClamAV will filter all he incoming mail through its engine. When
ClamAV detects a virus one of these possibilities may occur, and you can configure
what to do (Figure 3.51):
• Reject E-Mail: The message is rejected and will not enter the mail queue.
The sender will receive a notification;
5
http://www.clamav.net
• Mark E-Mail as virus: The message is marked and enter the mail queue
normally;
• Delete E-Mail: The message is deleted, will not enter the mail queue and
no notification is sended.
3.7.8 Anti-Spam
Kaspersky
Like Kaspersky Anti-Virus, Anti-Spam is already installed, you only need to
apply a license to activate this feature at the communications IPBrick. After the
activation, the following options are displayed:
• Update: After the license expiration, you need to renew with a new license
file;
• To add every email domains of the company that the Anti-Spam should filter
(Figure 3.52);
Statistics
• Spam statistics: The display can be filtered by: Clean files, Spam, prob-
able and blacklists;
SpamAssassin
SpamAssassin6 is included in IPBrick. By default the service is inactive (Fig-
ure 3.56), to activate it just hit Modify and choose Yes at Enable configuration.
6
http://spamassassin.apache.org
• Required Score: For each message arriving, the SpamAssassin filter will
apply rules in order to know if it’s spam or not. The final value will be a
score number. In this field we are going to define the required general score.
The default is 10, so only mail messages that match ¿= 10 will be considered
SPAM;
– Reject E-Mail: The message is rejected and will not enter the mail
queue. The sender will receive a notification;
– Mark E-Mail as SPAM: The message is marked and enter the mail queue
normally;
– Mark and Redirect E-Mail: The message is marked and redirected to
the mail address spam@domain.com (Figure 3.58);
– Delete E-Mail: The message is deleted, will not enter the mail queue
and no notification is sended.
• Body Message Struct: Active for mark’s only. The original message can be
keeped or we can choose to send the original message in attachment, as .txt
These following definitions, regarding specific score rules, are completely op-
tional.
To insert a score rule, we need to hit Insert. The following options are avail-
able:
• Score: Score number to attribute to the rule. Let’s imagine that Required Score
is set to default (10). A rule for example defined with score -1 will be a pass
result. A rule defined with score 20 will be considered SPAM. An example
is presented at Figure 3.59.
At top menu the options Whitelist and Blacklist are presented. At whitelist
we can define authorized domains and emails (example at Figure 3.60). Mail
comming from these origins have a score of -100. At blacklist we can define
forbidden domains and emails. Mail comming from these origins have a score of
100.
2. Description: Simple description about the printer. This field is not manda-
tory;
4. Interface: Interface type used between the printer and the server. There
are 4 options:
• Parallel port;
• Serial port;
• USB port;
• Network printer: Connected to a LAN switch.
5. Device: Used by the printer. This is directly related to the interface. (This
option is only available for interfaces with parallel port, series port and USB
port) (e.g. Interface–>Parallel Port, Hardware ->Parallel Port 1)
After inserting a printer, IPBrick has to put the drivers available for the client
stations in order to finish the configuration. Therefore the printer drivers have to
be transferred to the server:
2. Press the keys [Win]+[R] at the same time and type \\ipbrick;
Now the printer is listed at ”Printers and fax’s” on the client side.
3.9 Backup
Backup consists of copying data from one device to another so that these ad-
ditional copies may be used to restore the original after a data loss event. Usually
this is made from hard disk to tape, DVD or to another disk. Nowadays, paper
is being rapidly replaced by digital files, so organizations need to be aware of the
importance of having a reliable backup system.
3.9.1 Remote
This option enables the possibility of configuring scheduled backups to a NAS7
device or to a rsync server. Rsync is a powerful backup tool included in IPBrick,
that does incremental copies of files/directories to another rsync server.
To add a backup task you must click Insert (Figure 3.63). You will have the
following fields:
Backup definitions:
• Backup Name: It’s the backup’s name.
• Notification E-mail: Recipient that will receive all the backup notifications;
• Job to do: There are two options:
– Copy: It will copy all work areas to the backup device(/home1, /home2,
/home3...);
– Restore: It will restore all work areas from the backup device;
• Periodicity: The backup is always made daily;
• Time to start: Time when the ’Copy’ will start;
The backup method is done using the archiving utility tar. Options
available:
∗ IP address: Backup device’s IP address;
∗ Login: Username that has access to the share;
∗ Password: Share password;
∗ Share Name: Name of the share created in the NAS.
– NAS (NFS): The backup device is a NAS9 with a NFS share created.
The backup method is done using the incremental backup utility rsync.
Options available:
∗ IP address: Backup device’s IP address:
∗ Share Name: Name of the share created in the NAS.
– Rsync Server: The backup device is a machine running a rsync server.
You can see an example of a rsync server configuration in the next
section;
∗ IP address: The rsync server’s IP address.
When a backup task is inserted, we have a Backups List with the following
options (Figure 3.64):
• Name: Clicking on the Backup Name you will have access to these options:
Note: If using the NAS(SMB) backup, the restore option will restore all the
files included, but from the beggining. Note: If using NAS(NFS) or rsync server,
the remote filesystem should be the same that IPBrick is using (Ex: ext3);
9
Network-attached Storage
uid = nobody
gid = nogroup
use chroot = yes
[ipbrick.domain.com]
path = /home1/_shares/ipbrick.domain.com
hosts allow = 192.168.69.199
read only = false
write only = false
5. Save the file and exit from the file editor nano;
6. Start rsync using this command: /etc/init.d/rsync start
Note: A complete network backup solution is also included at IPBrick, sup-
porting tape and disk backup. Link: http://www.bacula.org.
3.10.1 Configuration
First, you have to activate Terminal Server in IPBrick’s web interface. To
proceed with this operation go to IPBrick.I - Terminal Server. To activate,
click Modify and choose Yes;
After the activation, you may configure terminal server in this fields:
• Display [2 to 5]:
• Keyboard model: It depends on the number of keys. These are the available
options:
– pc101;
– pc102;
– pc103;
– pc104;
– pc105.
• Keyboard layout:
– de: german;
– es: spanish;
– fr: french;
– pt: portuguese;
– us: english.
• Mouse protocol: Type of protocol used by the mouse in the client station;
• Printer [0...1] type: Sets the printer type you want to use;
– 1768x1024;
– 1024x768;
– 800x600;
– 640x480;
Boot Systems
To load Boot systems (Kernel) click on kernel link (Figure 3.67). The following
fields are displayed:
Boot system configuration:
• Description: Kernel text description;
• Kernel: If you click Archive you should select the Kernel file from the above
link.
In the next step you have to choose the boot loader. If the thin clients support
PXE boot, choose the following boot loader /pxelinux.0 (Figure 3.68).
Operating Systems
To load the Operating System you have to click in top menu on OS (Figure
3.69), and after that click insert to display the following options:
• Operating system: If you click Archive you should select the OS version
to run.
debian_ltsp5_BOOT_final.tgz
debian_ltsp5_OS_final.tgz
For older versions of IPBrick you need the files root.tgz (OS) and 2.6.9-ltsp-3.tgz
(Boot system). A full configuration example to boot from a PXE thinclient can
be viewed at Figure 3.70.
Machines
If the terminals are registered in IPBrick (IPBrick.I - Machines Management)
you may personalize configurations for a terminal in the machines link (Figure
3.71) by selecting if the default options set in the top menu of configuration are
going to be used.
After loading the boot system(s) and the operating system(s), you should click
Back and Terminal OS and choose the Kernel and the Operating System you want
to use.
After making these changes you have to confirm them by clicking the F4 key.
This procedure makes sure that the client machine will boot from the network.
After the client machine rebooting, this machine will boot through IPBrick.
Note: If the login screen of Linux graphic interface appears after the booting
, you have to restart X Server with the keys [CTRL] + [ALT] + [BACKSPACE].
If the same window appears even after the restart, it is possible to validate with
user ltsp and password ltsp.
Several screens may be active for the same client (depending on what was set
in the Number of Displays field of IPBrick). Browsing across screens can be made
with these key combinations: [CTRL] + [ALT] + [F2] for screen 1, [CTRL] +
[ALT] + [F3] for the screen 2, and so on.
IPBrick.C
This chapter describes the IPBrick menus used to manage the main communi-
cation services between your organization and the Internet. The menu IPBrick.C
like the one in IPBrick.I is a menu of functional configuration. The IPBrick
Administrator ’says’ what he wants and the software makes the configurations
accordingly and maintains their consistence. This chapter is divided into the fol-
lowing sections:
• Firewall;
• Proxy;
• VPN;
• E-Mail;
• SMS;
• Web Server;
• FTP Server;
• Webmail;
• VoIP;
• IM.
4.1 Firewall
Note: Any rule change done to the firewall implies its reactivation. Even if
the firewall has been expressively stopped a change in one of its rules implies the
restart of the firewall.
• Web Server;
• E-mail server;
• SSH;
• FTP.
The list, Firewall - Available Services (Figure 4.1), indicates the service status
- whether the firewall is configured to let that service work (Active) or it is con-
figured to block those service ports (Inactive).
Note that defining here a service as active doesn’t start the service or stops it.
The single change implemented in the Definitions Update only affects the firewall
service (first it stops, reconfigures and then restarts). In other words, here you can
only configure the firewall to open or to shut the Internet port for a defined service
(whether the service is working is another configuration besides this section).
4.2 Proxy
The proxy service acts as an intermediary for requests from clients seeking re-
sources in other servers. A client connects to the proxy, requesting a file, a web
page or any other resource. A Proxy is commonly used as way to achieve a better
network management; it caches web pages, providing a better bandwidth manage-
ment and enforces an access policy to network services or content, e.g. to block
undesired sites. the possibility to customize web access, etc.
The software that implements the IPBrick proxy service is named squid and
runs on gate 3128.
The section is subdivided into three parts, namely:
• Configuration;
• Statistics;
• Kaspersky Proxy.
4.2.1 Configuration
The presented main proxy configuration (Figure 4.4) determines the normal
operation of the Internet browsers. Therefore it is recommendable to define each
Proxy type first:
1. Standard Proxy: It is not obligatory to use the proxy to access the Internet.
The proxy is only used by those who configure the browser to use the proxy
from the IPBrick port 3128. Users without any additional browser configura-
tions continue to access the Internet without any problems.The web accesses
are registered by IP’s for statistical purposes.
2. Transparent Proxy: Every Internet access is done through the proxy. The
firewall has to be activated. Users may configure their browsers to use the
indicated proxy. They may also continue to access the Internet without any
proxy configurations in their browsers. Here the firewall makes the traffic
routing to the proxy. The web accesses are registered by IP’s for statistical
aims.
Configurations
Link to the proxy rules settings. This interface (Figure 4.5) has the following
options:
• Source groups list: Sets an origin group with access to proxy. After this
group creation, the accesses can be set by: Machine group, Machine, IP
Subnets, IP Machines and IP ranges.By default IPBrick has a LAN group
with its own defined IP Subnet.
• List of time spaces: Sets specific periods based on hours and week days;
• Access Lists: Sets access permissions from the created origin and desti-
nation groups, as well as defined blacklists and periods. For instance, you
can set that all destinations can be accessed by the LAN group, with the
exception of INVALID destination group and blacklist porn, in an undefined
period (always).
• Machine groups: You can associate to this group an existing machine group;
• Machines: Lists the machines that are registered in IPBrick and provides
direct association to the origin group;
By default the proxy has a source group called LAN where only the IP Subnet
is used (Figure 4.7).
If you choose the proxy with authentication mode, it’s possible to filter the
web access’s not only by the machines IP but also using LDAP. In Figure 4.8 we
can see an example of a source group represented only by a LDAP group.
Destination groups
Destination groups (Figure 4.9) are groups of web content (e.g. domains, file
extensions, etc.) that will be defined to be blocked or allowed. This destinations
are configurable by:
FQDN example:
www.sapo.pt
www.marca.es
1
Fully Qualified Domain Name
2
Top Level Domains
Domain example:
sapo.pt
marca.es
TLD example:
pt
es
• Extensions: In order to prevent certain files download through web pages you
need to deny access to some file extensions. The following example shows
that the download of three file extensions won’t be possible.
• Words in URL: You can deny in this field the access to pages that contain
certain words after the domain (after the slash). An example for two words:
Access Lists
There’s already a pre-configured access list in IPBrick specifying this: Attempts
to access sites made from LAN’s origin which aim sites not included in the desti-
nation group INVALID nor the porn blacklist, in an undefined period (24 hours)
are accepted. Because there are no more lines created, all the remaining will be
blocked (Figure 4.10).
• Source: Identification of the origin group that is governed by the rule (i.e.:
a group of users or a list of machines by IP);
bottom (as in the firewall case). If there are several access lists you can order them
clicking on Order by.
Remote Proxy
In this option you can indicate a list of remote proxy servers. These servers
should provide web access because they usually have a huge cache, increasing the
speed of web access (Figure 4.11).
• List of remote proxy servers: You can use several web proxy’s and after
that order that list;
• Dont use remote proxy for the following sites: If you don’t want to
use remote proxy for certain sites, you must indicate them here.
Other configurations
Redirect page in case of denied access
If the access for some site is blocked, the user can be automatically redirected
to the web site configured at URL address;
Blacklists
In this context, blacklists are set as site lists organized by several categories
that are considered inconvenient. You can find here the following options (Figure
4.12):
• Url for update: That URL provides a default blacklist base file that is au-
tomatically decompressed by IPBrick. Each category will have a list of sites
that is automaticaly updated, but it’s possible to do a update clicking at
Update. The proxy service can use other blacklist bases, some with other cat-
egories. Some blacklists can be found here: http://www.squidguard.org/blacklists.html.
• Current file MD5SUM: MD5 Hash of the file if it’s calculated. It lets you
check file integrity;
• Cache enabled: Activates the Proxy cache service. If the cache is activated,
every page accessed by the origin groups are stored in the server. Example:
If the page www.google.com is in the cache, the browser will only access to
IPBrick, instead of accessing the google web server, providing a better band
width management.
• Cache size: Maximum cache size. If the limit is reached, the older cache
files are removed.
• Cache location: The default is the /var partition. If you choose a big
cache size it’s a good option to choose the /home1 or /home2 partition.
Allowed connections
This list presents all the ports that are accepted by proxy. So all traffic com-
ming from LAN machines with destination ports in Internet listed here will match
proxy defined ACL’s. It’s possible to configure witch ports are accepted or not by
proxy with Remove and Add option.
Ignore rules for the following destinations
In this section we can define whitelists for any destinations, including domains
and networks. So for that destinations no proxy ACL’s will be matched.
All this settings can be viewed at Figure 4.12 and Figure 4.13.
4.2.2 Statistics
Advanced Web Statistics is the software that generates several important statis-
tics for the network administrator, like detailed cache statistics, accesses (Figure
4.14).
• Statistics by machine: You have to select the machine you want from a
list of LAN machines. The purpose is to give individual statistics for each
machine;
• Update: After the license expiration you should renew with a new license
file;
Configure
General settings:
• Notify from the address: Sender that will make the notifications;
• Objects to analyse:
– Compressed files;
– Archives;
– Mail databases;
– Plain mail format.
Scan settings:
Statistics
Several statistics are displayed in this interface:
• Vı́rus statistics: The display can be filtered by: Infected files or pro-
tected;
4.3 VPN
VPN3 is a way of extending any network by providing a remote access (usually
via Internet) to a network’s resources.
4.3.1 PPTP
A PPTP4 VPN type works by providing a PPP session with the recipient
through the tunneling GRE protocol. It needs another network connection to
start and manage PPP session that runs on port 1723 TCP. In IPBrick’s case, you
have to indicate who are the users that access VPN-PPTP connections, as well as
the address range that will be used by clients.
Configurations
The link configurations gives you access to a form where you define the range
of IP addresses chosen for VPN connections. Remote clients will get an IP in this
3
Virtual Private Networks
4
Point-to-Point Tunneling Protocol
Access log
The access log option permits the visualization of all PPTP accesses. It’s
possible to filter by:
• IP;
• User;
• Notes:
– Connected;
– Disconnected;
– Wrong password;
– Illegal user;
– Locked;
– Timeout.
• Date;
Options available:
4.3.2 SSL
A VPN-SSL uses the SSL encryption protocol to insure data privacy and in-
tegrity between the two parts because the protocol provides data encryption and
authentication. SSL is based on TCP protocol and uses the Public key cryptogra-
phy concept (introduced by Diffie-Hellman in the 1970 decade).
This concept specifies that each part has a Private Key and a Public Key that can
be distributed by people that want to have encrypted communication. Encrypted
data with the Public Key are only decrypted by the corresponding Private Key.
Encrypted data with the Private Key are only decrypted by the corresponding
Public Key.
After clicking on SSL, the list of VPN SSL servers is shown. To configure the
tunnel you must click on it (Figure 4.19).
Definitions In this section you can configure the definitions of the VPN-SSL
network.
• Port: The port of the VPN server. The default for SSL is 1194;
• VPN Network: The IP network which will be given to the clients. When a
user connects to this vpn server, he will get an IP address in this IP network.
This network should be different from any other IP network in the company;
It will be generated a Digital Certificate for the server and for each of the
clients using the VPN SSL connection. Clicking on Insert you start by the server
Certificate generation. You have to insert data in the following fields:
• Country Code;
• Country;
• City;
• Company;
• Nome: Certificate name;
• Email: Company’s email.
The next certificates shall be for the clients, and it is necessary to fill the
following fields (Figure 4.20):
• Name: Certificate name. Normally the single name of the person/entity that
will connect;
• E-Mail: Client e-mail address;
• Password: A password (PSK) with six characters minimum;
• Associated access policies: The specific client certificate can be associated
to a policy, so we can control for what LAN machines the client will have
access. If none, will got access to all the network routes defined.
Client
In the client side you have to install the specific software to create the VPN
SSL connection- OpenVPN5 . Then you must uncompress the certificate file to a
new directory in
c:\Program Files\OpenVPN\config.
To start VPN connection you have to click on the OpenVPN icon located in the
tool bar with the right button, choose the connection you want and click Connect.
The option Delete All should only be used to restart the all process.
State
This interface shows you the active tunnels and their respective traffic, users
and IP
Access policies
At main menu of SSL it’s possible to create two types of access policies (Figure
4.21):
After clicking Insert and choosing the name, clicking on it will open a win-
dow when it’s possible to choose the destinations (Figure 4.22). The destinations
options include:
• Machine groups;
• Machines;
• IP Subnets;
• IP Machines;
• IP Ranges.
Access log
The access log option permits the visualization of all VPN-SSL accesses. It’s
possible to filter by:
• IP;
• User;
• Notes:
– Connected;
– Terminated/Timeout;
– Blocked.
• Date;
Options available:
4.3.3 IPSec
IPSec (IP security) technology is a suite of protocols that ensure confidential-
ity, integrity, authenticity to data transmission on an IP network. SSL protocol
works at the transport layer level - IPSec operates at the network layer level and
consequently provides data encryption in this level.
To configure a VPN connection between two networks you need to have the
appropriate configuration in origin and destination IPBrick’s for the IPSec tunnel.
The main menu presents the configured IPSec tunnels. To insert a new IPSec
tunnel click Insert. In that page we are going to configure the IPSec connection
(as you may see in Figure 4.23). The following data is necessary:
• General settings
• Keys Management
Router configuration
In case of a VPN IPSec not between two IPBrick’s but between a IPBrick and
a router, at the router side it’s important to know all parameters used by the
6
Perfect Forward Secrecy
IPBrick that are transparent to the web interface. Here are the most important
ones:
4.3.4 GRE
The GRE7 protocol was developped by Cisco to encapsulate a multi variety of
network layer protocols inside a specific IP tunnel. So the main idea was to create
a link between Cisco routers, so two networks can stay interconnected (company
headquarters and branchs for example). In these days the GRE protocol is Linux
supported, so with GRE active at IPBrick, it’s possible to create tunnels between
IPBricks or between IPBricks and Cisco routers.
To set up a new GRE tunnel click Insert. The following options are available:
• General settings
4.4 E-mail
This E-mail section is repeated in both IPBrick.I and .C modules. IPBrick.I
provides Intranet services: Base Configuration, Queue Management, User Man-
agement, Distribution Lists and Kaspersky Anti-Virus and Anti-Spam. IPBrick.C
provides additional services:
• Advanced relay;
• Get Mail from ISP;
• Mail copy.
7
Generic Routing Encapsulation
• Email/Domain
– Email: Insert a invalid recipient that doesn’t have any LDAP account
created and the desired internal domain;
– Domain: Choose for each domain you want to relay all the messages
(catchall option);
This feature normally called fetchmail is useful when the MX from the enter-
prise domain points to another server.
Click Insert (Figure 4.27) to configure a external server that you want to
connect to download email and deliver it in the local server. You have to insert
data in the following fields:
To access server definitions, you must click on its name (Figure 4.27):
To access the management interface of remote mailboxes, you must click insert
and fill in the following fields (Figure 4.29):
5. Local server email: If the individual mailbox is chosen, this field is the
local email account where the downloaded emails will be delivered;
6. Drop ’Delivered-To’: If the email address in ISP is the same as the email
address in local server, this field must be active.
4.5 SMS
IPBrick provides now the SMS10 functionality to send SMS by using a specific
account at Ficom or Vipvoz. The idea is to send one or multiple SMS using an
email client and a special FQDN created for that. So the method can be called
Mail2SMS.
4.5.1 Configure
At Modify hitting Yes will enable the service configuration. At Mail2SMS
definitions we should define the specific domain to use for SMS sending. Normally
it’s used this FQDN: sms.domain.com, replacing the domain.com with the actual
IPBrick’s domain (Figure 4.31).
10
Short message service
– Ficom: The SMS will be sent using XML-RPC method. Contact iPor-
talMais (support@ipbrick.com) to create an account;
– VipVoz: The SMS will be sent to a VipVoz mail account using SSL.
Contact iPortalMais (support@ipbrick.com) to create an account;
• Email for notification reception: It’s the email account that will receive the
notifications with the send result (only for VipVoz);
After the created route, we need to click at the route name to define a prefix
in order to use that specific route. That choosed prefix will be later part of the
number and will match only that route (Figure 4.32).
4.5.3 Statistics
Displays statistics about the sent and outgoing SMS.
Sent SMS
For sent SMS there are that fields:
• Id;
• Send date;
• Sender;
• Destination;
• Order;
• Attempts;
• Route;
• Operator;
• State;
• File.
Outgoing SMS
For outgoing SMS that are pending, the following fields are present:
• Id;
• Sender;
• Destination;
• Order;
• Attempts;
• Route;
• Operator;
• State.
CSV file
Another method to send SMS is to attach a CSV file created in a spreadsheet
program with the columns number and message splited by a ;.
E.g.:
number;message
003519191919191; Hello John
003519696969696; Merry christmas Mike
003519191919191; Meeting at 15:00.
00339696969696; Bonjour David.
00344233333333; Feliz navidad Juan.
To send it, we just need to create a new email message with the destination of
the specific mail account smslist@<mail2sms domain>.
E.g.:
To: smslist@sms.domain.com
Subject: SMS CSV List
Body:
Attach: sms_list.csv
If at the CSV file the message column is empty, the considered SMS text will
be the email message body (if present).
11
HyperText Transfer Protocol
12
For more information please visit http://www.apache.org
1. URL address: It’s the FQDN13 of the new site that will be hosted in the
server. It’s possible to use SSL too. Example: www.domain.com;
2. Alternative URL address: Alternative name(s) for the URL address that
was previously set. This field is not mandatory;
3. Site administrator email: E-Mail of the user that is responsible for the
site management;
4. FTP User: A new user login that will access to the site folder through FTP.
This should be the only login and shouldn’t be equal to another IPBrick
LDAP user. The site maintenance will be made through this protocol.
9. Safe mode: If the site is php based, it deny’s the access of files outside the
site folder location, so it will interfer too with the global variables. It’s the
reason that the default mode is Disabled;
10. Access authorized only to the directories: By default the php have
access to the site folder location and to /tmp but it’s possible to add more
locations;
11. Character encoding: It’s the encoding that Apache will use for the website
depending of the content language;
12. Always keep the typed URL: Allows to keep always the requested URL;
4.6.2 Management
When the site is created if you click on it as we can see at Figure 4.34, you’ll
have these options to choose from:
• Alias;
• Redirect;
• Reverse Proxy;
• Delete: Remove the site from the web server. After clicking on Apply Con-
figurations the site is no longer available online. The files of the site are not
eliminated but moved to the share sites_bk1. This share is the file location
of the removed sites. When IPBrick removes these sites only the services
that are affected are reconfigured and the contents removed to an own share
accessible only to LDAP Administrators. It is like in the user accounts and
group shares;
Alias
Alias or Host Header is a simple form of having access to certain contents that
are physically dislocated from the main directory of the site. Next, we’ll present
these two examples:
In Figure 4.35 we create a web alias for the folder /home1/_sites/www/site/img.
So, going to www.domain.com/es/img or www.domain.com/img will be the same.
HeartBeat linux
Redirect
Redirect allows you to be redirected to a new URL when you type a first URL
in the browser. Some examples:
Reverse Proxy
The reverse proxy is used in front of the Webserver and has the main objective
of redirecting all connections addressed to various Webservers to be routed through
the proxy server. A reverse proxy has the function of dispatching incoming network
traffic to various servers and is totally transparent to the user (he will not know
that a proxy is being used).
• The first example stands for this situation: When someone enters the URL
http://estore.domainx.com they will be transfered to a internal site run-
ning in another server. So the first step is the site creation (Figure 4.41),
and after that the reverse proxy definition (Figure 4.42);
• In the second example the idea is for someone in the Internet that wants to ac-
cess a site running in a internal machine (http://192.168.1.4:85/cgi/site).
To do this we just need to add a new reverse proxy definition at the base
domain (Figure 4.43 and Figure 4.44);
Statistics
Each site in IPBrick uses Advanced Web Statistics to display many statistics
about the site accesses, the same software used for proxy statistics. To access the
statistics just go to IPBrick.C - Web Server, click in the desired site and after
Figure 4.41: Web Server - Reverse Proxy - Example 1 - Empty site created
that go to statistics.
You can get some useful information like you can at left side of Figure 4.45.
4.7 Webmail
The Webmail installed in IPBrick is Horde and can be configured to deal with
other e-mail servers that are not IPBrick. Therefore you only have to specify in
this section which IMAP14 and SMTP15 servers will be used (Figure 4.46).
14
Internet Message Access Protocol
15
Simple Mail Transfer Protocol
To change the servers click Modify. The servers may be identified by their
FQDN16 or their IP address.
If we got a Intranet IPBrick (or another intranet mail server) and a Commu-
nications IPBrick, you need to point the IMAP and SMTP to the internal mail
server address. To use the IPBrick webmail at Internet you just need to:
• Retype Password;
• Access permissions: Can have only read permission or read and write
permissions.
• IP;
• User;
• Notes:
– Connected;
– Disconnected;
– Wrong password;
– Illegal user;
– Timeout/Locked.
• Date;
Options available:
4.9 VoIP
This section deals with the management interface of the VoIP17 service available
in IPBrick.
17
Voice over IP
The VoIP (Voice Over IP) technology allows phone calls through an IP network,
thus enabling phone calls through the Internet. The main advantages for the use
of VoIP are: reduction of expenses because the rates don’t follow the conventional
telephony model; better service quality, since commutation by packs does a better
use of the existing network resources, different from the circuit commutation.
The IP Telephony concept sometimes mixes up with VoIP, but they are not
exactly the same thing. The IP Telephony uses VoIP service and defines itself
as the group of services and applications that allow companies to reduce phone
expenditures.
Signalling VoIP service needs a protocol to signal the calls. The signalling
protocol used by IPBrick is SIP, but there are others such as H.323, MGCP,
Jingle, IAX, H.248/MEGACO etc. SIP18 allows calls and conferences through IP,
and those calls may include audio, video, images, etc. This way, the SIP protocol
is responsible for all the processed calls between users, regardless the content of the
call itself. The IPBrick.GT acts as an authentic PBX IP and it can route the calls
to/from a traditional PBX, Internet, LAN and PSTN. All the PBX management is
made by a software called Asterisk. Asterisk is compatible with several signalling
protocols, including SIP. The routing work is made by another software that is
acting as SIP proxy - OpenSER.
The VoIP functionalities accessible through the web interface are presented
next.
• Caller ID: If you want to mask the caller ID insert the full number;
• Phone Location
18
Session Initiation Protocol
E.g.: For a user with PIN 111 and password 1234 that need to call 003512255443322:
111#003512255443322 or 111#1234#003512255443322
Call queues
If some call queues are configured, a user can be associated as an agent (Figure
4.52). The waiting mode can be as:
• Music on hold: The phone will be immediately part of the call queue. The
user will listen to music until a call is received;
• Callback: Only if the agent receives a call from the call queue, the phone
will ring;
Figure 4.52: VoIP - Users Management - Access classes and call queues
4.9.3 Functions
This section allows you to configure all the IP PBX functionalities splitted into
inbound and outbound services.
Inbound
Call Groups
In this interface (Figure 4.53) it’s possible to define answering groups, (i.e., a
group of telephones which shall ring simultaneously when the access to the group
is made). To define a group it is necessary to fulfill:
• Name: Name for the group;
• Caller ID: Possibility to use a specific caller ID for this service;
• DID: If the IPBrick has a ISDN telephony card, the PSTN DID (Direct
Inward Dial) that will call this service need to be inserted;
– DID: If the IPBrick has a ISDN telephony card, the DID (Direct Inward
Dial) will be the direct PSTN number that will call this service;
– ANA: If the IPBrick has a analogic telephony card, will be the direct
PSTN number that will call this service;
– SIP: It’s the specific SIP address that will call this service;
• Group Members A user can be part of an access class if the configurations
are made correctly.
Attendance seq.
– DID: If the IPBrick has a ISDN telephony card, the PSTN DID (Direct
Inward Dial) that will call this service need to be inserted;
– ANA: If the IPBrick has a analogic telephony card, will be the direct
PSTN number that will call this service;
– SIP: It’s the specific SIP address that will call this service;
• Sequence positions
In this section it’s possible to define interactive answering menus (Figure 4.56).
You need to click Insert to add a new one:
– DID: If the IPBrick has a ISDN telephony card, the PSTN DID (Direct
Inward Dial) that will call this service need to be inserted;
– ANA: If the IPBrick has a analogic telephony card, will be the direct
PSTN number that will call this service;
– SIP: It’s the specific SIP address that will call this service;
• Number of desired shortcuts: Choose how many options does the menu
have;
An IVR can have only an attendance message without any shortcut or direct
access, e,g.: A message just saying that the company is closed, so that IVR can
be used at the scheduling, for example (Figure 4.57).
Call Conference
• PIN: Code which shall allow the users to connect to the conference;
– DID: If the IPBrick has a ISDN telephony card, the PSTN DID (Direct
Inward Dial) that will call this service need to be inserted;
– ANA: If the IPBrick has a analogic telephony card, will be the direct
PSTN number that will call this service;
– SIP: It’s the specific SIP address that will call this service.
Call Parking
Here (Figure 4.61) it’s possible to activate or deactivate the option of calls on
hold.
If this option is activated, it is necessary to define an extension to place the
calls on hold, as well as the virtual extensions in which calls are going to be placed
(Figure 4.62). To access these calls later it’s necessary to press on the telephone
keypad the ”#” plus the virtual extension were the call was parked.
Scheduling
This option (Figure 4.63) allows you to define the daily behavior of the IP
PBX. Usually this is the most important inbound service because from here, we
are able to call all the other configured services.
It is necessary to click option Insert (Figure 4.64) and configure the first
parameters:
– DID: If the IPBrick has a ISDN telephony card, the PSTN DID (Direct
Inward Dial) that will call this service need to be inserted;
– ANA: If the IPBrick has a analogic telephony card, will be the direct
PSTN number that will call this service;
– SIP: It’s the specific SIP address that will call this service.
• Click Insert;
Fields explanation:
• Destination type: Where shall the call be routed if the rule defined next
is equalled. Options:
• Destination: Telephone address or specific service name were the call shall
be routed;
• Hours: Beginning and end hour, from the timetable in which the rule shall
be valid (format hh:mm at each field);
• Weekdays: Weekdays in which the rule shall be valid. If not chosed it will
use all days;
• Month days: Days of the month in which rule shall be verified. If not chosed
it will use all;
• Months: Months in which the rule shall be valid. If not chosed it will use all
months;
NOTE: If you don’t select any hour or days of the week/month, hour or
months, the rule shall be valid respectively for all the day. A rule like this one is
called the default rule;
DISA19 (Figure 4.66) is a service that allows that someone that is not directly
connected to IPBrick or the PBX central, to obtain an internal call sign and
19
Direct Inward System Access
execute calls as if he/she was directly connected to the internal network. The user
calls the access number to DISA and he/she should type a password followed by
the key ”#”. If the password is correct, the user shall hear the sign indicating that
he/she may dial the number. You can also enjoy this service without a password
if you want to. The fields necessary to configure a DISA are:
• Name: Name for DISA;
• Direct access: List of numbers/addresses that will call this service. We
have tree options and it’s possible to use many direct access’s;
– DID: If the IPBrick has a ISDN telephony card, the PSTN DID (Direct
Inward Dial) that will call this service need to be inserted;
– ANA: If the IPBrick has a analogic telephony card, will be the direct
PSTN number that will call this service;
– SIP: It’s the specific SIP address that will call this service.
• Allowed caller ID’s: Callers identifiers list which may accede to this ser-
vice. Insert only one by line.
Callback
Callback feature have the main objective to save costs on internacional calls.
It allows people to call to the IPBrick callback service, the IPBrick will hangup
the call and call back to that number that made the call. That callback usually
will be made using a VoIP operator SIP account, so with a low cost.
– DID: If the IPBrick has a ISDN telephony card, the PSTN DID (Direct
Inward Dial) that will call this service need to be inserted;
– ANA: If the IPBrick has a analogic telephony card, will be the direct
PSTN number that will call this service;
– SIP: It’s the specific SIP address that will call this service.
• Callback type:
1. Callback any number: No matter the number that made the call, the
call will be finished, will ring a defined internal phone and when someone
answer the phone will be made automatically a callback to the origin
number (Figure ??);
2. Callback authorized numbers. Hangup non authorized numbers: For
authorized origin numbers, the call will be finished, will ring a defined
internal phone and when someone answer the phone will be made auto-
matically a callback to the origin number. For unauthorized numbers,
the call will be just finished (Figure ??);
3. Callback authorized numbers. Redirect non authorized numbers:
For authorized origin numbers, the call will be finished, will ring a de-
fined internal phone and when someone answer the phone will be made
automatically a callback to the origin number. For unauthorized num-
bers, the call will be redirected to a internal phone (Figure ??).
• Originate Callback calls from: It’s the internal phone that will ring and
callback the origin number;
• Redirect non authorized numbers to: Internal phone where the calls will
be redirected. Used only for callback type 3;
• Callback timeout: Pause in seconds from the momment tha call is termined
and called back, so the person that makes the call can have time to hangup
the phone. The default is 5 seconds;
• Allowed caller id’s: Will be the authorized origin numbers list. Used for
callback type 2 and 3.
Call queues
Here (Figure 4.70) it is possible to define waiting lines. When calling to the
telephone defined in Direct Access the caller shall be placed on hold if there is
another call to be answered. An answering message may be defined which shall be
heard when the call is on hold. It is also possible to choose messages by default in
Select queue information from the line which may inform the caller about his/her
position in the line and the time interval between those messages.
• Attendance policy: How the waiting line answering telephones should an-
swer the calls:
– Ring all: All available telephones ring until one of them answers;
– Random: One of the available telephones rings by chance;
– Round Robin: Each telephone rings at the time;
– Round Robin with memory: Each telephone rings at the time, but it
remembers which was the last one to ring;
– Least recently called phone: Will ring the telephone that rung a
long time ago;
– Phone with fewest completed calls: Will ring the telephone with
less answered calls.
When a call queue is inserted there are the following options at the top: Back,
Modify, Delete and Members. So the next step is to define what IP phones or/and
LDAP users will be associated to the call queue. Clicking Members you will get a
list of phones and users, like shown at Figure 4.71.
Outbound
Access Classes
It is possible to define access rules for the existing telephones. For that it’s
necessary to click on the connection Insert and fulfil the following fields (Figure
4.72):
• Prefixes: It allows to add to the authorized prefixes list the prefixes which
may be used in the telephones under the access rules. By default all the calls
are blocked except the Authorized prefixes;
Speed Dial
The speed dial allows the association between an internal address and a tele-
phone external to the organization. That is to say, the users call an internal
number (or address) and this is associated to a telephone external to the organiza-
tion. Example: An external alternative address of the telephone 44@domain.com is
created for the destiny address john.smith@another-domain.com. This way, when-
ever you dial internally 44, the call shall be re-addressed to john.smith@another-
domain.com.
Choosing Speed Dial and clicking Insert we have two fields (Figure 4.74):
If the IPBrick have routes, it’s possible to insert in speed dial field legacy PBX
extensions, GSM and PSTN numbers etc.
4.9.4 Monitoring
Online Phones
The VoIP clients who are actually active and ready to execute and receive calls
can be visualized here (Figure 4.75).
Call Statistics
Finished Calls
Detailed statistics about all the finished calls. At the main menu we have:
General statistics relating to the filter criteria:
• Average jitter20 ;
• Maximum jitter.
Clicking at Insert it is possible to filter the result of the list be specific fields:
• Source IP;
• Source address;
• Destination address;
• Time periods.
20
Is the measure of the variability over time of the latency across a network
The option Export CSV will export all the list to a .csv file. At Access Management
we can manage the LDAP users that will have access to callstatistics website.
In the call list we have specific statistics relating to the filter criteria (Figure
4.76):
• #: Call identification;
Clicking at one of this fields, it will order the calls by that field.
Current calls
In this menu we have statistics about the current calls, with that fields:
• Source;
• Destination;
• Duration;
• State;
• Route.
Call Recording
It’s possible in IPBrick to enable the recording of all calls, placing the archived
records in the Document Management and Workflow System, iPortalDoc. Users
with higher privileges may listen to calls as they happen. Enabling configuration,
two other options will appear (Figure 4.77):
• iPortalDoc URL: Specify the existant URL for the iPortalDoc. If no iPor-
talDoc is installed, it’s not possible to use this feature.
The next step is to define which SIP phones will have their calls recorded. This
can be defined at Advanced Configurations - Telephony - Registered Phones.
A new field called Call Recording is now present with the following options (Fig-
ure 4.78):
The high privileged iPortalDoc users can now listen to the calls at the workflow
calls;
Call Supervision
The call supervision permits to supervise some specific IP phones. The idea
is to guide the person that is answering a phone that is part of the supervisioned
phones. It’s a funcionallity that can be useful for technical support departments.
The first step to use call supervision is the feature activation. This is done at
Advanced Configurations - Telephony - Configurations - Call Supervision
(Figure 4.79).
When enabled, a supervision group should be created by clicking Insert. Two
fields are present:
• Call Supervision Group Members: To define what phones are able to lis-
ten/supervise calls (Figure 4.81);
• Supervisioned phones: To define what phones will be supervised (Figure
4.80);
• After that a beep will be listened and the supervision will start, so the call
will be listened and you can talk only to the person that is at the supervised
phone. The remote person can’t hear the supervision.
Call manager
The Call Manager (Figure 4.82) is a Flash application that allows to visualize:
the state of each extension, if it is online and if it is doing calls, state of the lines
and SIP servers. You can also end calls through this interface when authenticated.
The configuration of the call manager (Figure 4.83) is made from the IPBrick
web interface in IPBrick.C - Voip - Call Manager, and it is necessary to click the
connection Change. By default are shown the state of all registered telephones,
ports of each RDIS and analogic plate, state of the waiting lines, conferences and
SIP servers. Some of these fields cannot be shown if we remove them in Show fields.
In the configuration page you have the link to the call manager which may be
acceded from the LAN. It might be necessary to define the alias call manager in
the DNS server of the network.
If it is not possible to visualize all the extensions, lines and servers of the call
manager, it is necessary to move the mouse to the right side of the page and the
remaining ones shall be visible. In this version of Call Manager we can do some
operations when the administrator password is inserted:
• Call transfer: Drag and drop the active phone to another;
• Call termination: Double click in a phone;
In the screen appear all the telephones, routes, interfaces, etc., which shall be
registered in IPBrick. However, there are differences, if the telephone has a visible
IP address, it means that it is active, otherwise it will be deactivated. If the tele-
phone is represented in red, it means that a call is in progress and its duration is
indicated.
• Local Routes: Represent all the local interfaces available in IPBrick by de-
fault;
• SIP servers list for registering: Allow to receive calls for SIP numbers asso-
ciated to SIP accounts;
Local routes
– Prefix: The numeric prefix to use to make calls using that route;
– Include prefix in address: If Yes the prefix will be part of the
destination number, so the prefix will be maintained when the call is
routed. If No the prefix will be used only to identify the route. Example:
To enable the use of number 6 to route a call to the Portuguese PSTN
network, it is necessary to remove this prefix in order that the number
stays with the correct format (the format 2XXXXXXXX instead of
62XXXXXXXX).
– Postrouting prefix: It’s a prefix added by the IPBrick when the
number is received. Example: For the Portuguese PSTN network we
use the format 2XXXXXXXX. If we use has main route a SIP account
route it’s necessary to use prefix 2, include prefix in address and use
a postrouting prefix with 00351 (351 is the portuguese international
code);
– Caller IDs restriction: Will restrict the route only for the listed
caller ID’s;
– Fallback routes: It’s a backup route to use if the present one fails;
– Generate local ringing tone: Will generate a local ringing tone.
Can be used when it can’t ring at the destination phone;
– Priority: Define the prefix priority level.
Outbound routes
This option turns possible to configure which calls shall be routed to a external
server which shall be responsible for routing them to their destiny (Figure 4.86).
This routing is made through prefixes that may be inserted clicking the name of
the route and then the link Insert above the prefixes table. To change or remove
a route you only have to click its name and then the option Modify or Delete,
respectively.
To add a new outbound route click Insert. The Basic Options are:
• Type: Type of signalling protocol to use: Can be SIP, SIP with TLS or IAX;
• Video support: If the VoIP server supports video, you can enable that
option;
• Registration realm: Realm is usually the SIP server FQDN but some SIP
servers have different server address and registration realm;
• Outbound proxy: Usually not used but is a server that passes the SIP mes-
sages between the SIP client and the SIP proxy server;
• Available to Internet: With this option selected, the route shall be avail-
able for VoIP telephones outside the LAN;
• Call limit: Number of possible simultaneous calls using that route, that
can be useful for bandwidth control. With 0 we can disable it;
• Name;
• Server Address;
• Server Port;
• Available to Internet;
• Call limit.
22
Group of protocols that aims to associate the telephonic numbering to a new register in
DNS. This way, a telephone number shall correspond to a SIP address.
23
Dual-tone multi-frequency
For each outbound route it’s possible to define which codecs will be used (op-
tion Modify and their priority with the option Order.
Here it’s possible to visualize the SIP24 address list which have already been
configured (Figure 4.88). When inserting a new one, the page generated asks for
the following data:
After inserting the data, it is necessary to click the button Insert to confirm
the insertion of the address. The next step is to register accounts to the local SIP
server. Pressing Insert we have this options:
24
Session Initiation Protocol
• Login: SIP account login. Normally it’s the nomadic SIP number;
• Local: Internal phone that will receive the calls coming from the Internet
to that nomadic number.
4.10 IM
IM (Instant Messaging) is a service that lets you exchange text messages at
near-real-time speed. IPBrick’s IM server is ejabberd, an IM server based on the
Jabber (XMPP) protocol. With this server you can communicate both using the
Jabber protocol and the MSN protocol through a MSN gateway. Access to MSN
contacts is controlled by this web interface. By default, the IM service, when
enabled, blocks access to all MSN contacts, except the ones explicitly authorized
in this web interface.
• No: The ejabberd server is stopped and all access to the MSN IM network
is unblocked.
• Yes: The ejabberd server is running. The access to the MSN IM network is
blocked. The MSN client programs will be blocked, (Figure 4.91) so will the
web messenger sites, as we can see in Firewall (Figure 7.16). At Authorized
domains we can define witch domains will be authorized to use the IM service.
When the Instant Messaging server is enabled, you’ll have the following fea-
tures:
– Insert: Clicking the checkboxes you can choose which MSN contacts,
from IPBrick Contacts, are reachable through the Instant Messaging
server.
– Delete: Clicking the checkboxes you can choose the contacts from IP-
Brick Contacts that you no longer want to be reachable from accounts
logged on the server.
– Modify: Add, one per line, the MSN contacts that you want to be
reachable through the Instant Messaging server. All users will be able to
reach only the authorized MSN contacts. To remove the authorization
you just need to remove them from the text box.
It is possible to use both these features simultaneously, that is, you can be
using IPBrick Contacts to allow MSN contacts, and add other contacts in the List
of authorized users.
IPBrick.GT
• VoIP;
• IM;
• Fax Server;
• E-Mail;
• SMS;
• Web Server;
• Webmail.
The FAX Server configurations are implemented through the web interface in
IPBrick.I - FAX Server (Figure 5.1).
IPBrick provides you these two services: FAX2Mail e Mail2FAX. With the
FAX2Mail service, a FAX sent by an external FAX device is received by the FAX
With Mail2FAX you can send from an email an attached pdf file to a defined
FAX number. to enable this task you have to configure the email client with the
SMTP server where the FAX service is running and add the configured fax domain
to the domain list that is allowed to be forwarded by the email server.
5.1.1 Fax2Mail
To configure this service you have to click on the Modify link and select Yes to
Enable Configuration. The following options are displayed:
– Line type: When the server has a telephony PCI card acting as a Fax
machine, the type of line could be ISDN or ANALOG in the case of an
analogic telephony access (Figure 5.2);
– Serial Fax Modem: If the modem is connected to the server serial port
you should choose the port that connects to the the modem in the Serial
Ports list (COM1 to COM8), the Baud rate (1200 to 38400) and Class
of the modem (Class1 to Class2.1). To know the appropriate values you
should read the modem manual (Figure 5.3).
• Number of virtual fax machines: Define the number of virtual FAX’s to use;
• Main Fax Number: The PSTN Fax number to be present when a FAX is
sended;
• Area Code: Area phone number code to be present when a FAX is sended;
• Rings Before Answer: Number of rings before IPBrick answers to Fax. Can
be useful if another FAX equipment is connected. For example, if the FAX
equipment can’t receive the FAX, IPBrick FAX server can answer at the 5th
ring;
• Sender of notifications: It’s a internal email account that will send notifica-
tions to users that are using the Mail2FAX. Examples: Error sending fax,
task completed etc. By default we use IPBrick Fax Server that will use
the current domain;
• Fax resolution: Define the vertical resolution of the fax. There are two
resolution modes, a normal resolution of 98 lines/inch and a high resolution
of 196 lines/inch;
• Number of attempts to send the fax: Number of tries attempts to send the
FAX. By default will terminate a job if 3 consecutive attempts to send a
particular page fail;
• Maximum time to send the fax: Sets the time that a fax have to be sent.
Stop the process if it does not complete in the indicated time.
If the inserted Fax is connected to a serial port, there are these available options:
• Send to: At this moment the single option available is sending to email;
• Destination: Is the email address where the IPBrick incoming faxes are
forwarded;
If you access the menu again, there will two new options near the link Modify:
Fax Users e Fax Lines (if the Fax is connected to an analogic telephony/ISDN
card).
In Fax users (Figure 5.4), you can set which users may be authenticated in the
Fax client application and which will have permissions to manage Fax queue lists.
The FAX client can be WinPrintHylafax that is available for download in http:
//winprinthylafax.sourceforge.net. The advantage of using a FAX client at
the workstations side is the possibily to print any document directly to HylaFax,
so it’s an alternative to Mail2FAX explained down.
Fax Line
The fax line settings are (Figure 5.5):
• Line Type: ISDN is the only option available. The FAX arrives by the PSTN
at a ISDN line;
• Fax Interface: By default we can use the PSTN. It’s also possible to specify a
trunk only for FAX at Advanced Configurations - Telephony - Interfaces,
option Insert;
• Fax number: It could be represented by its DDI, by the complete fax number
or after a 0;
• File type: The FAX can be received in attachment by .pdf, .ps or .tif.
5.1.2 Mail2Fax
In Mail2Fax definitions we have two options:
• Domain for fax sending: It’s a internal domain used just to send FAX’s. You
can choose any domain you want, but the recommended one is fax.domain.com.
When the email server receives one message for that FQDN, the message at-
tachment will be forwarded to the FAX server that sends the FAX by the
PSTN;
• Presented source fax number: For each LDAP group it’s possible to define
what would be the source fax number field when someone sends a FAX to
the PSTN;
After updating the configurations you will be able to send Faxes from a work-
station using a simple email client. At the workstation side just:
• Map an email account pointing the SMTP to the IPBrick or use webmail;
• The subject is optional, so the next step is to attach a .pdf or a .tiff file
that will be the FAX;
Note that you can create a mailing list at IPBrick and insert all the FAX
numbers you want, e.g.: Create a mailing list named faxcostumers@domain.com
and insert at External users list some costumers FAX’s:
00351222222222@fax.domain.com
00351213333333@fax.domain.com
00224545345345@fax.domain.com
...
5.1.3 Statistics
This menu displays the statistics about Sent Faxes, Incoming Faxes and in
course tasks.
Sent Faxes
Visible fields (Figure 5.6):
Received Faxes
Visible fields (Figure 5.7):
• Reception date;
Current faxes
Visible fields (Figure 5.8):
The monthly FAX statistics are automatically sended to the Sender of notifications
email.
IPBrick.KAV
• Firewall;
• Proxy;
• VPN;
• E-Mail;
• Webmail.
Advanced Configurations
Here you have the advanced interface for some services and configurations
present in the upper menus. This chapter is divided by the following main sections:
• IPBrick;
• Telephony;
• Network;
• Support services;
• Disaster recovery;
• System.
7.1 IPBrick
7.1.1 Definitions
In this section will be treated some very essential IPBrick server configurations.
Domain Definitions
In Domain Definitions you configure the hostname and the server DNS do-
main. The Fully Qualified Domain Name is composed by the machine name and
the DNS domain. For example, if you have the hostname ipbrick and the DNS
domain company.com, the FQDN will be ipbrick.domain.com. In order to change
these definitions click on Modify.
Network Definitions
At network definitions is possible to configure the following network interface
parameters:
• Mode: Inferface mode can be static or for the public interfaces it’s possible
to configure the interface as dynamic, so it will act as a DHCP client;
The Modify will change these parameters. The Insert will add a new IP alias
for the interface. Example: eth0:1, eth0:2.
If IPBrick works as an Intranet server (IPBrick.I), it is only necessary to config-
ure the private interface. The public interface may get all the default configurations
and it shall not have a network cable connected.
If the server has more network cards (ETH2, ETH3...), they are listed as private
but no rules will be added automatically to the firewall. This means that all traffic
for that new interfaces will be denied.
If IPBrick works like a Communications server (IPBrick.C) or if it accumulates
the Intranet and Communications functions (IPBrick.I + IPBrick.C), it is neces-
sary to configure the two network interfaces (in these two situations, the server
where IPBrick was installed, shall have two network cards).
To change the network interfaces definitions, it’s necessary to click ETH0 and
ETH1.
The network cards aggregation (bonding) option can provide failover, load-
balance and link speed increase. To get a good experience with bonding the switch
were the network cards are connected must support IEEE 802.3ad Dynamic link
aggregation (Figure 7.2).
For configuration this steps must be followed:
• Have one interface (ex: eth2) present but not configured yet;
• Click at the interface to bond (ex: eth0) and choose to aggregate network
interface cards;
• Click Modify, so the eth0 will be bounded with eth2 and became only one
interface - eth0.
NOTE: The private interface is the first network card detected by IPBrick in
the server where it was installed. If the server has a second network card, this shall
be configured as a public interface. The firewall is already configured by default
with specific rules to recognize the ETH0 as a private interface and ETH1 as a
public interface. If the server has more network cards (ETH2, ETH3...), they shall
be considered as private;
NOTE: The ethernet cards MAC address should be associated to all the in-
terfaces, so when the server reboots the interfaces will be always associated to the
same NIC.
Default route
This menu allows to define the gateway of IPBrick.
Access definitions
• Login: admin;
• Password: 123456.
The login admin and respective password refer, uniquely and exclusively, to
the authentication used to access IPBrick through the web interface and both can
be altered. To edit them it’s necessary to click on Change.
Note: In contrast with the Administrator user this login has no work area
in IPBrick.
Language definition
IPBrick is currently available in five languages:
• Portuguese;
• English;
• Spanish;
• French;
• German.
In this section it’s possible to change the language in IPBrick (Figure 7.6). To
make this change, it is necessary to click on Modify, select the prefered language
and afterwards click on Apply Configurations so that the alterations become
effective.
IPBrick licence
This section is about the licensing process of IPBrick. When installing IPBrick,
you will have a trial licence of 30 days of use. When this licence expires, the server
is automatically reconfigured to the base configurations. The solution is to install
a permanent license.
7.1.4 Authentication
From the moment the user is created in IPBrick, there shall be a register in
the database of the authentication server - LDAP1 . LDAP is defined as a directory
service where the information, relating to the computer resources of the company
and its users, is kept. Whenever an user intends to authenticate in a certain service
with his/her username and password, the IPBrick LDAP database is consulted to
validate or not the access.
Modify
• IPBrick Master: Default Mode. All the services in the server shall use the
LDAP server;
• Secondary Master IPBrick: Used only under High availability licence. See
Appendix E for details.
NOTE: After changing the IPBrick authentication mode, during the Apply
Configurations, IPBrick shall reboot automatically.
Distributed Filesystem
The users nay be physically distributed by the Master/Slave servers. Mean-
while, the centralized information system - LDAP has the information about the
physical location of each account. A NFS (Network File System) service makes
available the accounts of the users through the network. The Automount service
combines the LDAP information with NFS and makes automatically available the
accounts of the users virtually in any other Master/Slave server. IPBrick allows
the integration with authentication servers running in Windows operating sys-
tems, namely previous Windows 200x machines (NetBIOS authentication) and
after Windows 200x machines (authentication via Active Directory).
Automount
LDAP is a directory service where the relevant information of a company is
kept: Users, computer resources, contacts, etc. The Automount service combines
the LDAP information with NFS and makes automatically available the accounts
of the users virtually in any Master/Slave server.
Servers
In that option all the servers registered at Master LDAP are presented by the
IP, FQDN and the authentication type (Figure 7.10).
7.1.5 Update
All available updates in the Downloads section of the IPBrick site should be
installed from here. All you have to do is click on Archive, choose the update
file (.deb) and choose Insert. Next, the package shall be installed in the system
(Figure 7.11).
7.2 Network
In this section we’ll address the advanced configuration of services related to
the structure of the organization’s network. It will be possible to define specific
rules at firewall, to add static routes for other internal networks (or external), to
define rules and priorities in the QoS service as well the configuration of service
routing at firewall.
7.2.1 Firewall
This section deals with the IPBrick firewall management. Some of the pre-
defined rules were already mentioned in the section Firewall in the chapter IP-
Brick.C (rules that can’t be changed by the user, only deactivated). In the mean-
time the configuration of some other services demands some other rules. These
rules can only be managed in part by the user in the Order section. Nevertheless,
IPBrick offers the administrator an advanced interface for the firewall manage-
ment. There, he can define a group of rules with high personalization (Figure
7.12).
• Order: Interface to order all the rules that exist in the firewall (Figure 7.16).
This option is particularly important when new rules are created. Because
the first rules the firewall does the matching will be the first to use. Then,
more specific rules should be at the top and general should be at the bottom.
• DNAT Rule: Redirects the traffic that comes to a port to another port/machine
of the internal network. That rule here is only for TCP traffic (example at
Figure 7.15);
• General settings: Here you can add a completaly personalized rule (ex-
ample at Figure 7.13). These are the affected fields:
– Rule:
– Interface: You should choose which interface to apply the rule (eth0,
eth1, eth2... and the loopback interface - lo);
– Protocol: Protocol(s) to which you want to apply the rule;
– Module: Shows the list of iptables modules available for use;
– Source IP: Source IP Address of the packet;
– Origin port: Source port of the packet;
– Destination IP: Destination IP address of the packet;
– Destination port: Destination port of the packet;
– Identifier: 16 bits field that exists in the original IP packet - it is
used to identify the type of packet to filter. Examples:
! --syn
--state INVALID
--state ESTABLISHED,RELATED
--icmp-type echo-request
– Politics:
– If the PREROUTING rule is used, there are the following extra policies:
REDIRECT: Used to redirect the traffic arriving from a port to
another port;
DNAT: it allows to redirect the traffic arriving at a certain
port to another machine and port belonging to the internal
network
– If the POSTROUTING rule is used, there are the following extra poli-
cies:
MASQUERADE: It allows to ’mask’ the traffic
SNAT: It allows to redirect the traffic generated in a certain
port to another machine and port.
TCPMSS: It changes the MSS field (maximum packet size) from the
TCP header. It just can be used to TCP SYN or SYN/ACK
packets because is just used in the beginning of
conections.
The rules that are defined by default can’t be eliminated, but can be deactivated
by clicking in the state of the rule and change the Deactivate option.
At body there’s a list of all the rules controled by the user (Figure 7.12). A
rule can be switched between enabled and disable state. To eliminate rules is
necessary to click Delete, select the rule or rules that you want to remove and
click the button Delete. The rules defined by default cannot be deleted, however
they can be deactivated, all you have to do is click the state of the rule and change
the option to disable.
7.2.3 QOS
The QoS service2 (Figure 7.18) in IPBrick allows the customization of traffic
priority levels, oriented to the external interface, thus assuring a certain level of
quality of the service for the final user. It is importnt to indicate immediately the
value of the band width available in the connection for the internet. From these
data we can establish priority rules among the several types of traffic in a network.
2
Quality of Service
for example: instead of the internet connection being entirely occupied by the
email service, limit the band width given to that service and assure a minimum
value for the web traffic.
At Body we have the list of the available Public Interfaces (normally ETH1)
and the state of the service for each network card. Clicking the state allows to
move between active and inactive. Clicking the network plate allows to accede
the management formulary of that service (Figure 7.18).
• ToS3 :
• Source IP;
• Source Port;
• Destination IP;;
• Destination Port.
The Priority Class 1 has always maximum priority, and the traffic is defined in
Priority Class 3, the less importnt.
3
Type of Service
After defining a Destination, it’s necessary to add specific rules in the firewall so
that the routing of desired services becomes a reality. It will be presented firewall
configuration examples for:
3. Rule to allow the replys for port 25 by the Internet mail servers:
5. Rules to forward outgoing SMTP traffic with origin in IPBrick for the new
interface (eth2);
6. Rule to forward traffic with origin in LAN and destination the port 25 in
Internet (only when is used a external SMTP account)
2. Rule to allow the replys for port 80 by the Internet web servers:
• Interface: eth2;
• Protocol: TCP;
• Module: Leave blank;
• Source IP: Leave blank;
• Origin port: 80;
• Destination IP: Leave blank;
• Destination port: Leave blank;
• Identifier: ! --syn;
• Politics: ACCEPT
3. Rule to allow the replys for port 443 by the Internet web servers:
4. Rule to forward traffic with origin in LAN and destination the port 80 in
Internet (only when the proxy is not used!)
5. Rule to forward traffic with origin in LAN and destination the port 443 in
Internet (only when the proxy is not used!)
6. Rule to forward traffic with origin in a machine conected to the LAN using
VPN PPTP and destination the port 80 in Internet (only when the proxy is
not used!)
7. Rule to forward traffic with origin in a machine conected to the LAN using
VPN PPTP and destination the port 443 in Internet (only when the proxy
is not used!)
• Rule: PREROUTING;
• Interface: ppp+;
• Protocol: TCP;
• Module: Leave blank;
• Source IP: LAN IP;
• Origin port: Leave blank;
• Destination IP: ! eth1 IP;
• Destination port: 443;
• Identifier: Leave blank;
• Politics: MARK;
• Value: 1 (firewall tag);
NOTE: To route other services for the new internet access (local and remote
port), the idea is the same.
In this section a list is presented of the machines registered in the LDAP service
of IPBrick. To insert a new machine in the LDAP domain of IPBrick it’s necessary
to click Insert. It is also possible to Modify or Delete LDAP registers.
The insertion of machines in LDAP from here can be very useful, when there
are IP networks different from the internal interface of IPBrick, since there is no
need to indicate the IP.
Mass Operations for machines
The Export feature will export all the data to a .csv file. The Mass operations
option permits an import of a .csv file. You can edit a .csv file in a spreadsheet
application, choosing the ; to split the columns. When doing an export we can
see all this fields present:
• uidnumber: LDAP field that identifies the resource. Usually machines begin
with UID 50000.
action;uidnumber;name
N;50000;pc01
N;50001;pc02
I;50002;pc03
I;50003;pc04
I;50004;pc05
7.3.2 DNS
DNS4 is a name resolution service that translates domain names into IP ad-
dresses and vice-versa, and it is implemented in IPBrick by the software Bind using
port 53 UDP/TCP. The majority of queries consists of a simple UDP request by
the client, followed by a UDP answer of the server. There are two situations where
the TCP is used: when the data to be sent by the user exceed 512 bytes or at
the transference of zones. Some operating systems like HP-UX, for example, even
adopt DNS implementations always using TCP, thus increasing reliability. The ser-
vice acts like a database with information about the connections of a IP network,
and that information is organized into domains. The used notation represents
FQDN5 :
servername.company.region
• master: It obtains the data from a zone which it manages from its own
database;
• slave: It obtains the data from the primary master, existing one or more
in a network. Whenever there are changes in the configuration of the areas
served by the master, this server is always notified, proceeding to the update
of database.
So we can have master DNS servers, also called primary, and slave DNS servers
that can be named as secondary too. Regardless of being master or slave in a zone,
a server can have different purposes:
4
Domain Name System
5
Fully Qualified Domain Name
6
Internet Corporation For Assigned Names and Numbers
• internal DNS server: A internal DNS server (master or slave) serves pri-
vate domains and resolve names at private IP’s. They stay inside the LAN
and normally the service is running at the same server that is PDC. Example:
pc01.domain.com -¿ 192.168.0.25. At IPBrick context, it will be a IPBrick.I;
• public DNS server: A public DNS (master or slave) serves only public do-
mains and resolve names at public IP’s that are well known at the Internet.
They can stay at company’s network DMZ, but usually the public DNS server
of a domain is managed by the company ISP or some hosting company in
Internet. Example: www.ipbrick.com -¿ 80.251.163.69. At IPBrick context,
a IPBrick.G/KAV/GT can be as public DNS server of some domain. It’s
not a good policy to have a unique server managing the same domain with
internal records and public records.
The DNS server also allows the resolution of names in a reverse mode, that is,
answer with the name (FQDN) from a certain IP address. This device allows the
confirmation of the authenticity of an IP address, important aspect in the email
service.
Domains
This is the main section of DNS configuration. Here you can handle the do-
mains managed by the server and their respective DNS records like, machines,
alias, mail exchange records etc. By default the following zones are presented:
• Forward zone: That type of zones have the name-¿IP address mapping,
and are the most used ones. By default IPBrick serves the forward zone
domain.com;
• Reverse zones: This type of zones can map IP address-¿ names and are
mostly used by public e-mail servers, for authenticity verification. By defaut
IPBrick serves the forward zone 192.168.69.0/24;
You can access the interface management of these zones by clicking on one of
them. (Figure 7.25 and Figure 7.26)
Clicking at link Insert a new domain, a new domain will be served by IPBrick
(Figure 7.22)
Insert a new zone At top menu you have a link to get Back to the previous
list and cancel the current process of introducing a new zone. At body you see a
register form for forward and/or reverse name (Figure 7.27) resolution zones. You
find the following definitions:
2. Network: The associated IP network for which you are going to create reg-
istrations. This is used only for reverse name resolution records (PTR7 );
3. Zone type: Field that allows you to create a master or secondary zone. A
secondary zone is a copy of another DNS server master zone;
4. Server: Name of the machine that will serve8 this domain (e.g. ipbrick.domain.com)
(this field is only applied on master zones);
5. Email: E-mail of the responsible for this domain. This e-mail is registered
in the DNS under the name of the administrator for this domain (this field
is only applied on master zones);
6. Refresh time: The time of a secondary zone to see if there are any changes
in the master zone (this field is only applied on master zones);
7. Transfer retry time: The time a secondary zone has to wait to retry the
connection to the master zone, that is, if the last refresh was unsuccessfully
(this field is only applied on master zones);
8. Expiry time: The time a secondary zone has to consider the dates of a zone
as valid since the last successful refresh (this field is only applied on master
zones);
9. Default time-to-live the time in which the other DNS servers have to
consider the dates of this zone as valid (this field is only applied on master
zones);
10. Master servers: IP address of the master server for that zone (this field is
only applied on secondary zones);
If the idea is to create a sub-zone these are the necessary steps (Example:
porto.companyx.com):
• Insert a new zone at the present main menu. At domain type porto.companyx.com;
Domain: porto.companyx.com
Server: ipbrick.domain.com (no need to change that default field)
• Machines: This is called the A record (address record). It’s used to map
hostnames to IP’s. E.g.:
pc01 192.168.69.96
ipbrick 192.168.69.1
slave01 192.168.69.2
domain.com. 192.168.69.1
• Aliases: This is called the CNAME record (canonical name record). It’s
an alternative name for some existing machine record (this option is only
available for a forward name resolution zone). E.g.:
webmail ipbrick
im ipbrick
contacts ipbrick
voip ipbrick
mailsrv2 slave01
• Name Servers: It’s the NS record (name server record). Here we manage the
list of DNS servers for the zone. If a zone has master and slave servers, the
master should have that information defined here. E.g.:
domain.com ipbrick.domain.com
domain.com slave01.domain.com
Let’s suppose that the same IPBrick’s are serving other zone called easylinux.com.
So the configuration would be:
easylinux.com ipbrick.domain.com
easylinux.com slave01.domain.com
• Mail Servers: This is called the MX record (mail exchange record) and it’s
a crucial record. We can say what server or servers are the mail servers for
the present domain. You can have several registrations each with different
internal positive values. The values indicate which registration to use first.
The registration with the lowest value is always the first one to be used. The
names to be introduced here must always be the e-mail server FQDN (this
option is only available for a forward name resolution zone). For example:
10 ipbrick.domain.com
20 mailsrv2.domain.com
• VoIP Servers: It’s one SRV record (service locator) for new protocols, in-
cluding VoIP (SIP). The value to be introduced here is the FQDN of the VoIP
server (this option is only available for a forward name resolution zone). For
example:
voip.domain.com
• Instant Message Server: It’s also a SRV record for Jabber protocol and by
default the address is im.domain.com. The alias im exist by default;
The SRV records for VoIP and IM are very easy to configure if IPBrick is
the DNS server, because we only need to type the FQDN of the server. If
the private/public zones are managed by different DNS servers and we want
to use that services in IPBrick you need to really specify all the SRV records
that are being used, and pointing them to IPBrick.
• Valid records for sending mail (SPF): In this field we can use the SPF
in order to specify what records are valid for mail sending. So this config-
uration here will be the IPBrick’s mail server answer to the external mail
servers that are using the SPF protection. The configuration can be done at
Basic Options (Figure 7.23):
After the configuration, from the Basic Options, going to Advanced Options
will present the TXT record. There it’s possible to edit directly the TXT
record, so other specific SPF mechanisms and qualifiers can be used (Figure
7.24).
• addtorev: Option to add the record or not to reverse DNS zone. Value 1
yes, 0 no.
action;idzone;zonename;iddnsina;name;ip;addtorev
N;1;domain.com;1;ipbrick;172.29.1.154;1
N;1;domain.com;2;pc2;172.29.1.32;1
I;1;domain.com;3;pc3;172.29.1.33;1
I;1;domain.com;4;pc4;172.29.1.34;1
Note: The private reverse zones can exist at DNS LAN servers, but the public
reverse zones are maintained at .arpa9 . The configuration of that public zones
are configured at ISP DNS servers, so all the costumers public IP’s can be mapped
to the respective FQDN. It’s called a PTR record and actually they became very
important, because the number of mail servers that make that reverse zone ver-
ification is increasing. Example: Mapping the IP 195.23.45.33 with name ip-
brick.companyx.com. The ISP will insert a record like that:
Forwarders
If a DNS server receives a request for a domain which he neither serves nor has
in cache, then the server has to forward this request to other DNS servers in the
Internet. The forwarders should be the nearest ones, normally the DNS servers
of ISP. If the forwarders field is empty the DNS still working because the server
use the internet gateway to do the DNS search. If in the same network exists a
IPBrick.I and a IPBrick.C, the IPBrick.I must have the IPBrick.C eth0 address in
the forwarder field. Here you have the most appropriate interface to register the
nearest DNS servers (Figure 7.28).
9
Internet Address and Routing Parameter Area
Name Resolution
Regardless of the DNS service is being executed or not in this server, you can
configure the server to handle its DNS requests in another server. You can apply
this configuration to all server services (with the obvious exception of the DNS
server which uses its forwarders for requests he does not know). In order to make
the server use its own DNS you have to configure the IP address of the localhost10 ,
127.0.0.1 - by the way, its the default configuration. (Figure 7.29).
Note that if IPBrick is not resolving in the own DNS service and if we dont
have machines using IPBrick as DNS server or as a forwarder, the service is not
being used at all. In that case all zones presented at DNS - Domains submenu
may even be deleted;
7.3.3 DHCP
The DHCP11 service may be defined as a protocol of dynamic attribution of
parameters for configuration of network and workstations (door 67 and 68 UDP),
an evolution of the BOOTP protocol. Basically, a DHCP client sends a broadcast
packet to a network asking an IP address, and it obtains an answer if there is a
DHCP server active in the network. The server not only attributes it an IP but
also: Network mask, route by default, DNS server and WINS server.
10
local server
11
Dynamic Host Configuration Protocol
• Dynamic: the client obtains the address from a range of address previously
defined by the IPBrick administrator, for a defined period of time;
Subnets
This menu permits the definition of subnets to be served and the parameters
of the network configurations to attribute to the workstations. (Figure 7.30)
At top menu you have a link to Insert new subnets, configure Redundancy
parameters and define General Options by default. (Figure 7.31)
At body you have a list of the inserted subnets. Each line is a link that opens
a configuration form with options for each subnet. (Figure 7.32)
• Network Address: It allows to indicate the address of the network and the
respective mask;
• Default lease time: Default lease time during which the address can be
lent;
• Max lease time: Max lease time of an IP address for the machines. This
value surpassed, the IP address is renewed;
• Option Router: Address of the router which will serve as the default route
(by default 192.168.69.199);
• DNS Servers: List (one per line) of the DNS servers to be used by the clients
(by default ipbrick.domain.com);
• NetBios servers: List (one per line) of the NetBios servers to be used by
the clients (by default ipbrick.domain.com);
• TFTP server: Define the TFTP server to be used by DHCP clients. Can be
used for example for IP phones auto provisioning;
• DNS domain: Name of the domain indicated to the clients (by default do-
main.com).
• Default lease time: Default lease time during which the ’lease’ of the address
is valid for the clients;
• Max lease time: Max lease time of an IP address for the machines. When
this value is surpassed, the IP address is renewed.
If you want the DNS Dynamic Update, it is necessary to choose ”Yes” in the
respective box. This feature is used to update dynamically a machine IP in the
DNS record if that machine is not registered with MAC address
Redundancy
It is possible for an IP network to configure two DHCP servers, one as main
(primary) server and the other as secondary. Normally, only the primary server
answers the requests, while the secondary one synchronizes its DB with the pri-
mary, if the primary fails the secondary shall assume its service. Communication
between the servers is made from the network ports which may be customized.
One of the ports shall be attending the connections from the secondary server and
the other one shall be attending the connections from the main server. (Figure
7.33)
Top Menu Here you have a link to get Back and Insert a new connection.
The following fields are presented in the insertion of redundancy and fault:
• Configuration: here you can see if the server is the primary or secondary
DHCP;
• Remote IP: Remote IP address from the server of the other extreme;
• Remote gate: Remote gate where the service in the other extreme is running;
• Max answering time: Max time that the DHCP server can wait for a mes-
sage from the other peer. When that is out, the server assumes that the
other has failed and assumes itself as the network DHCP server;
Machines
Here you see a list of the registered machines with their MAC addresses in
the DHCP service. You can register the machines in Machines Management (see
section 3.2, page 22) or directly in this section (Figure 7.34).
The Export feature will export all the data to a .csv file. The Mass operations
option permit an import of a .csv file. You can edit a .csv file in a spreadsheet
application, choosing the ; to split the columns. When doing a export we can see
all the fields present:
action;iddhcpmachine;name;ip;mac
N;1;maq1;172.29.1.66;AA:55:43:4A:AA:A1
I;2;maq1;172.29.1.67;AA:55:43:4A:AA:A2
I;3;maq1;172.29.1.68;AA:55:43:4A:AA:A3
7.3.4 ENUM
The ENUM12 service allows the mapping of telephone numbers (Rule E.164)
in names associated to IP addresses, using an architecture based on the DNS ser-
vice. Those names may be from the protocol SIP, H.323, Email etc. In order to
consult the DNS, ENUM inverts the telephone numbers, giving them the prefix
e164.arpa. which is the root of the tree. This tree is delegated to all countries of
the world taking into account their codes E.164. this way, the Portuguese delega-
tion shall be the inverted 351 - 1.5.3.e164.arpa.
In IPBrick, you can define the ENUM zones where a number search can be
made. For that you’ll have to click on the connection Insert and input the ENUM
zone domain. In Order it’s possible to define which are the priority zones where
the number search shall be made. In Figure 7.35 a list of the ENUM zones may
be visualized.
Once the list of the ENUM zones is defined, where to search numbers, the
ENUM may be used in VoIP routes. Next, an example is given:
12
Telephone Number Mapping
2. A certain user of the network calls through the SIP/PBX to number +351253593112;
IPBrick allows the time tracking of all configurations, because when you modify
something in the web interface and Apply Configurations, a new configuration is
locally saved. It is possible to store these configuration files in an USB pen and ad-
ditionally send them to a configurable email address. In the configuration filename
we have the date and the exact hour when a configuration was created. In short,
this configuration management allows a fast disaster recovery, in case of hardware
problems. When applying configurations if for some reason the configuation can’t
be saved, a warning message will be presented.
There is a configuration called default which is the IPBrick’s base configura-
tion immediately after install.
Clicking on Definitions there are the following fields that can be modified on
the link Modify:
• Source address: Source address to send the notifications (by default admin-
istrator@domain.com);
• Message body: Should have a description about the IPBrick server type. By
default is empty.
! Attention !: After the IPBrick installation you should always insert a USB
pen connected to server. The pen must be labeled with the name IPBRICK-D and
must be FAT32 formated.
Replace
In this section you see a list of all saved copies on the USB pen. In order to
replace a setting you just have to click over it (Figure 7.36).
⇒ Note: All services will be reconfigured when replacing a copy of the set-
tings. After the configuration of all services IPBrick restarts automatically.
Download
This section allows you to download the copies of the configurations done to a
local computer (Figure 7.37).
With this useful option you can save IPBrick settings on another place.
Upload
In this section it is possible to upload a previously downloaded configuration
file to the server (Figure 7.38).
7.4.2 Applications
This is a useful disaster recovering feature. When upgrading IPBrick from
version A to version B, if an old installation is detected, the following applications
will be backed up:
• PostgreSQL: All the Postgres databases will be dumped, including the sites
databases;
So, all these application files are packed and saved in a folder.
Choosing the option Applications - Restore the list of available application
data backups will be shown (Figure 7.39). To restore the desired application data
backup, click on the file and then on Restore. At this moment the backup will be
restored for the new IPBrick version (Figure 7.40).
7.5 System
Inside the System menu, we can find the options indicated in these following
points.
7.5.1 Services
In Services (Figure 7.41) you’ll find a list of several services available in IP-
Brick. The State column shows you if the service is enabled or disabled. It is
possible to restart any service without having to restart IPBrick.
In order to restart any service you have to:
The Start column defines the way in which each service has to start with the
server (whether after a reboot or after a period while the server was disconnected).
If you see Automatic in the Start column of a service then the service will start
automatically with the server. On the other hand, if you see Manual on the
column then the service will not start with the server. Nevertheless it can be
started manually in this menu by changing its State from Disable to Enable.
⇒ Note: Any changes in the Start column of a service will not have imme-
diate effects on the service start. The changed start will only be valid for the next
server start. On the other hand, a change in the State column has immediate
effects. That is, by changing the service state from Enable to Disable IPBrick
stops this service.
In this section it is possible to stop a certain process. Therefore you only have
to click over the option Kill Task (Figure 7.42).
14
Big virtual cluster of Network Time Protocol timeservers
7.5.5 Monitoring
This section stands only for monitoring features. Main options:
Logs
The logs are an important tool for troubleshooting. In this menu we can:
• IPBrick Logs: Logs generated by the IPBrick. Useful in detecting any prob-
lem at the web interface layer. The most recent information is available in
Current Log (Figure7.49). In case there are other log registrations then
each of them provides information generated by IPBrick till their indicated
date (Figure7.48);
Accesses
At Management clicking on the service name we can enable the accesses moni-
toring for SSH, FTP, VPN PPTP and SSL. By default the state is disabled (Fig-
ure7.50).
The Entries option permits the visualization of all accesses (Figure7.51). It’s
possible to filter by:
• IP;
• User;
• Notes:
– Connected;
– Disconnected;
– Wrong password;
– Illegal user;
– Locked;
– Timeout;
– Timeout/Locked;
– Log in attempt with root user;
– Disconnected/Timeout.
• Date;
Options available:
Traffic
Here all the active TCP connections are listed by this fields:
Alerts
Define here if the full partition alerts definition will be active. So if the
partition reaches 85%, an email alert will be delivered to the email present at
Destination address. Changing the source address notifier is possible too (Fig-
ure7.53).
7.5.6 SSH
The SSH menu implements a secure connection to the IPBrickś shell, showed
in Figure 7.54.
The SSH (Secure Shell) is similar to the known Telnet application but more
secure because of the protocol SSL used.
Note: This function needs the installation of Java Virtual Machine. The
software is available in www.java.com. After the connection it’s necessary to make
an authentication. Therefore, you’ll need to input the following data:
• Username: operator;
• Password: L1opardo.
7.5.7 Reboot
This option allows you to reboot IPBrick (Figure 7.55). After confirming the
reboot option, the web connection with the server is automatically stopped. When
IPBrick restarts it is possible to establish a new https connection with the server.
7.5.8 Shutdown
This option is to clearly shutdown IPBrick (Figure 7.56), assuring that all
the services are terminated correctly. You should use this option, whenever it is
necessary to shutdown IPBrick. Do not shutdown the server directly in the power
supply.
7.6 Telephony
To make possible the IPBrick’s interaction with telephone systems, you need
to install specific hardware. This hardware includes PCI cards that can be ana-
logic, RDIS BRI or RDIS PRI. Analogic cards provide the connection to telephone
networks working in analogic mode. If telephone networks are working in digital
mode (RDIS), cards may be BRI or PRI. A BRI (Basic Rate Interface) access
has three channels: Two 64kbit/s (B) for data/voice and one 16 kbits/s (D) for
control. The PRI (Primary Rate Interface) access corresponds to 30 B channels
plus one D channel in Europe - can also be designated as E1 circuit.
7.6.1 Cards
After physical configuration and installation in the machine you have to con-
figure IPBrick. To make this step you have to know how the card was physically
configured, i.e., each port configuration. After the physical installation of the
hardware, you can configure cards in the IPBrick web interface in the menu:
To insert click on Insert, and then indicate (as shown on Figure 7.57):
The actual status of each port is presented as shown on Figure 7.58. Detailed
explanation:
• Green: The layer 1 (physical) and layer 2 (signalling) are UP. So the port is
ready;
• Red: The layer 1 and layer 2 are DOWN. It means that we have a connection
problem (bad cable or no cable) or the port is damaged. Note that for a
PSTN BRI - PTMP mode, usually when no calls are active, the standby
status can be allways red;
• Red blinking: Hardware problem. You need to verify the card integrity /
jumpers configuration. It’s very rare to happen.
For each card inserted there are three options: Back, Modify and Delete (Fig-
ure 7.58).
If the port is connected to the landline (PSTN) you need to configure the
setting as TE. If the port is connected to the PBX gateway you have to configure
the PBX port and configure the setting as NT. A ISDN FAX usually behaves like a
PBX requiring the port configuration as FAX (to show this option requires a FAX
interface configuration) and configure the setting as NT. If there is a GSM interface
configured in one of the ports you have to choose it on the list and configure the
setting as TE. To configure a ISDN PRI you have to indicate if the line uses R2
protocol (protocol used for example in Brazil) and if the CRC4 is active on the
line. The PtP or PtMP depends of the telephone operator line type.
After the configuration, we can see a list with the configured cards, as visible
in Figure 7.59.
• Phone Location
7.6.3 Configurations
In this menu it’s possible to adjust several configurations for VoIP and PBX/PSTN
integration. This are the options:
• General options;
General options
The following fields in Options (Figure 7.61):
• Intranet VoIP Server only?: It allows to route the network traffic only
in a interface and not in two interfaces, as usual;
• Get call source address from IPBrick LDAP: If activated, it goes to the
database LDAP of IPBrick defined in IPBrick IP address and in IPBrick DNS
domain and, if it finds the calling number in the database, it will replace it
by the name of the entity associated to that number.
• Attendance Timeout: Time (seconds) during which the call is sent to the
destiny phone, before being sent or routed to another phone;
• Enable SIP video support: Enables the support for SIP video. The sig-
nalling protocols doesn’t support only voice but also video.
• Call pickup: If yes it will enable the call pickup. If some phone is ringing
and the idea is to answer the call using another phone, we can use the key
activation sequence (*8 by default) plus the phone number to pickup the
call. Example: *8111, will pickup a call from the phone 111 that is ringing;
• Group call pickup: With this option active, if some phone is part of a
Call Group it’s possible to pickup a call from a ringing phone member that
is using the defined key activation sequence (*7 by default);
• Global call pickup: If yes it will enable the global call pickup. If some
phone is ringing and the idea is to answer the call using another phone, we
can simply use the key activation sequence (*8 by default) to pickup the call.
Example: *8, will pickup a call from some phone that is ringing. If we have
two or more calls at the same time, will be picked always the last arrived
call;
• Phone lock: Permit to lock a internal phone, so it will be not able to make
and receive calls. To lock a phone you need to enter the key activation
sequence and wait for a message. After that message you need to type the
user PIN or PIN and password defined at IPBrick.GT - Users Management,
depending of choosed user access validation. To unlock the phone the process
is the same. If the option Allow phone unlocking by any valid user is set to
NO, only the user that locked the phone or the defined Administrator unlock
password will unlock the phone;
• Forward when busy: Can be used to forward a call when some phone is
busy and by default uses key sequence *72. Example: If phone 201 is busy,
calls will be forwarded to phone 202. So we just need to do a *72202 at
phone 201. To deactivate we type only *72;
• Forward when not answer: Can be used to forward a call when some phone
do not answer and by default uses key sequence *71. Example: If phone 201
is not answering, calls will be forwarded to phone 202. So we just need to
do a *71202 at phone 201. To deactivate we type only *71;
• Call Supervision: If yes it will only enable the call supervision feature. Be
default the key activation sequence is *9;
• Voicemail: Enables general voicemail for VoIP. The voicemail files will be
sended allways by e-mail;
• Enable advanced call statistics: If active will enable some fields at call
statistics like: Total packets, codec, lag, lost packets, signalling and jitter.
Note that CPU/memory load will be increased;
• Store calls details records in csv file: All the call history in the
default asterisk format will be saved to a file called Master.csv. This file
can be downloaded acceding by ftp with username voipcdr and password
L1opardo;
• Channel tone zone: Country tone zone. The frequences may be different
from country to country;
• Echo cancel;
• GSM: 13 Kbps;
• iLBC: 15 Kbps;
• G.726: 32 Kbps;
• G.729: 8 Kbps. You may have to buy a license to make calls with this codec
at Digium website. If this codec is enabled a link called Licence Activation
will appear, so with a valid key a G729 licence will be generated. See Figure
7.65 and Figure 7.66.
Of course the bigger the required bandwidth, the smaller the number of possible
simultaneous calls. For each of the selected codec we can include an average of
more 15 Kbps of overhead.
• Password;
• Network mask;
7.6.4 Interfaces
Interfaces represent trunks normally to non-IP world. I’ts possible to create
more interfaces than the default ones (PBX and PSTN) (Figure 7.70. Examples:
GSM ISDN or FAX’s interface. You can create them at:
Advanced Configurations - Telephony - Interfaces
• Interface Name: When created, the interface will appear by that choosed
name at Local Routes and Telephony Cards port configuration;
• Interface Type: Represents the associated trunk:
– BRI PSTN: Represents the PSTN side using a ISDN BRI connection;
– BRI PBX: Represents the PBX side using a ISDN BRI connection;
– PRI PSTN: Represents the PSTN side using a ISDN PRI/E1 connec-
tion;
– PRI PBX: Represents the PBX side using a ISDN PRI/E1 connection;
– ANALOG PSTN: Represents the PSTN side using a ANALOG connec-
tion;
– ANALOG PBX: Represents the PBX side using a ANALOG connec-
tion;
– OCS: Represents the Microsoft Office Communications Server. That
interface will be used only for Local Routes (Figure 7.72). For that
interface type two extra fields are present:
∗ FQDN: OCS full qualified domain dame;
∗ Mediation Server IP: Mediation Server IP address;
• SIP Peering: The Open Peer option provides that any incoming call from the
Internet can use this interface. The Closed Peer option sets that only peers
defined in SIP Peers can use the interface(this is the best option connect to
PSTN or GSM). So peers are public IP’s authorized to use certain interface,
for instance a peer can be another IPBrick. They can be inserted at:
This operation is necessary if you want to connect a FAX to a card port, a GSM
gateway or another additional interface. If there is a GSM gateway, you may add
here a GSM interface (as an interface name). Choose a card type (analogic, PRI or
BRI) in the Interface Type, and the Closed Peer option in the SIP Peering.
• Go to DHCP server and enable the option 66 (TFTP server) pointing the
IP to IPBrick;
• Get ready the SIP phone and connect it to the network (read next section)
The LAN DHCP server must have the option 66 active and pointing to the IP-
Brick IP. That option represents the TFTP server that will be always the IPBrick
were the auto provisioning is configured, because all the supported phones will get
the configuration stored in IPBrick using the TFTP server IP passed by DHCP. If
the IPBrick is the DHCP server, the option TFTP server at Advanced Configurations
- Support services - DHCP - Subnets must point to the IPBrick IP. It’s impor-
tant too to check that the phone firmware is the same listed at auto provisioning
template list.
Figure 7.78: Auto provisioning - Full template list with customized ones
Supported phones
Information about auto provisioning in all suported models: Atcom 530, Astra
6755i, Thomson ST2030, Grandstream GXP2000, Grandstream GXP2020, Grand-
stream GXP1200, Grandstream GXP2010, Grandstream GXP280, Grandstream
BT200 e Grandstream BT201
Atcom 530
Because the auto provisioning parameters can’t be passed by DHCP in this
phone we need to do a inicial configuration at ATCOM phone web interface. The
complete steps are:
Apply Configurations
Most changes don’t make the IPBrick server go to reboot, so a screen like
Figure 8.2 will appear. IPBrick only needs to reboot in these cases:
And a screen like Figure 8.1 will show. It’s important to inform that IPBrick
will go to reboot, so the administration has the option to apply configurations in
that momment or at non work hours.
As we can see, we only need to change this type of configurations to get the
server in production at the costumer network. From the momment IPBrick is in
production, is becames very rare to go to a reboot because we don’t need to change
anymore of the network definitions, domain/server name and LDAP mode.
• Cancel all changes: Choosing that option, instead of Apply, will rollback
all configurations that were made. So IPBrick will stay with the settings
from the last time someone applied configurations, i.e. the last configura-
tion file that appears at Advanced Configurations - Disaster Recovery
- Configurations.
Appendix A
Join in the domain
1. Press [windows];
4. Right click on the icon Local Network Connection and select Properties;
6. Choose Get the IP Address Automatically in the open window and then
select Get the DNS server addresses automatically;
The next step is to confirm that the machine IP address is the same that was
introduced in IPBrick.I. Therefore you have to:
2. cmd [ENTER];
3. ipconfig /all;
If the IP address is not the one introduced in IPBrick you have to release it
and renew it with the following commands:
2. cmd [ENTER];
3. ipconfig /release;
4. ipconfig /renew;
5. ipconfig /all.
If the machine IP address is right you can join the machine in the domain
EMPRESA:
2. Select ”Computer Name”, click on ”Change...” and give the computer a name
(the name must have been created in IPBrick.I before);
3. Press button ”more..” and add the dns machine domain: empresa.pt. Do
not select the option Change the primary DNS suffix when the association
to the domain is changed ;
6. Restart the machine. While the machine is starting you can already login
the domain EMPRESA.
⇒ Note: The workstation must not be with the DHCP. It can be configured
with a fix IP address. In this case you don’t have to fill in the field MAC Address
while you register the machine in IPBrick.
Appendix B
Configuring a VPN connection
1. Press [windows]
The VPN connection is configured. In order to establish a VPN you only have
to introduce the user name and password registered in IPBrick. IPBrick is now
working as a VPN-PPTP server.
Appendix C
Configuration of a VPN SSL
connection (Open VPN)
The installation of this pack should be executed without changing the default
definitions. This software is installed in directory C:\Program Files\OpenVPN.
The certificate generated by IPBrick must be unpacked into directory C:\Program
Files\OpenVPN\config.
To start a VPN connection, press the right button on icon OpenVPN in the
toolbar, choose the intended connection and press Connect.
Insert the password used to create the certificate in IPBrick and the VPN shall
be established.
3. Extract the IPBrick zip file to the config folder of OpenVPN. Example:
c:\Programas
\OpenVPN\config;
5. In the Windows Vista tray, click on the OpenVPN icon and connect;
NOTE: If it’s not working you need to modify the *.ovpn file in
c:\Programas\OpenVPN\config and add the following lines at the end:
route-method exe
route-delay 2
Appendix D
Backup Service - Arkeia
Arkeia Light is a freeware backup service utility. At IPBrick 5.0 and higher,
Arkeia Light is not included. You’ll need to download it at the Related Software
section at IPBrick’s website:
http://www.ipbrick.com/index.php?oid=2347
Note: Arkeia Light is a very useful and simple backup utility tool, but our cos-
tumers are free to use, should they want it, a more robust and professional backup
service in their systems.
When selecting this option at IPBrickI - Backup - Arkeia, and after click-
ing the Open button, a session window by VNC is open. It is necessary to have
the JRE1 , which can be found at http://sun.java.com/ installed to execute the
connection. The authentication in this session is made with the IPBrick Admin-
istrator’s actual password. The Arkeia management interface is available after
validation.
In order to start the Arkeia configuration software it is necessary to submit
your validation by default:
login: root
password: (without password)
After the successful server connection the following menus are displayed (Figure
12.1):
• Hardware: Sets and configures the hardware (drives, tapes, libraries) con-
nected to the server;
1
Java Runtime Environment
Arkeia menus are easy to use. When you access a menu, new sub-menus show
up with new options, successively. Every time you pick a menu, its icon appears
in an upper bar. To move back in these menus you only have to click in the cor-
responding icon.
insert tapes, the details of a backup process, etc. You should create a user
that handles these messages (with an Administrator type role) to check if
the procedures are correctly done.
1. Insert:
(a) Name;
(b) Role;
(c) Email address.
– /boot
– /etc
– /homeX (were 1 ≤ X ≤ number of homes)
– /opt/ipbox/backupDB
– /var/lib/ldap
– /var/lib/postgres
– /var/lib/postgres2
– /var/lib/samba
– sysinfo
– Total: Saves all the savepack data and keeps them during the period
set in Valid For;
– Differencial: Only saves the files that were modified since the last
Total type backup;
– Incremental: This is the most complex backup type. It creates a list
with the modified files since last backup (both Total and Incremental)
and proceeds to do the backup of the files included in the list.
Appendix E
High Availability
13.1 Introduction
Users want their systems to be ready at all times. Downtime (i.e.: periods of
time when your system is unavailable) affects your users, your customers, sales,
revenue, productivity, and just about every other aspect of your business.
High availability (HA) is a system design protocol that garantees an operational
continuity during a given period of time and is now a possibility at IPBrick, using
a service called Heartbeat. The main idea is to have a clustering solution with two
or more IPBricks that provides:
• Availability:
• Reliability;
• Serviceability.
Note: High Availability is available solely for VoIP and E-Mail relay services.
13.1.1 Advantages
The advantage of clustering servers for HA is seen if one node in the cluster
fails, another node can resume the task of the failed node, and users experience
no interruption of access.
The advantages of clustering servers for scalability include increased application
performance and a greater number of users that can be supported. You can imagine
a cluster of servers as a single computing resource. With the total redundancy of
multiple servers that will make the system work if other servers fail, the cluster
can help achieve greater system uptime (i.e.: periods of time when your system is
available).
Clustering can be implemented at different levels,
• Hardware
• Operating systems
• Middleware
The more layers, the more reliable, scalable and manageable the cluster is.
13.2 HA Requirements
The minimum requirements to run an HA service in IPBrick are;
• At least two IPBricks (they can be more, it all depends on the client’s de-
mands, needs and expectations)
• All IPBricks have to be installed with the same IPBrick software version;
13.3 HA Configuration
To set up a high availability solution with two IPBrick’s:
– Rule: INPUT;
– Interface: lo;
– Protocol: ICMP;
– Policy: ACCEPT;
Note: The services (VoIP/E-Mail) must have exactly the same configuration
in both servers. To use the high availability an addicional licence is needed.
Appendix F
UCoIP
All enterprise communications - Voice, Mail, Instant Messaging and Web - are
managed in an integrated way, (i.e. unified through a single individual or group
address). To reach this goal, IPBrick uses only Internet communications services
(SIP, SMTP/IMAP, XMPP and HTTP) integrating them with DNS and LDAP
support services.
The generic site is ucoip.domain.com but the idea is to have one site for each
LDAP user. The following options are included:
Like we can see, for SIP/SMTP/XMPP the user will be reached using the single
address user@domain.com. Now we present all the necessary steps to configure a
UCoIP site for a specific LDAP user with username jsmith, with IPBrick FQDN
being ipbrick.domain.com:
The UCoIP site design is simple but it can be improved. It’s possible to use
the site’s default FTP account for site management:
• username: ucoip
• password: uco1pp4ss
The integrated webphone by default call to the user SIP address, but it’s pos-
sible to call all internal SIP phones/funcionalities, by copying the webphone link
and paste it in a new browser tab.
Examples of url variable definition:
http://webphone.ipbrick.com/index2.php?user=jdomingues
http://webphone.ipbrick.com/index2.php?user=200
http://webphone.ipbrick.com/index2.php?user=IVR2
User Profile
To include a photo and profile at the user UCoIP site follow this steps:
• Access the server using the FTP account of UCoIP site and upload the file
to folder photos;
• Access the server using the FTP account of UCoIP site and upload the file
to folder descriptions
Appendix G
MyIPBrick
• UidNumber: It’s the User ID used by LDAP to identify users. Not editable;
• Quota: User general quota if defined. If not defined it will show Unlimited.
Not editable;
• Password: When clicking Modify at top, the user LDAP password can be
changed too;
VoIP settings:
• Phone Address: Phone associated to the user. Represents the phone num-
ber that the user is using at the moment. Multiple phone numbers can be
used: Internal SIP addresses (Ex.: 201, phone01), external SIP addresses
(Ex.: user22@sipserverx.com), PSTN number (Ex.: 00351221121334), GSM
number, etc. No matter where, the user will always be available, the person
who wants to call him, just needs to dial username@domain.com and the
selected phone will ring;
• Alternative address: Shows the user alternative mail addresses list. Not
editable;
• Mail quota: User mail quota if defined. If not defined it will show Unlimited.
Not editable;
• Forward To: The user can define other email addresses. So when someone
send a mail to username@domain.com, the addresses defined here will receive
a copy too;
• Automatic reply message: If some message is defined, IPBrick will auto reply
with this message when someone send a mail to the useraccount. By default
of course no message is present.
The fields that are not editable, are only definedHeartBeat linux by the IPBrick
web interface. A configuration example is shown at Figure 15.3.
https://myipbrick.domain.com.
• New folder: Create a new folder. Click OK, insert the folder name and click
Ok again;
• New file (upload): Upload a file. Click OK, insert the file you want and click
Ok again;
• Delete selected items: The selected items will be deleted, when Ok is clicked;
• Rename selected items: The selected items will be renamed. Click Ok, re-
name the items and click Ok again;
• Download this folder (zip): The entire folder will be downloaded in .zip
format. Just click Ok to download;
Folder operations:
Appendix H
Contacts
http://contacts.domain.com/
NOTE: For security reasons there’s an access time limit of 30m. When it ex-
pires anyone accessing Contacts will be automatically Logged out.
The Rebuild Contacts link has the sole purpose of synchronizing data between
the database and the LDAP service.
• Definitions
• Entity Types
• Entities management
This is where the creation and editing of Entities is done.
NOTE: To create an Entity you must first create an Entity Type entry in
the Auxiliary Data page. This procedure is mandatory. You can’t create an
• Auxiliary Data
Selecting this option on the index page, displays a list of attributes (Figure
16.3) that will serve to characterize any given Entity.
This step is crucial, you’ll have to create at least an entry in any of these
attributes if you wish them to be available when you are creating entities.
To do so just click on its name and fill the field that will appear (Figure
16.4), to save click on Insert.
• Profiles Management This menu (Figure 16.5) manages the permissions granted
to users, it lets you edit or create new user profiles. By default there are three
basic non-editable profiles:
To create a new user profile simply click on Insert, this page (Figure 16.6)
will appear.
• Users Management
This is where you can select which of the LDAP users can also be Contacts
users (Figure 16.7), simply select the user and click the arrow button in
the direction of the IPBrick Contacts Users box. You can also click on the
button pointing to LDAP Users to remove a LDAP user from being able to
access the IPBrick’s Contacts management web interface.
The profile association link located under the Rebuild Contacts link serves
as a quick way to assign a certain user profile to the user in question.
In the Entities Management page, click on Insert and please fill in these fol-
lowing fields:
• Entity Name.
• Tax Number.
• Address: The address added here will be available at the locations page.
• Postal Code.
• Mobile Phone: Should you wish to add several numbers separate them by /
• Email.
• MSN Contact.
• EXTRA: You’ll have to create an entry in Auxiliary Data (Under the name
Aditional Field ).
• IPBrick phone: Choose the Entity’s phone registered in the IPBrick server.
• Available Entity Types - This box shows the available Entity Types that
were created in the Auxiliary Data Menu. You have to choose the Type of
Entity you want by clicking on it, after which you should click on the arrow
pointing in the direction of the Entity Types box.
• Entity Types - This box shows the Type of Entity selected from the list of
available types, you can also remove a type by selecting it and clicking on
the arrow pointing to the Available Entities Types box.
• Available Categories - This box shows the available Categories that were
created in the Auxiliary Data Menu, you have to choose the category you
want and click on the arrow pointing in the direction of the Categories box.
• Categories - This box shows the Category selected from the list of Available
Categories. You can also remove a Category by selecting it and clicking on
the arrow pointing to the Available Categories box.
• Sub-Categories - This box shows the Sub-Category selected from the list of
Available Sub-Categories.
After creating an Entity you can check if all the data inserted is correctly and
,if not, just click on Modify or Delete if you wish to erase the entry.
If you return to the Entities Management page (Figure 16.9), the name of the
Entity you have just created is now visible.
If you click on the name of the Entity, a new page will appear (Figure 16.10).
• Location: Choose the contact’s location, from the list of available options.
• Tax Number.
• Address.
• Postal Code.
• Mobile Phone: If you want to add several numbers please separate them by
/
• Email.
• MSN Contact.
• Presentation: fill in with what you need to show so that it can be considered.
• IPBrick phone: Choose the contact’s IPBrick phone registered in the IPBrick
server.
After creating a contact you can verify if all the data inserted is accurate. If
not, click on Modify or Delete if you wish to erase the entry.
If you wish you can Modify, Remove or add Contacts to the Entity by simply
clicking on the corresponding link located in the top right corner of the screen.