why not use the command
$ iptables  -t nat -L
 to view your iptable.
for easier configuration of your iptables, try using webmin.

2009/7/27 Daudi Were <daudi.were@gmail.com>
Good morning people,

I am trying to forward a port in Ubuntu 9.04 (desktop) with no luck. For example - if I want to open 36850 how would I do so?

I have tried:

ufw allow 36850

and

sudo iptables -A INPUT -p tcp --dport 36850 -j ACCEPT

When I run netstat -l i see:

tcp        0      0 *:36850                 *:*                     LISTEN    

but according to port scans the port is still closed. The router is already configured for this port.

so is this port open or what?

(oh and for the clowns out there yes I have JFGI already!)



--
Pamoja

e:daudi.were@gmail.com
skype: d.were

_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
Other services @ http://my.co.ke
Other lists
-------------
Announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce
Science:  http://lists.my.co.ke/cgi-bin/mailman/listinfo/science
kazi:     http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general



--
with Regards:
Owning an iphone in Kenya is a bargain. Find out how at my blog:.
http://gramware.blogspot.com