LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-29-2002, 09:06 AM   #1
Golem
LQ Newbie
 
Registered: Jan 2002
Posts: 12

Rep: Reputation: 0
Post Firewall Setup


Hi!

First, I would like to say how happy I was to have found this site. As a newbie to Linux I have managed to solve a number of problems with my installation just by reading this forum.

When I initially installed Red Hat 7.2 I could not get Samba working to share files with my Windows boxes. I discovered that it was a firewall (ipchains) problem so I stopped the ipchains service and it works fine. This has unfortunately left me with no protection on my Linux box. I am hoping that if I describe my setup someone can point me in the right direction to getting ipchains working on my network.

I do not wish to have my Linux box as a dedicated firewall. It is simply another workstation on my network.

I have a WIN98se, Win2K and Red Hat 7.2 box on a simple network. They are connected through a small 8 port hub. I also have an ADSL Cisco modem plugged into the hub to provide my Internet access.

TCP/IP configuration on all machines is default. Each box is assigned a 10.xx.xx.xx IP number by the Cisco modem or router (networking is not my forte). Of course the "external" ip presented to the internet community for each of these boxes is different.

I am running Samba on the Linux box for file sharing purposes with the Windows machines. I have also installed wu-ftpd in order to run a small ftp.

I would like to know how to configure ipchains so that my little home network will continue to function properly with samba and also allow for the operation of my ftp while providing me a reasonable measure of protection from the outside world.

Any help would be greatly appreciated!!

- Mike
 
Old 01-29-2002, 09:19 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well, yuo'd not use ipchains, you should be using iptables, whcih is newer and preferable.

you either need to look over the iptables howto at linuxdoc.org, or find a reliable frontend to a firewall script such as firestarter, using that it's easy to only have a firewall on one interface, i.e. your modem
 
Old 01-31-2002, 06:56 AM   #3
Golem
LQ Newbie
 
Registered: Jan 2002
Posts: 12

Original Poster
Rep: Reputation: 0
I installed Firestarter and that seems to have cleared the problem up completely.

Thanks for the reply!

- Mike
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Is a firewall necessary in this setup? cerrayon Linux - Security 4 06-27-2004 07:34 PM
help with client side NFS-firewall setup and server side NIS-firewall setup niverson Linux - Networking 3 02-02-2004 08:52 AM
Firewall setup heartagram Debian 5 08-29-2003 01:02 PM
Firewall Setup Q nixtech Linux - Networking 1 08-15-2003 08:47 PM
Setup A Firewall kelper Linux - Security 1 07-14-2003 02:57 PM


All times are GMT -5. The time now is 02:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration