LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-07-2005, 10:38 PM   #1
alvi2
Member
 
Registered: Feb 2005
Posts: 77

Rep: Reputation: 15
rc.local in fedora core 3


using fedora core 3
i put all the things in rc.local mean iptables rules and so on this file
but after rebooting nothing is pick the kernel from this file
????
are the architecture of fc3 is changed mean rc.local is changed from "/etc" to somewhere else
 
Old 09-07-2005, 11:37 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
The /etc/rc.local is the last things executed on system boot (before the login prompt appears). Are you putting actual iptables commands in here? If so they should work. You can put a few echo statemnts in there to be sure that the file is being parsed. Also, /etc/rc.local should be a symlink to /etc/rc.d/init.d/rc.local (on RH based systems like FC3 at least).

Why not just use the existing FC firewall script, though?
 
Old 09-07-2005, 11:51 PM   #3
alvi2
Member
 
Registered: Feb 2005
Posts: 77

Original Poster
Rep: Reputation: 15
can you explain me the last line
that is
"Why not just use the existing FC firewall script, though?"
there is no file at /etc/rc.d/init.d/rc.local

i am using simple masquarding and some rules
that are
/proc/sys/net/ipv4/ip_forward......
/sbin/iptables -t nat -A POSTROUTING .......

but no masquarding after rebooting the system
 
  


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
How can i limit the netstat local results on fedora core 3 vtecturbo13 Linux - General 2 10-11-2005 03:21 PM
local server on Fedora Core 4 yayalasee Linux - Newbie 2 08-02-2005 06:52 AM
Severe problems with Fedora Core 1 and Fedora Core 2 installatiom TheOneKEA Fedora - Installation 2 07-14-2004 02:12 PM
Upgrading via Internet Fedora Core 1 to Fedora Core 2 cdean Linux - Newbie 2 05-30-2004 11:14 PM
Fedora Core 2 - Just days away! Final comments on Fedora Core 1 lrt2003 Fedora 3 05-12-2004 02:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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