Re: [Siproxd-users] siproxd not reacting on incoming connections
Status: Beta
Brought to you by:
tries
From: Thomas R. <tr...@gm...> - 2018-09-04 17:12:46
|
Hi, 1) setting hosts_allow_reg = 0.0.0.0/0 is a bad idea, you don't want all the internet be able to register with your siproxd. hosts_allow_reg should be restricted to your local network. Remember, siproxd does proxy between public Internet and local networks that are connected to the Internet via NAT. 2) if using the same interface for if_inbound and if_outbound you must tell siproxd what its public IP is. Either by setting host_outbound or using the STUN plugin. 3) Enabling debug output will give more information about what is happening. Regards, /Thomas On 09/04/2018 01:36 PM, bloodcarter wrote: > iptables is configured properly, because when I set hosts_allow_reg for some > fake subnet and try to connect using my sip client, siproxd warns about > non-authorised attempt. And that's correct. But when I change hosts_allow_reg > = 0.0.0.0/0 <http://0.0.0.0/0> to allow registrations from any IP, then just > nothing happens, no logs, nothing. > > My siproxd.conf is below: > if_inbound = eth0 > if_outbound = eth0 > hosts_allow_reg = 0.0.0.0/0 <http://0.0.0.0/0> > sip_listen_port = 5060 > daemonize = 0 > silence_log = 0 > log_calls = 1 > user = siproxd > registration_file = /var/lib/siproxd_registrations > pid_file = /var/run/siproxd/siproxd.pid > rtp_proxy_enable = 1 > rtp_port_low = 10000 > rtp_port_high = 30000 > rtp_timeout = 300 > default_expires = 600 > debug_level = 0 > debug_port = 0 > > --Vladislav Chernyshov > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > > _______________________________________________ > Siproxd-users mailing list > Sip...@li... > https://lists.sourceforge.net/lists/listinfo/siproxd-users > |