Your browser does not seem to support CSS. If images appear below, please disregard them.
It appears that you're running an Ad-Blocker. This site is monetized by Advertising and by User Donations; we ask that if you find this site helpful that you whitelist us in your Ad-Blocker, or make a Donation to help aid in operating costs.
Previous Thread
Next Thread
Print Thread
Rate This Thread
#16191 - 03/16/03 11:20 PM Manually opening up a port in redhat  
Joined: Apr 2002
Posts: 212
Rapture Offline
Member
Rapture  Offline
Member

Joined: Apr 2002
Posts: 212
Redwood
I can't figure this crap out. I was reading about the Iptable thing but it confused the shit 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
#16192 - 03/16/03 11:38 PM Re: Manually opening up a port in redhat  
Joined: Apr 2002
Posts: 212
Rapture Offline
Member
Rapture  Offline
Member

Joined: Apr 2002
Posts: 212
Redwood
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'

#16193 - 03/17/03 12:31 AM Re: Manually opening up a port in redhat  
Joined: May 2002
Posts: 67
mtlhd Offline
Junior Member
mtlhd  Offline
Junior Member

Joined: May 2002
Posts: 67
Los Angeles,CA
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.
#16194 - 03/17/03 12:43 AM Re: Manually opening up a port in redhat  
Joined: Apr 2002
Posts: 212
Rapture Offline
Member
Rapture  Offline
Member

Joined: Apr 2002
Posts: 212
Redwood
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"

#16195 - 03/17/03 12:55 AM Re: Manually opening up a port in redhat  
Joined: May 2002
Posts: 67
mtlhd Offline
Junior Member
mtlhd  Offline
Junior Member

Joined: May 2002
Posts: 67
Los Angeles,CA
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


People demand freedom of speech as a compensation for the freedom of thought which they seldom use.
Sponsored Links
#16196 - 03/17/03 12:59 AM Re: Manually opening up a port in redhat  
Joined: Apr 2002
Posts: 212
Rapture Offline
Member
Rapture  Offline
Member

Joined: Apr 2002
Posts: 212
Redwood
cool thanks!!! I'll give them a shot later tonight when i get home

thanks again

--matt


Member Spotlight
Gremelin
Gremelin
Portland, OR; USA
Posts: 7,195
Joined: February 2002
Show All Member Profiles 
Forum Statistics
Forums45
Topics46,754
Posts81,924
Average Daily Posts11
Members2,159
Most Online1,567
Apr 25th, 2010
Latest Postings
Top Posters(All Time)
UGN Security 39,918
Gremelin 7,195
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Liked Users (All Time)
§intå× Likes: 1
Cold Sunn Likes: 1
Crime Likes: 1
Cyrez Likes: 1
Ghost Likes: 1
Gremelin Likes: 4
Ice Likes: 1
unreal Likes: 1
Top Liked Users (30 Days)
Powered by UBB.threads™ PHP Forum Software 7.6.0
(Snapshot build 20160902)