LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-25-2003, 03:42 AM   #1
Gilion
Member
 
Registered: Sep 2003
Location: Netherlands
Distribution: Debian 3.0
Posts: 78

Rep: Reputation: 15
IP Masq-ing under debian


For setting up IP masquerading on my debian box, I read the IP masquerading howto. The document examples are all for RH, which rices some debian specific networking issues.

The example rc.firewall files have to be put in /etc/rc.d. This directory doesn't exist in my debian, so where else should I put it?

Nevertheless, I inspected the rc.firewall script recognizing four sections:

1) Setting script variables
2) Modprobing the necessary modules like ip_tables etc.
3) Changing critical setting like ip_forward, ip_dynaddr erc.
4) The actual rule-set using iptable command.

On 2: Isn't it cleaner to add the necessary modules in /etc/modules? Maybe using modconf?

On 3: I suppose this can be done in /etc/network/options as well. How exactly? I haven't got a man-page available on the options file. Where is documentation on this one or do you know how to do it?

On 4: Can this be included in any standard file, making the entire script redundant in Debian?

I would appreciate some backgrounds in this one.

Gilion
 
  


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
[Debian - Sid]Firestarter isnt masq/routing my internal traffic DeFiAnCeNL Linux - Networking 1 03-25-2005 05:35 PM
S*[t-r]+[ing]?g gr33ndata Programming 10 03-13-2004 05:15 AM
linux masq server to linux masq server VPN rob_roman23 Linux - Networking 0 09-13-2003 09:54 AM
just a quicky...(su-ing) salparadise Linux - Newbie 2 01-24-2003 04:40 PM
firewall script run at boot -> no masq, rerun manually -> masq worx Griffon26 Linux - Networking 2 06-24-2002 03:17 AM

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

All times are GMT -5. The time now is 06:18 PM.

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