Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
problem with openvpn roadwarrior and sip clients
« previous
next »
Print
Pages: [
1
]
Author
Topic: problem with openvpn roadwarrior and sip clients (Read 546 times)
samnet
Jr. Member
Posts: 50
Karma: 2
problem with openvpn roadwarrior and sip clients
«
on:
September 17, 2023, 01:11:26 pm »
Hello Everyone.
Ive noticed strange issue on road warrior and sip clients.
ive tested this on tun adaptor and here is what Ive found
when a sip client originates its packets the PBX inside my office LAN sees it coming form the virtual subnet.
so when the pbx send back it send back to the virtual openvpn subnet which does not seem to translate back to the actual client's ip being the rd warrior.
so for example:
RdWr ip: 192.168.5.4
logs successfully to Office LAN: 192.168.7.0/24 and initiates sip to pbx: 192.168.7.10/24
using openvpn subnet of 10.1.1.0/24 and the sip client having ip: 10.1.1.4/24
pbx tries to communicate back to ip: 10.1.1.4 but it goes no where and it does not reach the sip client causing voice to break
anyone have a clue on this pls?
Logged
----------------------------
Breeding Open Source
M0n0wall -> PfSense -> OpnSense -> Make lots of sense
bartjsmit
Hero Member
Posts: 1866
Karma: 189
Re: problem with openvpn roadwarrior and sip clients
«
Reply #1 on:
September 18, 2023, 07:33:17 am »
The client may be registering to the PBX with their LAN IP instead of their tunnel IP. Do you use a STUN service?
FWIW, I use Grandstream Wave on Android with FreePBX using an OpenVPN client and it just works. Maybe try a different soft phone?
Bart...
Logged
samnet
Jr. Member
Posts: 50
Karma: 2
Re: problem with openvpn roadwarrior and sip clients
«
Reply #2 on:
September 18, 2023, 11:18:52 pm »
no Im not using stun server.
but what I have noticed is that pbx is replying back to the private tunnel ip which is not translated back to the device ip.
I tried all other clients and same behavior
Logged
----------------------------
Breeding Open Source
M0n0wall -> PfSense -> OpnSense -> Make lots of sense
bartjsmit
Hero Member
Posts: 1866
Karma: 189
Re: problem with openvpn roadwarrior and sip clients
«
Reply #3 on:
September 19, 2023, 07:38:21 am »
Quote from: samnet on September 18, 2023, 11:18:52 pm
replying back to the private tunnel ip which is not translated back to the device ip.
The client should hold both a LAN IP and a tunnel IP and the PBX should reply to the latter. Can you run a packet capture on OPNsense to confirm?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
problem with openvpn roadwarrior and sip clients