Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: steve288 on July 09, 2010, 06:22:00 PM

Title: how can I see what ports are being forwarded?
Post by: steve288 on July 09, 2010, 06:22:00 PM
I know the interface in the sme has a gui to see what ports are being forwarded but can anyone tell me if there is a command to see the current ports forwarded, some iptables command?? maybe and where this file is that contains the info about ip\ports being forwarded. I have searched but cant seem to find it definitively.
Thanks.
Title: Re: how can I see what ports are being forwarded?
Post by: CharlieBrady on July 09, 2010, 07:33:00 PM
I know the interface in the sme has a gui to see what ports are being forwarded but can anyone tell me if there is a command to see the current ports forwarded, some iptables command?

"iptables-save" will show you all rules currently in effect. Look there in the NAT section.
Title: Re: how can I see what ports are being forwarded?
Post by: steve288 on July 09, 2010, 07:55:14 PM
Well thats a new one for me,
thanks.