Carlos:

 

            Every situation has different requirements. There are a number of

examples here.

 

http://www.linuxguruz.org/iptables/

 

Check out the multilingual netfilter documentation page.

 

            http://netfilter.samba.org/documentation/index.html

 

HTML Man Pages.

 

            http://www.linuxguruz.org/iptables/howto/maniptables.html

 

Rusty Russel’s iptables howto

 

            http://www.linuxguruz.org/iptables/howto/iptables-HOWTO.html

 

            The first thing you should look at is the man pages for iptables that

came with your system. Print them out and keep them handy. After you have

been through these items, go to google and do some searches on iptables.

            The minimum you need is to turn on forwarding on your system.

Most of them start with it off by default. Then you need a post routing rule

to SNAT (Source Network Address Translation) your internal network. The

192.168.0.0 address will be ignored or dropped by most systems on the

Internet. Good Luck!

 

Stu………….

 

 

 

 

 

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Carlos Horacio Silva Elizondo
Sent: April 30, 2002 6:03 PM
To: [EMAIL PROTECTED]
Subject: how to route 2 ethernets ?

 

Hello, Everybody I'm new on this list, I'm looking for a sample o some

script to route 2 ethernet cards

eth0 static IP for internet

eth1 DHCP server 192.168.1.1

does any one have a sample or what lines i have to write to make

my server works.

do I have to change my route.conf too?

 

thanks a lot!

Carlos Silva

Reply via email to