Tuesday, April 07, 2009

Kicked me of self! :-/

Hello IPT Geeks,

thuesday evening I kicked me of with IP tables and can not more get it
running...

OK, I have

----[ '/etc/network/interfaces' ]---------------------------------------
auto lo
iface lo inet loopback

# Cable 1
auto eth0
iface eth0 inet dhcp

# Cable 2
auto eth1
iface eth1 inet dhcp

# public network
auto eth2
iface eth2 inet static
address 192.168.0.193
netmask 255.255.255.64
network 192.168.0.193
broadcast 192.168.0.255
dns-nameservers 192.168.0.194 192.168.0.195

# private network
auto eth3
iface eth4 inet static
address 192.168.0.65
netmask 255.255.255.192
network 192.168.0.64
broadcast 192.168.0.127
dns-nameservers 192.168.0.194 192.168.0.195
------------------------------------------------------------------------

So what I need now, is the setup for the IP Tables to get the traffic
forwarded from eth0/eth1 to the servers in eth2 where I have

eth0 -> smtp/imap -> 192.168.0.196 <mail.tamay-dogan.net>
http -> 192.168.0.200 <www.tamay-dogan.net> (VServer)
http:9999 -> 192.168.0.210 <www.debian.tamay-dogan.net> (VServer)

eth2 -> smtp/imap -> 192.168.0.220 <mail.tdwave.net>
http -> 192.168.0.221 <www.tdwave.net> (VServer)
http:9999 -> 192.168.0.230 <www.debian.tamay-dogan.net> (VServer)
pgsql -> 192.168.0.240 <pgsql.private.tamay-dogan.net>

Can someone help me with the rules?
I need it urgently wednesday morning ~10:00.

Please keep my second E-Mail in the MFT.

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant

--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/> Michelle Konzack
<http://www.can4linux.org/> Apt. 917
<http://www.flexray4linux.org/> 50, rue de Soultz
Jabber linux4michelle@jabber.ccc.de 67100 Strasbourg/France
IRC #Debian (irc.icq.com) Tel. DE: +49 177 9351947
ICQ #328449886 Tel. FR: +33 6 61925193

No comments:

Post a Comment