[LARTC] masquerade and mac problem

2004-09-04 Thread Sorin Capra
Hello guys Idon't know if this thing has been posted before (if it was , please forgive me). I have 7 computers at home and I want all of them to have access to the internet. In order to do that , I set up a linux router (2 network cards) as a usual router (eth0 : 82.77.69.75 - internet

Re: [LARTC] masquerade and mac problem

2004-09-04 Thread Tomasz Chilinski
On Sat, 4 Sep 2004 05:19:39 -0700 (PDT), Sorin Capra wrote $ipt -t filter -N computer1 /dev/null 21 $ipt -t filter -N computer2 /dev/null 21 $ipt -t filter -N computer3 /dev/null 21 $ipt -t filter -N computer4 /dev/null 21 $ipt -t filter -N computer5 /dev/null 21 $ipt -A FORWARD -s

Re: [LARTC] masquerade and mac problem

2004-09-04 Thread Tomasz Chilinski
On Sat, 4 Sep 2004 08:21:21 -0700 (PDT), Sorin Capra wrote Thank you for the quick reply It works now , but I still have one question : why didn't it work before (in FORWARD) ? It should have worked , shouldn't it ? 1) Have you tried to do: iptables -t filter -L -nv and check if

Re: [LARTC] masquerade and mac problem

2004-09-04 Thread Ilia Lindov
Hi, I recommend you to use the following script: #!/bin/sh # Deleting all existing rules in all chains # and theleting user created chains iptables -t nat -F iptables -t filter -F iptables -t mangle -F iptables -t nat -X iptables -t filter -X