LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-22-2004, 11:54 AM   #1
ProgramGeek
LQ Newbie
 
Registered: May 2004
Location: Bothell, Washington
Distribution: Debian Stable
Posts: 13

Rep: Reputation: 0
Opening ports on Fedora Firewall


Hi, I have Fedora 2 running on my desktop and I am sort of curious as to how exactly would I open a port so I can have my health status turn green (no NAT problems etc etc). Right now I'm downloading a huge porn movie, so I don't beleive it would be very logical to stop and disk losing the data by using my debian boot.

ProgramGeek
 
Old 07-22-2004, 05:12 PM   #2
schurt
Member
 
Registered: Nov 2003
Location: raleigh, nc
Distribution: fedora, arch
Posts: 78

Rep: Reputation: 15
At least you're honest ;p

But you use iptables to open ports on your firewall

iptables -t filter -A INPUT -s 192.168.0.0/24 -p tcp --dport 22 -j ACCEPT

that rule will open up ssh port 22 for the whole local network on 192.168.0.0 of course you'd have to modify it a bit to accept it on your interface/network

GL with the porn download
 
Old 07-22-2004, 10:40 PM   #3
teet
LQ Newbie
 
Registered: Mar 2004
Location: Truman State University
Posts: 28

Rep: Reputation: 15
Login to server and su to root.
type /usr/sbin/lokkit

From the menu select custom.
Leave blank next to the ethport, only mark if you want to allow all traffic.
Mark all services which remote access is to be given.
You can add additional ports by typing XX:tcp XX:udp where XX is the port number.
Save and you are ready to go.

This worked for me when I needed to open ports 6881-6889 for bit torrent (note, i also had to enable port forwarding on my router).

-teet
 
  


Reply



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
Opening ports lunke Linux - Security 10 06-07-2005 03:04 AM
Ports still not opening! Help? spam4scott Linux - Networking 1 05-28-2004 12:48 AM
Opening firewall ports bezaleel Linux - Newbie 2 02-16-2004 07:14 AM
MDK 9.2 firewall and opening ports kalock Linux - Networking 11 12-02-2003 12:20 PM
Opening Ports george3k Linux - Newbie 7 02-16-2003 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:02 AM.

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