If by iptables commands - the commands I used to try and open the ports? :
I followed this guide: voip-info.org/wiki/view/Aste … wall+rules
and these commands:
iptables -A INPUT -p udp -m udp --dport 5060 -j ACCEPT
service iptables status shows:
ACCEPT udp – 0.0.0.0/0 0.0.0.0/0 udp dpt:5060
but from the server netstat -a |grep 5060 pulls nothing…no 5060 to be seen.
From another machine I try:
nmap -PN -p 5060 192.168.13.107
which spits out: 5060/tcp closed sip
While doing that port map wireshark shows:
11636 340.473273 192.168.13.131 192.168.13.107 TCP 38743 > sip [SYN] Seq=0 Win=5840 Len=0 MSS=1460 TSV=1000658 TSER=0 WS=7
11637 340.473547 192.168.13.107 192.168.13.131 TCP sip > 38743 [RST, ACK] Seq=1 Ack=1 Win=0 Len=0
when my cisco 7941 hits the asterisk box it is reading tftp fine:
but showing this, I’m assuming in an attempt to talk sip 5060:
13823 525.095300 192.168.13.107 192.168.13.137 ICMP Destination unreachable (Port unreachable)
The phone was flashed from that same tftp on the same server as asterisk and when it boots it gets a valid read request of the files sitting on the server… example: 13915 533.094997 192.168.13.137 192.168.13.107 TFTP Read Request, File: SEP001930XXXXXX.cnf.xml\000, Transfer type: octet\000
192.168.13.107 - Asterisk
192.168.13.137 - 7941 phone
192.168.13.131 - Host machine for VB
I’m running AsteriskNow 1.7.1 in a virtualbox on an Ubuntu 10.10 box.
The asterisk box is using eth0 which is bridged by VirtualBox from the host machine.
I can ping everything…just no port. If you need more info, let me know. Hope that helps and that you can help me. Thanks