openvpn p2p

vladimir simeonov
12/02/2017

generate the secret and copy it to all peers:

openvpn –genkey –secret /etc/openvpn/keys/p2p-secret.key

target:

port 5500
proto udp
dev tun200
ifconfig 172.17.4.1 172.17.4.2
secret keys/p2p-secret.key
comp-lzo

cipher AES-256-CBC
script-security 2

status /var/log/openvpn-status.log

log /var/log/openvpn.log

 

initiator:

dev tun
proto udp

remote blog.it-training.pro 5500
ifconfig 172.17.4.6 172.17.4.5
port 5500
nobind

user openvpn
group openvpn

persist-key
persist-tun

secret keys/p2p-secret.key
cipher AES-256-CBC

comp-lzo

verb 3

 

VyOS initiator:

set interfaces openvpn vtun9
set interfaces openvpn vtun9 local-address 172.17.4.6
set interfaces openvpn vtun9 remote-address 172.17.4.5
set interfaces openvpn vtun9 remote-host blog.it-training.pro
set interfaces openvpn vtun9 encryption aes256
set interfaces openvpn vtun9 openvpn-option ‘comp-lzo’
set interfaces openvpn vtun9 local-port 5500
set interfaces openvpn vtun9 remote-port 5500
set interfaces openvpn vtun9 mode site-to-site

#manually upload the secret file in the /conf/auth location
set interfaces openvpn vtun9 shared-secret-key-file /config/auth/p2p-secret.key
commit;save

Designing and Implementing VoIP Solutions for the Naval Academy “N.Vaptsarov” – Varna March 2012 to March 2013

vladimir simeonov
10/01/2017

Designing, Implementing and Maintaining VoIP Solution based on Asterisk/SIP/ISDN/GSM/ATA/
Softphones for the Naval Academy. Main goal is optimizing cost, offering mobile telecommunication
solutions and improving existing communication solutions. There is also a lab environment where students
can learn how VoIP works.
Asterisk
freeBPX
openVOX Hardware (BE200P, BRI connections to ISDN PBX)
GrandStream GXP1400 (SIP Clients)
Linksys SPA303 (SIP Clients)
3CX Softphone (SIP Clients)
Linksys ATA (PAP2) (Analog Telephones)
CISCO ATA (SPA122) (Analog Telephones)
Ubuntu Server
FreePBX Distro
OpenVPN
Page7
Mobile Phones (Various SIP clients for Android/IOS/Symbian)
Mobile Clients
Provisioning
ISDN/SIP/IAX2 Trunks
GSM Trunks (DINSTAR 4 SIM gateway)

welcome

vladi
19/12/2016

Welcome to my blog.