LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-11-2006, 09:43 PM   #16
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62

Quote:
Originally Posted by magnoliablossom
I have a few questions about this...Some may sound a little dumb but I'm new to Linux.

1. How do you execute a script?
It depends. For a firewall script, it needs to be setup to run at boot, before your network connection is activated. How to do this, depends on your distro.

Quote:
2. One of the things I like about Linux is that I don't HAVE to use a firewall because firewalls slow down your internet performance. Will this script slow it down as well?
A firewall shouldn't slow your internet connection by any significant amount. Certainly not a decent one like IPTABLES anyway. You do have to use a firewall on Linux - just because you live in a good neighbourhood doesn't mean that you don't lock your doors.

Quote:
3. If something should go wrong with this script, how would I remove it?
How do you mean? You will basically have to edit the script and change the iptables rules.

Quote:
4. Would I still be able to use messengers and receive files from friends?

5. Could I still use p2p software?
This shouldn't block outbound connections, but you may need to add rules to open ports from some P2P and IM software.

Quote:
6. Is this how I would set it up for dial-up as well?
You don't really need a firewall on dial-up, because you are not connected for long enough.

Basically, most Linux "Firewalls" are just frontends to IPTABLES, which is built into the kernel. This script that win32sux as posted is just shell script that sets rules for IPTABLES to follow.

I would suggest Firestarter, which is also a frontend to IPTABLES. It write a script, that is run automatically on boot. While it may be overkill for most desktops, it is possibly easier than trying to understand complex IPTABLES rules.

I hope this helps
--Ian
 
Old 08-12-2006, 12:18 AM   #17
magnoliablossom
LQ Newbie
 
Registered: Jul 2006
Posts: 13

Rep: Reputation: 0
Quote:
Originally Posted by IBall
It depends. For a firewall script, it needs to be setup to run at boot, before your network connection is activated. How to do this, depends on your distro.
My distro is Ubuntu Dapper and I've never set up anything to run at boot...soooo...I have no idea how to do it.

Quote:
A firewall shouldn't slow your internet connection by any significant amount. Certainly not a decent one like IPTABLES anyway. You do have to use a firewall on Linux - just because you live in a good neighbourhood doesn't mean that you don't lock your doors.
My closest neighbor is about a mile from my house, it's back on an old dirt road 1/2 mile from the main road....I rarely lock my doors cos unless you know there's a house back here you're not gonna find it....In case you're wondering...I live in the sticks. lol


Quote:
How do you mean? You will basically have to edit the script and change the iptables rules.
Okay I can understand that...making a backup copy of it before i try it should take care of that then.


Quote:
This shouldn't block outbound connections, but you may need to add rules to open ports from some P2P and IM software.
This is sounding way too hard already. :P


Quote:
You don't really need a firewall on dial-up, because you are not connected for long enough.
Actually my modem is connected to the internet all the time. When the computer boots up, it automatically connects and holds that connection for 12 hrs. After 12 hrs, my carrier drops it and then the dialer automatically connects again.

Quote:
Basically, most Linux "Firewalls" are just frontends to IPTABLES, which is built into the kernel. This script that win32sux as posted is just shell script that sets rules for IPTABLES to follow.

I would suggest Firestarter, which is also a frontend to IPTABLES. It write a script, that is run automatically on boot. While it may be overkill for most desktops, it is possibly easier than trying to understand complex IPTABLES rules.

I hope this helps
--Ian
Will do on the firestarter and yes it does. Thank you.

~* Ash
 
  


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
ubuntu partitioning tool does not see external usb hard drive when installing ubuntu fakie_flip Linux - Software 2 07-30-2006 12:44 AM
UBUNTU 5.04 PPTP configuration problem . On the Help Page of ubuntu is strange proble ReGgaE-Bg Linux - Networking 1 06-13-2006 08:05 AM
UBUNTU 5.04 PPTP configuration problem . On the Help Page of ubuntu is strange proble ReGgaE-Bg Ubuntu 0 06-13-2006 06:33 AM
LXer: Printing with Ubuntu: Insights for a quick and easy Ubuntu printer installation LXer Syndicated Linux News 0 06-03-2006 09:54 AM

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

All times are GMT -5. The time now is 01:46 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