UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
December
Su M Tu W Th F Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Sponsored Links
Latest Postings
Latest Reviews
Topic Options
Rate This Topic
#16191 - 03/16/03 06:20 PM Manually opening up a port in redhat
Rapture Offline
Member

Registered: 04/23/02
Posts: 212
Loc: 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

Top
Sponsored Links
      
#16192 - 03/16/03 06:38 PM Re: Manually opening up a port in redhat
Rapture Offline
Member

Registered: 04/23/02
Posts: 212
Loc: 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'

Top
#16193 - 03/16/03 07:31 PM Re: Manually opening up a port in redhat
mtlhd Offline
Junior Member

Registered: 05/21/02
Posts: 67
Loc: 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.

Top
#16194 - 03/16/03 07:43 PM Re: Manually opening up a port in redhat
Rapture Offline
Member

Registered: 04/23/02
Posts: 212
Loc: 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"

Top
#16195 - 03/16/03 07:55 PM Re: Manually opening up a port in redhat
mtlhd Offline
Junior Member

Registered: 05/21/02
Posts: 67
Loc: 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.

Top
#16196 - 03/16/03 07:59 PM Re: Manually opening up a port in redhat
Rapture Offline
Member

Registered: 04/23/02
Posts: 212
Loc: Redwood
cool thanks!!! I'll give them a shot later tonight when i get home

thanks again

--matt

Top

Moderator:  Infinite 
Featured Member
Registered: 08/22/14
Posts: 1
Forum Stats
2152 Members
46 Forums
36259 Topics
71429 Posts

Max Online: 1567 @ 04/25/10 05:20 AM
Top Posters
UGN Security 29420
Gremelin 7193
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
cdefgh368568, HushHush, golqm, Tim050, Gecko666
2151 Registered Users
Who's Online
0 registered (), 291 Guests and 363 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!