[asterisk-users] OpenVPN + SIP configuration?

Dale Noll dnoll at wi.rr.com
Tue Jan 11 14:54:24 CST 2011


> I read a whole book on OpenVPN, but still can't figure how to
> configure the server + client so that the the client connects and
> sends SIP/RTP data through the tunnel.
>
> To get started, I'd rather use a shared key instead of X509
> (certificates + keys). The server is running on a uClinux appliance,
> with /dev/net/tun, and OpenVPN is 2.0.9. The clients will be Windows
> hosts connecting through Ethernet in hotels or public wifi hotspots.
>

I use OpenVPN to pass both IAX2 trunking and SIP for a softphone on a 
laptop.  Works very well.

If the OpenVPN server is on a uClinux appliance, my first question is 
does the * server know how to route to the OpenVPN client address?  If 
the appliance is not the default gateway for the server,  a route to the 
OpenVPN client via the uClinux appliance address needs to be added.

Since the client is Windows, you do have to start the client (GUI) as 
'Administrator' otherwise the routing table does not get updated and the 
client cannot route to the server network.

Dale



More information about the asterisk-users mailing list