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:

[r...@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
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to