Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-01-2006, 05:47 PM   #1
LQ Newbie
Registered: May 2006
Posts: 2

Rep: Reputation: 0
Talking Iptables please

ok. this is my first post here! i have done some research for iptables but i cant take it anymore! i need some rest from reading but i really need this to work! i have a linux pc being used a my router and as a server. i have iptables installed (may i add my cuzin did 99% of all the work on this router so to say i know everything would be a lie), apache, and some other stuff. now what im trying to do is open a port that will allow port 8602 to be open tcp and udp so a program i have called xbconnect (google it, the forum wont let me post the url because of spamming purposes) so that i can play online. please tell me the command. ive used this one but it doesnt seem to work:
iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport 8602 -j DNAT --to-destination
iptables -t nat -A PREROUTING -i ppp0 -p udp --dport 8602 -j DNAT --to-destination
so what sould i do to get this thing to work. please help will be greatly thanked. i know there are many tutorials but i cant read another manual/tutorial right now however i need this to work as soon as possible.
need more info? just ask and ill tell you.
Old 06-01-2006, 10:59 PM   #2
Registered: Feb 2005
Distribution: Debian 3.x & Fedora Core 3, Debie on IBM Thinkpad
Posts: 68

Rep: Reputation: 15
This is how I used to open ports in iptables:
iptables -A INPUT -i eth0 -p tcp --dport 8602 -m state --state ESTABLISHED -j


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
iptables v1.2.9: Unknown arg `/sbin/iptables' Try `iptables -h' or 'iptables --help' Niceman2005 Linux - Security 4 12-29-2005 08:20 PM
Iptables - Couldn't load target `ACCPET':/lib/iptables/ z00t Linux - Security 3 01-26-2004 02:24 AM
IPtables Log Analyzer from brainlego Linux - Software 0 08-11-2003 06:08 AM
iptables book wich one can you pll recomment to be an iptables expert? linuxownt Linux - General 2 06-26-2003 04:38 PM
My iptables script is /etc/sysconfig/iptables. How do i make this baby execute on boo ForumKid Linux - General 3 01-22-2002 07:36 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:22 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