Routing problem...
*************************************************************************
* 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
Signature · 4 lines
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)Hi Michelle,
On Tue, Jul 27, 2004 at 09:23:29AM +0200, Michelle Konzack told us:
Quoted 7 lines
\______________________________________________________________________
But if I execute the script, I get:
iptables: No chain/target/match by that name
at which iptables invocation do you get this error exactly?? Try executing the script with "sh -x scriptname" and look where the error occurs.
What kernel version are you using, what version of iptables?
Sven
Quoted 5 lines
Whats wrong ?
I have compiled Linux with ALL netfilter modules in.Greetings
Michelle
Signature · 2 lines
Linux zion 2.6.8-rc2 #1 Sun Jul 18 15:00:48 CEST 2004 i686 athlon i386 GNU/Linux 09:40:33 up 8 days, 11:08, 1 user, load average: 2.14, 2.07, 2.01
Good morning Sven,
Am 2004-07-27 09:42:51, schrieb Sven Schuster:
Quoted 7 lines
Hi Michelle,
at which iptables invocation do you get this error exactly?? Try executing the script with "sh -x scriptname" and look where the error occurs.
What kernel version are you using, what version of iptables?
It is the line with the ESTABLISHED,RELATED
I have found the lines in the Firewall-HOWTO
and on <http://www.debianforum.de/>
Quoted 1 line
Sven
Greetings
Michelle
Signature · 4 lines
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)Hi Michelle,
On Tue, Jul 27, 2004 at 10:06:23AM +0200, Michelle Konzack told us:
Quoted 3 lines
Quoted 3 lines
at which iptables invocation do you get this error exactly?? Try executing the script with "sh -x scriptname" and look where the error occurs.
What kernel version are you using, what version of iptables? Is your kernel a vanilla kernel.org kernel, are the iptables matches/targets build into the kernel or are they built as modules??
Sven
Quoted 11 lines
It is the line with the ESTABLISHED,RELATED
I have found the lines in the Firewall-HOWTO
and on <http://www.debianforum.de/>Quoted 1 line
Sven
Greetings
Michelle
Signature · 2 lines
Linux zion 2.6.8-rc2 #1 Sun Jul 18 15:00:48 CEST 2004 i686 athlon i386 GNU/Linux 16:19:26 up 8 days, 17:47, 1 user, load average: 0.10, 0.07, 0.10
hello Sven,
Am 2004-07-27 16:21:32, schrieb Sven Schuster:
Quoted 7 lines
Hi Michelle,
What kernel version are you using, what version of iptables? Is your kernel a vanilla kernel.org kernel, are the iptables matches/targets build into the kernel or are they built as modules??
Note: My router is running Debian GNU/Linux 3.0r2 (WOODY)
____ ( 'apt-cache policy kernel-image-2.4.26 iptables' ) _____________
/
| kernel-source-2.4.26: | Installed: 2.4.26-4 | Candidate: 2.4.26-4 | Version Table: | *** 2.4.26-4 0 | 475 ftp://woody.debian.tamay-dogan.net woody/compile/main Packages | 2.4.26-3 0 | 450 http://woody.debian.tamay-dogan.net woody/backports/main Packages | 400 http://www.backports.org woody/all Packages | iptables: | Installed: 1.2.6a-5 | Candidate: 1.2.6a-5 | Version Table: | 1.2.9-9.backports.org.1 0 | 450 http://woody.debian.tamay-dogan.net woody/backports/main Packages | 400 http://www.backports.org woody/all Packages | *** 1.2.6a-5 0 | 600 http://woody.debian.tamay-dogan.net woody/main Packages | 500 ftp://ftp.de.debian.org woody/main Packages | 100 /var/lib/dpkg/status
\______________________________________________________________________
Quoted 1 line
Sven
Greetings
Michelle
Signature · 4 lines
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)