Skip to contentSkip to conversation

newbie

DISCUSSION IT Clown 2 participants 2 messages Mar 26, 2004

lore
Share & tools
lore

IT Clown

author
#0 lore raw

Hi all

I am new to iptanles i am just wondering i have the following in my iptables file.

INPUT DROP [0.0]
OUTPUT DROP [0.0]
FORWARD DROP [0.0]

as i understand that will drop every comunications.

what rules will i need to apply to allow www,ftp,mirc browsing?

I want to do that on another pc behind the firewall.

Regards
__________________________________________________________________________
http://www.webmail.co.za/dialup Webmail ISP - Cool Connection, Cool Price

#1 lore raw
Quoted 6 lines · IT Clown

I am new to iptanles i am just wondering i have the following in my iptables file.
INPUT DROP [0.0]
OUTPUT DROP [0.0]
FORWARD DROP [0.0]
as i understand that will drop every comunications.

Yes, it will.

Quoted 3 lines

what rules will i need to apply to allow www,ftp,mirc browsing?
I want to do that on another pc behind the firewall.

There are three things I would suggest. The first is reading two tutorials on http://www.netfilter.org/documentation/index.html - specifically the "packet filtering HOWTO" and the "NAT HOWTO".

The second is Oskar's excellent iptables tutorial, at
http://iptables-tutorial.frozentux.net/iptables-tutorial.html.

The third is taking a while to work out what ports the services you mention work on. A basic feel for how TCP/IP connections work would help too. The knowledge that in most cases a client chooses a port >1024 and connects to the service port should suffice. People on the list could easily list the ports you need to allow or deny but you'll learn a tremendous amount by spending 10 minutes working it out.

In any case, don't forget you will need to enable IP Forwarding on your netfilter machine.

Hope those pointers help,

David