dumb question...route from local eth1 to eth2 and vice versa
tech at wildcash.com
Thu Dec 1 11:18:20 CET 2005
>> I think ip_a_route_1.sh is way too difficult for this setup. I didn't
>> even read it all through (saw something about tables, rules
>> and prio)..
Very true, but it's the only way I know.
>> ifconfig eth0 192.168.3.10 netmask 255.255.255.0 up
>> ifconfig eth1 192.168.1.1 netmask 255.255.255.0 up
>> route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.3.254
Nice one .....
>> You did not set the policy of FORWARD to DROP. It will DROP
>> You did not set the policy of OUTPUT to DROP. The OUTPUT >> rules are
useless because everything will be accepted, even
>> without these rules.
Yes sorry. I didn't cut'n'paste that part of the script in.
It's my fault for trying to hurry out a quick post just before I left work.
>> He just needs to allow
>> forwarding between these to interfcaes and let routing do the
>> Your scripts are doing something different.
Yes ... but I thought it would be handy to have net too so
all the boys and girls and play online together as well :-)
Using things like tables, rules and prio also puts one in place
to do QOS on the network traffic with the tc command.
Don't want those pesky emails, downloads and other important
stuff to lag out the gaming connection ... :-) lol .....
More information about the netfilter