Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: achandra on September 10, 2006, 11:54:42 AM
-
Hello,
I am attempting to use the port forwarding panel, and one I open a port say 5060 and forward it to 192.168.0.8, it doesnt work.
Specifically I have done a netstat -anp | grep 5060 and nothing shows up.
I have also verified the port 5060 to to be up and working on the internal host with no selinux or iptables firewalls running.
I have checked the /etc/init.d/masq file and while the entry is there...i am pretty confident port forwarding isnt working...can someone help out??
-
Hi have done multiple attempts at this now with different ports..
is this a bug>> :-(
-
Are you in Server/Gateway mode or Server only?
What is your network setup?
Jon
-
Server/gateway mode.
Eth0 - external
Eth1 -internal 192.168.0.1
Internal network 192.168.0.0/24
internal machine to forward to 192.168.0.7/24
Thats pretty much it.
-
netstat -anp won't show port forwarded ports.
iptables -L -t nat will show the forwarded ports in the firewall.
In what way do you think port forwarding not working. Since you mention port 5060 I assume you are forwarding SIP to a Trixbox or a SIP phone.
Are you sure you have the right protocol forwarded UDP not TCP
-
Jon,
Thanks for the info.. Ill run that command when I get home.
You are correct that it is indeed an * install on the inside.
What Im having issues with is that I get a first ring on the * box from my phone then dead silence.
I was assuming that rtp streams were not forwarding correctly and either the UDP ports for 5060 or range between 10000-20000 for udp traffic was not setup right. I will check again tonight and I could be experiencing some sort of other anomoly. Thnx for your help.
AC
-
I am attempting to use the port forwarding panel, and one I open a port say 5060 and forward it to 192.168.0.8, it doesnt work.
Did you test from the Internet? Port forwarding doesn't (can't) work on the local network.
Specifically I have done a netstat -anp | grep 5060 and nothing shows up.
You shouldn't expect it to. Port forwarding happens at the IP packet level, and doesn't create any sockets.