SAMBA & iptables
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Red Hat support > Red Hat Security > SAMBA & iptables




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    SAMBA & iptables  
Frank K. Clayton


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-20-04 07: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!!





[ Post a follow-up to this message ]



    Re: SAMBA & iptables  
Alexander Dalloz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-20-04 12:49 PM

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






[ Post a follow-up to this message ]



    Re: SAMBA & iptables  
Frank K. Clayton


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-22-04 11: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.





[ Post a follow-up to this message ]



    Re: SAMBA & iptables  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-27-04 11: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/sysconf
ig
is the directory with most of the configuration information on Redhat system
s.
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 thro
ugh
For tomorrow we shall die!
(But, alas, we never do.)
-- Dorothy Parker, "The Flaw in Paganism"
 ========================================
====================================
===





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:38 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register