Routing problem...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



*************************************************************************
* Do not Cc: me, because I am on THIS list, if I write here             *
* Keine Cc: am mich senden, bin auf DIESER Liste wenn ich hier schreibe *
*************************************************************************

Hello, 

I have 4 NICs in my Router and with two I have a problem:

eth0	-> public network with Servers
eth1    -> private network with Workstations.

I have following rules:

  ____ ( 'stdin' ) _____________________________________________________
 /
|  iptables -P INPUT ACCEPT
|  iptables -F INPUT 
|  iptables -P OUTPUT ACCEPT
|  iptables -F OUTPUT 
|  iptables -P FORWARD DROP
|  iptables -F FORWARD 
|  
|  iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT

OK, I can SEND packages from my Workstations in eth1 
to the Servers in eth0

|  iptables -A FORWARD -i eth0 -o eth1 -m state --state ESTABLISHED,RELATED -j ACCEPT

Here comes the Packages from the Servers back and 
I allow to come into my private Network

 \______________________________________________________________________

But if I execute the script, I get: 

iptables: No chain/target/match by that name

Whats wrong ?
I have compiled Linux with ALL netfilter modules in.

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux