Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-24-2004, 11:50 AM   #1
LQ Newbie
Registered: Jul 2004
Posts: 26

Rep: Reputation: 15
open ports with iptables?

i want to open the port 10000 by using iptables.please help me to provide the iptables rule
thank u
Old 12-24-2004, 03:24 PM   #2
Registered: Mar 2004
Distribution: Fedora Core 17 & 18, Debian Wheezy
Posts: 137

Rep: Reputation: 16
As you want to open port 10000 I assume you already have webmin.

Connect to and login as your webmin user, go to Network, then linux firewall.

you can add a rule that accepts connections when the destination port is 10000 ( you will also have to specify TCP as the network protocol) - Thats the same same as opening port 10000 through iptables.
Old 12-27-2004, 06:54 AM   #3
Registered: Dec 2001
Location: ./
Distribution: Fedora, CentOS, RHEL, Gentoo
Posts: 167

Rep: Reputation: 34
/sbin/iptables -A INPUT -i eth0 -m state --state NEW,ESTABLISHED,RELATED -p tcp -s -d --dport 10000 -j ACCEPT
replace eth0 with your external interface device (which is probably eth0)
replace with your external IP
replace with allowable IP network ( means everyone )


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I open up ports in iptables? ekerik Linux - Networking 13 10-07-2009 11:00 AM
Open All Ports - iptables Artik Linux - Networking 2 06-21-2005 03:17 PM
ports open with iptables saugato Linux - Security 3 04-19-2005 01:31 AM
open ports with iptables? tykkea811 Linux - Networking 2 12-12-2004 01:43 AM
Iptables: Open some ports! Abomm Linux - Networking 2 05-31-2002 01:49 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration