Red Hat Security - SAMBA & iptables

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Security > August 2004 > SAMBA & iptables





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author SAMBA & iptables
Frank K. Clayton

2004-08-20, 2:51 am

Hi All,
I have loaded RedHat 9 and after learning something about ‘iptables’,
got SAMBA to work with Windows 2000 & Xp!
The problem is when I reboot my Linux server, the system “FORGETS” the
script that I loaded into iptables and finds something else, which does
NOT work with any version of Windows. When I re-run my script, and
issue /etc/init.d/iptables save command, SAMBA is happy again.
What am I doing wrong???

Frank
P.S.
Sorry Guys, my Charter a/c no longer works!!
Alexander Dalloz

2004-08-20, 7:49 am

On Thu, 19 Aug 2004 23:35:36 -0500 Frank K. Clayton wrote:

> Hi All,
> I have loaded RedHat 9 and after learning something about 'iptables',
> got SAMBA to work with Windows 2000 & Xp!
> The problem is when I reboot my Linux server, the system 'FORGETS' the
> script that I loaded into iptables and finds something else, which does
> NOT work with any version of Windows. When I re-run my script, and
> issue /etc/init.d/iptables save command, SAMBA is happy again. What am I
> doing wrong???
>
> Frank


Load your custom rules into the kernel space and then run

service iptables save

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653

Frank K. Clayton

2004-08-22, 6:07 pm

Alexander Dalloz wrote:
> On Thu, 19 Aug 2004 23:35:36 -0500 Frank K. Clayton wrote:
>
>
>
>
> Load your custom rules into the kernel space and then run
>
> service iptables save
>
> Alexander
>
>

Thanks Alexander for the info. However, that does not change anything.
The system still saves in the same place '/etc/sysconfig/iptables'. I
take it that 'iptables -A....etc' will load my custom rules into the
'kernel space'.
Where could this misterious script come from. Is there any way of
checking to find all the scripts that a Linux system will run on start-up?

Frank.

2004-08-27, 6:19 pm

On Fri, 20 Aug 2004 17:07:29 -0500, Frank K. Clayton <fkclayton@netscape.net>
wrote:
>Thanks Alexander for the info. However, that does not change anything.
> The system still saves in the same place '/etc/sysconfig/iptables'. I
>take it that 'iptables -A....etc' will load my custom rules into the
>'kernel space'.
>Where could this misterious script come from. Is there any way of
>checking to find all the scripts that a Linux system will run on start-up?
>
>Frank.


/etc/rc.d/init.d is the directory with all the startup scripts. /etc/sysconfig
is the directory with most of the configuration information on Redhat systems.
by looking at the script's change time with ls -ltc /etc/sysconfig you can
verify the file was written (after you service iptables save that is).
hope that helps.

peace,
cj


--
========================================
=======================================
Christopher Jon Miller Drink and dance and laugh and lie
Parallel Systems Engineer Love, the reeling midnight through
For tomorrow we shall die!
(But, alas, we never do.)
-- Dorothy Parker, "The Flaw in Paganism"
========================================
=======================================
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com