Hi Guys, I have tried every single rule I could into iptables but I can't register this VPS to a provider Spikko. Finally I did an iptable accept on INPUT, OUTPUT, and FORWARD, for ports 0:65000 just to test things and still I can't register to the provider. I can easily register to another provider which uses port 5060 and I can make calls. But sip show registry only show Request Sent for registry and there are 6 tries of Invite and then call fails. Following is the iptables info: [root at tel ~]# service iptables status Table: nat Chain PREROUTING (policy ACCEPT) num target prot opt source destination Chain POSTROUTING (policy ACCEPT) num target prot opt source destination Chain OUTPUT (policy ACCEPT) num target prot opt source destination Table: mangle Chain PREROUTING (policy ACCEPT) num target prot opt source destination Chain INPUT (policy ACCEPT) num target prot opt source destination Chain FORWARD (policy ACCEPT) num target prot opt source destination Chain OUTPUT (policy ACCEPT) num target prot opt source destination Chain POSTROUTING (policy ACCEPT) num target prot opt source destination Table: filter Chain INPUT (policy ACCEPT) num target prot opt source destination 1 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:0:65000 2 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpts:0:65000 3 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 4 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 5 ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmp type 8 Chain FORWARD (policy ACCEPT) num target prot opt source destination 1 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpts:0:65000 2 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:0:65000 3 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED Chain OUTPUT (policy ACCEPT) num target prot opt source destination 1 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpts:0:65000 2 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:0:65000 3 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state NEW,RELATED,ESTABLISHED Thanks, Bruce -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100606/f0b7d0e2/attachment.htm
Tilghman Lesher
2010-Jun-06 20:58 UTC
[asterisk-users] problem with port 5090 registration
On Sunday 06 June 2010 13:46:49 bruce bruce wrote:> I have tried every single rule I could into iptables but I can't register > this VPS to a provider Spikko. Finally I did an iptable accept on INPUT, > OUTPUT, and FORWARD, for ports 0:65000 just to test things and still I > can't register to the provider. > > I can easily register to another provider which uses port 5060 and I can > make calls. But sip show registry only show Request Sent for registry and > there are 6 tries of Invite and then call fails.Show us your register line and sip peer configuration (with the username and password X'ed out). I suspect a lack of a port configuration somewhere. -- Tilghman Lesher Digium, Inc. | Senior Software Developer twitter: Corydon76 | IRC: Corydon76-dig (Freenode) Check us out at: www.digium.com & www.asterisk.org
Possibly Parallel Threads
- Am I having problems with codecs? or am I not receiving an invite at all from my DID provider?
- Conflict between iptables and previous shorewall installation
- ADMINISABSENTMINDED=No misbehaviour according to the manual
- [Help] IMQ download traffic is duplicated !?
- ADSL router, two nics, web server not visible from internet