How is your network set up ?
Since you are using SuSE 9.0, have you tried using YaST in order to congifure IP Forwarding ?
If you have two network cards, you can create your own Firewall and IP Masquerading by doing the following.
But you will need to deactivate the SuSE Firewall.
Create a file in the
/etc/rc.d directory called
initFirewall.sh and add the following to it.
Code:
#!/bin/bash
echo 1 > /proc/sys/net/ipv4/ip_forward
IPTABLES="/usr/sbin/iptables"
EXT="eth0"
INT="eth1"
$IPTABLES -P INPUT DROP
$IPTABLES -P FORWARD DROP
$IPTABLES -P OUTPUT ACCEPT
$IPTABLES -A INPUT -i lo -j ACCEPT
$IPTABLES -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
$IPTABLES -A FORWARD -i $EXT -o $INT -m state --state RELATED,ESTABLISHED -j ACCEPT
$IPTABLES -A FORWARD -i $INT -o $EXT -j ACCEPT
$IPTABLES -t nat -A POSTROUTING -o $EXT -j MASQUERADE
NOTE: In this case, eth0 connects to the internet and eth1 connects to the local network. You may need to switch eth0 and eth1. The ifconfig command will give you more information.
You also need to change the permissions for
initFirewall.sh
Code:
chmod 700 /etc/rc.d/initFirewall.sh
And, of course, you will have to append the following line to
/etc/rc.d/boot.local
Code:
/etc/rc.d/initFirewall.sh