[Asterisk-Users] iptables rules that work?

Sunny Woo sunnywoo at yahoo.com
Sat Sep 20 23:04:14 MST 2003


Brian,
Try these:
...

-A INPUT -s x.x.x.x -p udp -m udp --dport 5060 -j
ACCEPT
-A INPUT -s x.x.x.x -p udp -m udp --dport 10000:20000
-j ACCEPT
-A INPUT -s x.x.x.x -p tcp -m tcp --dport 22 --syn -j
ACCEPT

...

Sunny

--- Brian West <brian at bkw.org> wrote:
> I'm trying to get some iptables rules that work with
> asterisk but for some
> reason I keep blocking everything and or locking
> myself out of the box..
> mybad.... does anyone have any configs they would
> like to share that allow
> asterisk and ssh from x ip?
> 
> TIA
> 
> bkw
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
>
http://lists.digium.com/mailman/listinfo/asterisk-users


=====
Sunny Woo
email: sunnywoo at yahoo.com



More information about the asterisk-users mailing list