Networking OpenSUSE 12.3 with 2 Network Adapther and 2 routers, one for internet and other local.

Hi there!, I would like to setup a network with opensuse, the structure is like this:

I got a cable modem from my ISP, I want it to be connected to my opensuse through Eth0. And for my local network I got a wi-fi router that will be connected trough the second card Eth1. The local network needs to go through a Proxy like Squid before it reaches the internet.

Can someone help me with that?

Okay I got it done!!

First fallow this how to here: SDB:Internet connection sharing - openSUSE Wiki

Install squid with yast and add http_port 3128 transparent

Then add this two iptables rule as mentioned in this post https://forums.opensuse.org/english/get-technical-help-here/network-internet/487737-iptables-rules-susefirewall2.html

Good. Looks like not many of us use this, but you got it working. Still one of the best ways to learn to understand linux.