LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-01-2005, 04:15 PM   #1
pedrog
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Rep: Reputation: 0
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 ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables newbie blackdragonblood Linux - Security 18 06-20-2005 09:16 PM
iptables newbie question TurtleBay Linux - Newbie 10 10-09-2003 02:37 PM
newbie iptables config... christophe.dr Linux - Networking 1 10-08-2003 03:12 PM
Newbie Question - IPTables cyberperson Linux - Networking 1 03-14-2003 10:22 PM
Simple iptables help- Newbie ldahn Linux - Networking 3 03-06-2003 09:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration