Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 979  / 2 Years ago, sat, july 2, 2022, 1:10:44

Given is the following configuration: An Openwrt router with Asterisk and OpenVPN installed, an Ubuntu 14.04 client with Ekiga and Empathy.
I would like to connect thorough VPN to Asterisk server with Ubuntu client.
The another client running Android and SIPsimple runs via VPN fine.
Connection to the VPN service from Ubuntu client can be established and other services are running fine. The message in Ekiga and Empathy is unable to register service.



Is there any additional setup possible regarding routing between Ekiga or Empathy on the Ubuntu client?



Asterisk via VPN from the local network on the Ubuntu client works. The problem is any remote network outside.


More From » openvpn

 Answers
5

The Empathy client works as well with following settings:



sip address: [email protected]

Special settings:

proxy settings: only set port to 5060, the address leave blank
username: set your username
local address: use your tun device address from ifconfig when connected to vpn (e.g. 10.0.0.6)
checkboxes: uncheck all options
transport: choose your transport defined in Asterisk' settings
all other settings: leave default


The Ekiga settings are following:



Registrator: 10.0.0.1
user: your sip username
registered user: your sip username
password: your sip password
timeout: 3600

proxy: leave empty
forwarding URI: leave empty


SIP server settings:



The sip.conf for Asterisk does have to contain a line:



localnet=10.0.0.0/8


The openvpn configuration file in /etc/config has to contain:



option server '10.0.0.0 255.255.255.0'


Tested on Ubuntu 14.04 Empathy 3.8.6, Ubuntu 15.10 Empathy 3.12 and Ubuntu 14.04 Ekiga 4.0.1.


[#16113] Sunday, July 3, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sconhoney

Total Points: 403
Total Questions: 118
Total Answers: 109

Location: Andorra
Member since Mon, Jan 9, 2023
1 Year ago
;