Costantino wrote:

>I'm running quite few Asterisk setups where the machine has got only 
>Asterisk and it's part of an environment where another machine runs 
>Shorewall, and I do not have any problem, whether with the VoIP 
>telephones on the local LAN or TSP coming from the outside world.
>
>I believe with the configuration I've described the issue has got 
>more to do with what Asterisk does in term of binding when Shorewall 
>is active and the changes Shorewall has induced on the network on 
>activation.
>
>In fact even with the both NIC cards present, the issue disappears 
>as soon as Shorewall is disabled.

No, Shorewall will **NOT** affect what Asterisk binds to. Shorewall 
does **NOT** affect the interfaces available to a process, nor the IP 
addresses the process will be able to detect on those interfaces. If 
doing "shorewall clear" allows things to start working, then your 
policies/rules are wrong - because "shorewall clear" only clears the 
iptables rules etc, it cannot magically make a process bind to 
interfaces it wasn't bound to before.

The fact that you could see the packets entering an interface with 
wireshark, but Asterisk didn't report anything, does suggest that 
your policies/rules caused the packets to be dropped.

Try "netstat -anp", that will show you what interfaces/ports are 
being bound to.

-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to