Mailinglist Archive: opensuse (3666 mails)

< Previous Next >
Re: [SLE] routing / forwarding ergent help
  • From: Sandy Drobic <suse-linux-e@xxxxxxxxxxxxxxxxxxxxxxx>
  • Date: Mon, 14 Mar 2005 09:27:15 +0100
  • Message-id: <42354AE3.9070705@xxxxxxxxxxxxxxxxxxxxxxx>
Mohammad Fattahian wrote:
hi all,

I have a problem with my Suse 8.1 routing.

I have a server with two network cards, one connected to LAN (
192.168.0.5) and the other is connected to ISP (192.168.3.150 , Gateway
192.168.3.1)

I've done : ... echo "1" > /proc/sys/net/ipv4/ip_forward
at this time I can route to internet from server , but when I set my
client gateway's IP to 192.168.0.5 they could not connec to internet ,
they cannot ping 192.168.3.1 also.

iptable --list tell that every thing is accepted , (I have no firewall
yet)

any guide??

iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT

Sandy

< Previous Next >
References