Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2002
Posts: 212
Member
Member
Joined: Apr 2002
Posts: 212
I can't figure this crap out. I was reading about the Iptable thing but it confused the [censored] outta me. Is there an easy way to open up a port or two in redhat (8.0)? Or a link that explains how to.

thanks

--matt

Sponsored Links
▼ Sponsored Links ▼ ▲ Sponsored Links ▲
Joined: Apr 2002
Posts: 212
Member
Member
Joined: Apr 2002
Posts: 212
i tried this rule

iptables -A INPUT --destination-port xxxx -i ppp0 -j accept

the xxxx is the port number but I get "unknown arg '--destination-port'

Joined: May 2002
Posts: 70
UGN Poser
UGN Poser
Joined: May 2002
Posts: 70
I haven't used iptables in a while, but I believe you have to speicfy a protocol option. So it would look something like this:

iptables -A INPUT -p tcp --destination-port telnet -i ppp0 -j ACCEPT

You might want to check this link out, it doesn't really go in depth but it clarifies a lot of things, at least for me it does.


Click Here!

EDIT: This won't actually "open" a port, but rather allow connections to the port you specify. You first have to enable the service you want people to connect to.


People demand freedom of speech as a compensation for the freedom of thought which they seldom use.
Joined: Apr 2002
Posts: 212
Member
Member
Joined: Apr 2002
Posts: 212
hmmm I'll give that a try. Basically i need to open up port 2300 and some other one (both are udp) so i can play a damn game online with a friend. Will allowing connection to the port fix this? or does it have to be "open"

Joined: May 2002
Posts: 70
UGN Poser
UGN Poser
Joined: May 2002
Posts: 70
Here, check this google search I did:

Click Here

There's load of info, lots of premade firewall scripts and what not. They'll probably help you better than I can...hehe laugh


People demand freedom of speech as a compensation for the freedom of thought which they seldom use.
Joined: Apr 2002
Posts: 212
Member
Member
Joined: Apr 2002
Posts: 212
cool thanks!!! I'll give them a shot later tonight when i get home

thanks again

--matt


Link Copied to Clipboard
Member Spotlight
None yet
Forum Statistics
Forums41
Topics33,840
Posts68,858
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
Dartur 1
Cyrez 1
Girlie 1
unreal 1
Powered by UBB.threads™ PHP Forum Software 8.0.0