大网数据广告活动
服务器运维问答

Configure siproxd to use behind a openvpn connection

· 52CE 我爱测

I need to configure a proxy-sip. I discovered siproxd, but I am not able to use it. My network is as follows: PC-Windows -> Use MicroSip -> 192.168.1.10 PC-Linux -> Use siproxd -> Network interface -> ens33 -> 192.168.1.111 Netwo…

问题原文

原帖链接 · Victor Sanchez · CC BY-SA 4.0

I need to configure a proxy-sip. I discovered siproxd, but I am not able to use it.

My network is as follows:

PC-Windows -> Use MicroSip -> 192.168.1.10 
PC-Linux -> Use siproxd -> 
   Network interface -> ens33 -> 192.168.1.111  
   Network interface -> tun0 ->  10.10.2.33 (OpenVPN raised) 
PC-Asterisk -> 10.10.2.222

I use this configuration file for siproxd (the other default options)

if_inbound  = ens33
if_outbound = tun0
host_outbound = 10.10.2.222

In microsip, I configure the Proxy field and put: 192.168.1.111. The other fields I leave them the same as when I have direct access to PC-Asterisk (10.10.2.222) (or when I can use openvpn in this machine)

Microsip connects correctly, but does not allow me to make calls.

What am I doing wrong? Is there another simple alternative that works?

已采纳解答

原帖链接 · Jesús Diéguez Fernández · CC BY-SA 4.0

As per siproxd FAQ ( http://siproxd.sourceforge.net/index.php?op=faq ) ensure that PC-Linux host has packet forwarding enabled ant that iptables is doing masquerading between the two nets.

If PC-Linux host is not PC-Windows default gateway, you would also need to setup static routes to be able to reach the Asterisk network.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2020-05-12)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。