Schedule: Vahid Shahbazian Fard Jahromy WWW - Learnmikrotik.Ir ©learnmikrotik - Ir 2014
Schedule: Vahid Shahbazian Fard Jahromy WWW - Learnmikrotik.Ir ©learnmikrotik - Ir 2014
Schedule
09:00 10:30 Morning Session I
10:30 11:00 Morning Break
www.LearnMikroTik.ir
LearnMikroTik.ir 2014
Instructor
Housekeeping
Course materials
Routers, cables
Break times and lunch
LearnMikroTik.ir 2014
LearnMikroTik.ir 2014
Course Objective
Topics Overview
Point-to-Point Protocols
LearnMikroTik.ir 2014
LearnMikroTik.ir 2014
8/1/2014
Hotspot
RADIUS
Hotspot Setup
Hotspot Login Methods
Universal clients
Users
Group of Users
Server Configuration
Exceptions
Accounting
LearnMikroTik.ir 2014
RADIUS client
RADIUS server
User Manager
RADIUS incoming
IPsec
IPsec Introduction
Transport mode vs. Tunnel mode
7
LearnMikroTik.ir 2014
Introduce Yourself
Your name
Your Company
Your previous knowledge about RouterOS
Your previous knowledge about networking
What do you expect from this course?
Class Setup
LearnMikroTik.ir 2014
10
LearnMikroTik.ir 2014
11
LearnMikroTik.ir 2014
12
8/1/2014
Point-to-Point Protocols
PPTP, PPPoE, L2TP, BCP, MLPPP, MRRU,
Interface routing, Dynamic address-lists,
Dynamic simple queues
LearnMikroTik.ir 2014
LearnMikroTik.ir 2014
PPP Secret
14
15
PPP Secret
LearnMikroTik.ir 2014
16
17
LearnMikroTik.ir 2014
18
8/1/2014
PPP Profile
LearnMikroTik.ir 2014
19
LearnMikroTik.ir 2014
Dynamic address-list
It is also possible to
implement custom QoS
structures
Every time new user
connects RouterOS will
create new address-list
entry
Address-list then can be
utilized
by
mange
facility
for
packet
marking.
It is possible to select
Dynamic Queue order
Parent Queue
Queue Type
LearnMikroTik.ir 2014
20
21
LearnMikroTik.ir 2014
22
23
LearnMikroTik.ir 2014
24
8/1/2014
PPTP Tunnels
L2TP Tunnels
LearnMikroTik.ir 2014
LearnMikroTik.ir 2014
25
26
LearnMikroTik.ir 2014
27
LearnMikroTik.ir 2014
28
LearnMikroTik.ir 2014
29
LearnMikroTik.ir 2014
30
8/1/2014
LearnMikroTik.ir 2014
31
LearnMikroTik.ir 2014
PPPoE tunnels
32
33
PPPoE client
LearnMikroTik.ir 2014
34
35
LearnMikroTik.ir 2014
36
8/1/2014
37
PPPoE Server
PPPoE
server
accepts
PPPoE
connections on a given interface
Clients can be authenticated against
LearnMikroTik.ir 2014
38
39
LearnMikroTik.ir 2014
40
41
LearnMikroTik.ir 2014
42
8/1/2014
Setting up BCP
Bridge must be specified the
PPP profiles on both sides of
the tunnel
Note that PPP interface
don't have any MAC
addresses so your bridge
must have a MAC address
before you add PPP to the
bridge
43
LearnMikroTik.ir 2014
44
LearnMikroTik.ir 2014
LearnMikroTik.ir 2014
45
MRRU
47
LearnMikroTik.ir 2014
48
8/1/2014
MLPPP
LearnMikroTik.ir 2014
LearnMikroTik.ir 2014
49
all PPP lines must have same user name and password
Server must have support for MLPPP
50
51
Hotspot
Overview & Setup, Users & Groups,
Universal clients, Server configurations,
Exceptions, Accounting
LearnMikroTik.ir 2014
Hotspot Overview
Tool for Instant Plug-and-Play Internet access
Hotspot provides authentication of clients
before access to public network
Walled-garden to allow resources without
authentication
It also provides User Accounting
Transparent proxy
Introduction Hotspot
HOTSPOT OVERVIEW
LearnMikroTik.ir 2014
53
LearnMikroTik.ir 2014
54
8/1/2014
Hotspot Usage
Hotspot Operation
LearnMikroTik.ir 2014
LearnMikroTik.ir 2014
55
56
Hotspot Operation
Enter username/password in Hotspot login
page to get the Internet
Other login methods available
Different accounting options
How to setup Hotspot
HOTSPOT SETUP
LearnMikroTik.ir 2014
57
LearnMikroTik.ir 2014
Hotspot Requirements
58
Hotspot Setup
(Before setup)
LearnMikroTik.ir 2014
LearnMikroTik.ir 2014
59
60
10
8/1/2014
Hotspot Setup
Important Notes
Run ip
hotspot
setup
Select
Interface
Proceed to
answer the
questions
LearnMikroTik.ir 2014
61
LearnMikroTik.ir 2014
62
Configuration Created
Common Mistakes
63
LearnMikroTik.ir 2014
Hotspot Help
64
Hotspot Lab
LearnMikroTik.ir 2014
LearnMikroTik.ir 2014
65
66
11
8/1/2014
Remember
Access to public networks is blocked (Internet,
Winbox to the router)
Login to the Hotspot to get the Internet
Login by Hotspot page
USERS
LearnMikroTik.ir 2014
67
LearnMikroTik.ir 2014
Hotspot users
Users Settings
Server, Hotspot server user
belongs to
Name, client username
Password, users password
Address, Hotspot IP address to be
used by client
MAC-address, login only from the
specific MAC-address
Profile, users profile name
LearnMikroTik.ir 2014
69
LearnMikroTik.ir 2014
Users Limits
70
Users lab
LearnMikroTik.ir 2014
68
71
LearnMikroTik.ir 2014
72
12
8/1/2014
Daily users
For the
previous lab,
use scheduler
and simple
script
/ip hotspot user
reset-counters
command to
reset uptime
LearnMikroTik.ir 2014
MONITOR USERS
73
LearnMikroTik.ir 2014
74
Authorized Users
Information
about clients
connected to
Hotspot
interface
shown in
/ip hotspot host
LearnMikroTik.ir 2014
Authorized
users are
shown in
/ip hotspot
active
75
LearnMikroTik.ir 2014
76
Login Methods
LearnMikroTik.ir 2014
77
LearnMikroTik.ir 2014
78
13
8/1/2014
Login Configuration
LearnMikroTik.ir 2014
79
LearnMikroTik.ir 2014
HTTPS
Cookie
Cookie is sent to
client, after
successful HTTP
login
Hotspot does not
ask for
login/password for
second time access
LearnMikroTik.ir 2014
80
81
LearnMikroTik.ir 2014
MAC-Address
Trial
Avoid Hotspot
login page
Add MACaddress as
username
Authentication
occurs, as user is
connected to
the Hotspot
LearnMikroTik.ir 2014
82
83
LearnMikroTik.ir 2014
84
14
8/1/2014
Hotspot Sequence
LearnMikroTik.ir 2014
85
LearnMikroTik.ir 2014
Exceptions Sequence
Hotspot Logout
IP-Binding
Walled-Garden
LearnMikroTik.ir 2014
86
87
LearnMikroTik.ir 2014
88
User Profile
To apply common settings for the group of users
GROUP OF USERS
LearnMikroTik.ir 2014
89
LearnMikroTik.ir 2014
90
15
8/1/2014
Profile Settings
Rate Limit
Address-Pool, to enable
universal client
Session Timeout, user is
logged out after this time
Keepalive Timeout,
detects whether client is
reachable
Shared Users, allowed
simultaneous logins with
the same username
LearnMikroTik.ir 2014
91
It is possible to select
Dynamic Queue order
Parent Queue
Queue Type
LearnMikroTik.ir 2014
93
Advertise
LearnMikroTik.ir 2014
94
Alternative Advertising
LearnMikroTik.ir 2014
92
95
LearnMikroTik.ir 2014
96
16
8/1/2014
Scripts
Execute scripts on
Hotspot user login and
logout
LearnMikroTik.ir 2014
97
LearnMikroTik.ir 2014
98
Hotspot server
Servers menu lists all Hotspot
servers
Interface, specifies interface
Hotspot is configured on
Address-Pool, Universal
client for non-authorized
clients
Timeouts, timeouts for
unauthorized clients
Addresses-Per-Mac,
number of IP addresses
allowed per one MAC
address
SERVER CONFIGURATION
LearnMikroTik.ir 2014
99
LearnMikroTik.ir 2014
Hotspot Server
LearnMikroTik.ir 2014
100
101
LearnMikroTik.ir 2014
102
17
8/1/2014
Login
Server Profile
DNS name, Hotspot
server DNS name, use
FQDN
Rate-Limit, set
bandwidth limit for the
entire Hotspot server
HTTP proxy, parent
proxy settings
SMTP server, to
redirect e-mails to
your mail server
Hotspot login
method selection
Additional
authentication
settings
Trial User
configuration
LearnMikroTik.ir 2014
103
LearnMikroTik.ir 2014
Hotspot Customization
Hotspot pages
HTML-directory, sets
location of the Hotspot
server files
Use FTP client to get
Hotspot login page files
LearnMikroTik.ir 2014
105
Customize Hotspot
LearnMikroTik.ir 2014
106
LearnMikroTik.ir 2014
104
107
LearnMikroTik.ir 2014
108
18
8/1/2014
Previous Lab
Page Modifications
<input type=password>
<input type=hidden name=password value=password>
LearnMikroTik.ir 2014
109
LearnMikroTik.ir 2014
110
EXCEPTIONS
LearnMikroTik.ir 2014
111
Hotspot Exceptions
112
Hotspot Walled-Garden
LearnMikroTik.ir 2014
LearnMikroTik.ir 2014
113
LearnMikroTik.ir 2014
114
19
8/1/2014
Walled-Garden
Walled-Garden
LearnMikroTik.ir 2014
115
LearnMikroTik.ir 2014
Walled-Garden IP
IP Binding
LearnMikroTik.ir 2014
117
LearnMikroTik.ir 2014
One-to-One NAT
118
IP Binding types
LearnMikroTik.ir 2014
116
119
LearnMikroTik.ir 2014
120
20
8/1/2014
Firewall rules
LearnMikroTik.ir 2014
LearnMikroTik.ir 2014
121
Firewall rules
Exceptions lab
LearnMikroTik.ir 2014
122
123
LearnMikroTik.ir 2014
124
Accounting
ACCOUNTING
LearnMikroTik.ir 2014
125
LearnMikroTik.ir 2014
126
21
8/1/2014
SNMP
Information provided by SNMP
LearnMikroTik.ir 2014
127
22