I have an internal network masqued through a linux box. All the
documentation I have found seems somewhat confusing and not completely
coherent to me. I have been through the sites and howto's. I have gotten
everything up and running for the most part with RedHat 6.0:
ipchains -A forward -s 10.0.0.0/255.255.255.0 -j MASQ
ipchains -M -S 7200 10 60
modprobe -a /lib/modules/2.2.5-22/ipv4/ip_m*
All seems OK, but I have a lot of questions. I want to play online games
through the linux masq. I finally found ipmasqadm after weeks of searching,
all the links for stuff like that are wrong in the FAQ and the HOWTO and on
the IPMASQ pages. Using ipmasqadm I was able to get one machine to game
through the masq:
ipmasqadm portfw -a -P tcp -L $MIPADDR 47624 -R 10.0.0.3 47624
ipmasqadm portfw -a -P udp -L $MIPADDR 47624 -R 10.0.0.3 47624
A=2300
while [ $A -lt 2400 ] ; do
ipmasqadm portfw -a -P tcp -L $MIPADDR $A -R 10.0.0.3 $A
ipmasqadm portfw -a -P udp -L $MIPADDR $A -R 10.0.0.3 $A
A=`expr $A + 1`
done
This works for one masqued machine only. If I try to ipmasqadm another
machine, the first machine works but all the subsequent ones will not. Am I
going about this the right way? Is there a better way? I Found references
to ipautofw, but no solid info, and no good link for a download. Is
ipautofw what I need? If so, where do I get it? Can someone help me? My
kernel is 2.2.5-22 and is compiled with all the network options listed in
the docs.
Thanks for your patience,
Charles
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]