On 3/30/2014 7:09 AM, İlker Aktuna wrote:
> Hi Tom,
> 
> I'm sorry that I come back so late. I was busy with other issues.
> 
> I tried both of your suggestions but neither has helped me. Actually
> I was looking for a port based routing mechanism but it seems that it
> is not possible even with the so valuable ip-tables of linux. (weird
> ?)

It works well for forwarded traffic, but not so well for traffic
originating on the gateway.

> 
> Now I have another idea; to keep the port 5060 of  ppp0 busy so that
> Asterisk can not listen on it. Is there a dummy app which can do that
> ? (I am looking for an app with very few cpu utilization so that it
> doesn't get a burden on the cpu) Or even, would it be possible to
> keeping that port busy using ip-tables ?

I assume that when you specify 'all interfaces' for asterisk, that it
binds its socket to 0.0.0.0:5060. I believe that fails if there is an
application that has bound to the same port on a specific interface.

> 
> Btw, my Shorewall configuration works by tracling the pakets on both
> ISP connections. So if a connection is made through ppp1, all packets
> of the same session go through that interface. Why doesn't this work
> for packets incoming to that interface ?
> 

It does work that way.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to