Alvin Oga wrote:
> 
> hi ya..
> 
> what flags do you have set in your linux-2.2.*/.config file ???

the ones that apply to firewalls/networking:

CONFIG_PACKET=y
CONFIG_FIREWALL=y
CONFIG_FILTER=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_FIREWALL=y
CONFIG_IP_MASQUERADE=y
CONFIG_IP_MASQUERADE_ICMP=y
CONFIG_IP_MASQUERADE_MOD=y
CONFIG_IP_MASQUERADE_IPAUTOFW=y
CONFIG_IP_MASQUERADE_IPPORTFW=y
CONFIG_IP_MASQUERADE_MFW=y
CONFIG_IP_ALIAS=y
CONFIG_SYN_COOKIES=y
CONFIG_SKB_LARGE=y

everything that is not shown is not set.



> what is the "generic" rules you have in your /etc/rc.firewall

i don't have a rc.firewall, but i do use a script in /etc/init.d the
rules for masq are


echo -n "Enabling IP Masqing for 10.10.10.0 Network .."
ipchains -P forward DENY
ipchains -A forward -j MASQ -s 10.10.10.0/24 -d 0.0.0.0/0
echo ".done"
echo "Enabling Port forwarding for Unreal Tournament to 10.10.10.10.."
ipmasqadm autofw -A -r udp 7777 7777 -h 10.10.10.10 -v
ipmasqadm autofw -A -r udp 7778 7778 -h 10.10.10.10 -v
ipmasqadm autofw -A -r udp 7779 7779 -h 10.10.10.10 -v
ipmasqadm autofw -A -r udp 27900 27900 -h 10.10.10.10 -v

i have about 70 other rules but those don't have anything to do with the
masq just a bunch of accept/rejects for various services on the main
box. the network im on now is just 2 physical machines and usually a
couple of virtual(vmware) machines.

nate


-- 
:::
ICQ: 75132336
http://www.aphroland.org/
http://www.linuxpowered.net/
[EMAIL PROTECTED]

Reply via email to