Firewall configuration
Hi,
I'm newbie into linux. Just set up a Fedora Core 3 box, and now i'm strugling to get iptables configured.
I'm using fwbuilder, and for now i was able to set part of my job.
My linux box has 2 nic iterfaces and it is behind a linksys router. I wan't to stop using the linksys firewall and change it to the linux box.
my nics are set to 192.168.150.1 (inside) and 192.168.50.1 (outside). The entire network is on the 192.168.50.
I only can get it to work if the linksys is on the same class (192.168.50.) than the internal lan. My intentions were to assign the linksys a 192.168.150.x address and use the linux box to forward trafic form the lan to the linksys.
Used fwbuilder and created a NAT rule like this
ORIGINAL SRC: 192.168.50.x
ORIGINAL DEST: ANY
ORIGINAL SRV: ANY
TRANSLATED SRC: outside
TRANSLATED DEST: ANY
TRANSLATED SRV: ANY
Where outside is the linux nic for the 192.168.150.x network.
Can someone helpe me ?
|