IPTables for newbie
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. The linux nics are set to 192.168.150.1 (inside) and 192.168.50.1 (outside). All the other pc's are on the 192.168.50.x network. I only can get it to work if the linksys is on the same class (192.168.50.x) 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. Just to make thing clear: 1. I want everyting comming from the inside network 192.168.50.x to the internet to be forwarded to the router 192.168.150.100 using the firewall (192.168.50.1 and 192.168.150.1) 2. I want just a few ports comming from the internet through the router (192.168.150.100) to be forwarded to specifique computer in the internal network (192.168.50.x) using the firewall (192.168.50.1 and 192.168.150.1) 3. I want to access the router management interface for a specifique pc in the inside network 192.168.50.x Can someone helpe me ? |
All times are GMT -5. The time now is 03:34 PM. |