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

ipchains, must be asked millions of time, but i'm lost



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everybody,

i installed Debian 3.0r1 on a box with two ethernet cards a while back and 
i've been trying to get ipforwarding etc. to work. I followed all the 
walkthroughs, all the howto's all the tips on lists etc. but i still cannot 
seem to get it to work.

i've gotten a DHCP server running on the server, and the client is connected 
to it with DHCP, which works fine, i can ssh from the client to the server 
and i can go online with the server, but with the client i can't go online 
through the server. I've setup ipchains with the folowing basic rules

ipchains -P forward DENY
ipchains -A forward -i eth0 -j MASQ
and i've enabled ip_forwarding using
echo 1 > /proc/sys/net/ipv4/ip_forward

then i type ipchains-save to see what gets in and this is printed:
(from the top of my head, but the one rule is how it is)

incoming: ACCEPT
forward: DENY
incoming: ACCEPT
- -A forward -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 -i eth0 -j MASQ

shouldn't there be some kind of numbers? my subnet forinstance? in stead of 
0.0.0.0 four times?
 i'm not sure where to go from now.
any help would be appreciated
- -- 
Jule Slootbeek
jslootbeek@clarku.edu
617 901 6958
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+7mxwQkskRvXpytsRAvlmAJ9sH7LKlCrhbrrHWC5hqqkANrbMyQCfUile
RC1+zdUTTIyndMwah5Z1G6Q=
=iOeK
-----END PGP SIGNATURE-----



Reply to: