You are not logged in.

#1 2010-07-11 15:00:53

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

secure networking. 2 questions about firewall and iptables

question 1. During pppoe-setup, this asks me about firewall level. 0, none, 1 standalone and 2 - mascarade. Wich one is best?
I'm a "normal" user that navigates, down things (p2p included) and just it. I'm using bridging and just one computer are using internet.

And a second one. I would like a good layer of protection. I don't know so much iptables, but I know how edit it. I would like use it. I've tried firewalls but not succesfull. Some of them don't work, and other ones blocked all (including firefox)
I've seen some rules, and commands, like

iptables -A INPUT -p tcp --syn -j DROP

iptables -A INPUT -i ppp0 -p udp --dport 0:30000 -j DROP

but, when I take a modeprobe iptables, I receive

FATAL: Module iptables not found.

and, when I try start it manually

# /etc/rc.d/iptables start
Cannot load iptables rules: /etc/iptables/iptables.rules is missing!

I think it's cause so much tries of a firewall.

Offline

#2 2010-07-11 16:57:31

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: secure networking. 2 questions about firewall and iptables

You don't have any firewall rules.
Read this first: http://wiki.archlinux.org/index.php/Iptables
I recommend that you do not configure iptables directly (do that when you know what you are doing).
A good tool to configure iptables is ufw (originally from ubuntu). It has a very simple syntax.
Ex: Allow inbound ssh connections,

 ufw allow ssh

You can also use a GUI tool like firestarter (GTK and very simple), or guarddog (QT and more advanced).


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#3 2010-07-11 18:52:14

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: secure networking. 2 questions about firewall and iptables

and how may I configure amule and firefox? with ports and others

Offline

Board footer

Powered by FluxBB