how to connect external ip phones with askoziapbx through vpn - webinar 2016, english

Post on 22-Jan-2018

94 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Your Hosts

Markus Ehlers Benjamin-Nicola Lüken

Agenda

•Why is a VPN required to connect external phones?

• Basic knowledge about how a VPN works

• How to configure pfSense as an VPN server

• How to configure a Snom phone as a VPN client

Why VPN? Because SIP port forwarding is not recommended

•Open ports are a serious vulnerability • Bots are searching for open SIP ports • Brute-Force-Attacks • DDoS-Attacks

• SIP is not encrypted • A man in the middle could read meta data and audio

• Port and IP addresses are wrong • No audio •One way audio •Works sporadically

Always with a VPN Security, Reliability, Less issues

• No open SIP ports • No target for a hacker

• VPN can be encrypted • Nobody can see your SIP registration or calls

• No audio problems • It works like a phone within the company’s local network • No need to think about the network of the home office

Application

Presentation

Session

Transport

Network

Data Link

Physical

SIP

IP

MAC

Application

Presentation

Session

Transport

Network

Data Link

Physical

SIP

IP

Laye

r 2 (S

witc

h)

Laye

r 3 (R

outin

g)

SIP-

ALG

, SIP

-Pro

xy

MAC

Application

Presentation

Session

Transport

Network

Data Link

Physical

SIP

IP Network IPe.g. 216.123.123.123

SIP IPe.g. 192.168.1.5

Laye

r 2 (S

witc

h)

Laye

r 3 (R

outin

g)

SIP-

ALG

, SIP

-Pro

xy

Dee

p Pa

ckag

e In

spec

tion

MAC

Application

Presentation

Session

Transport

Network

Data Link

Physical

SIP

IP

Laye

r 2 (S

witc

h)

Laye

r 3 (R

outin

g)

SIP-

ALG

, SIP

-Pro

xy

MAC

Application

Presentation

Session

Transport

Network

Data Link

Physical

SIP

IP

MACLayer 2 VPN Bridging (TAP)

Layer 3 VPN Routing (TUN)

VPN Example

Internet

Askozia192.168.10.50

Router180.123.123.123

10.99.0.55

NAT IPv410.99.0.0/24

NAT IPv4192.168.10.0/24

Firewall/Router240.123.123.123

VPN-Server

Without VPN:SIP-IP: 10. 99. 0. 55Layer 3 IP: 180.123.123.123

With VPN:SIP-IP: 192.168.10.10Layer 3 IP: 192.168.10.10

192.168.10.10

VPN

My CompanyHome Office

How to configure?

•Configure a VPN server • Create certificates (CA and Server certificate) • Create OpenVPN server (tap) • Install OpenVPN Export package • Create a firewall rule for VPN

•Prepare/Configure a SNOM phone • Prepare the Firmware • Export a VPN configuration •Modify the VPN configuration • Upload the VPN configuration

An example with pfSense

Questions? Time to wake up!

markus.ehlers@askozia.com

top related