OK, but the public ip is normally assigned to the router and then the router
is connected to the first nic (wan)
Ex: 
public 172.10.10.23 - Subnet; 255.255.255.255
Internal lan: 192.168.1.xx Subnet 255.255.255.0

What address / S.Mask should I set to the first nic?

How can I set the router to forward all packet to the address assignet to
the first nic ?

Tks!


-----Messaggio originale-----
Da: Adrian RADU [mailto:[EMAIL PROTECTED] 
Inviato: venerd́ 18 febbraio 2005 11.17
A: security-firewall@linux-mandrake.com
Oggetto: Re: [Security Firewall] Only 1 Public IP

well, I'm not an expert but is basically like this:
let's say u have:
eth0 - first nic
eth1 - second nic

So you CHOOSE which nic you get the cable from CISCO to that chosen nic.
Then IP public u assign to this, and it will be WAN address.
Second nic you give for example an address in this range:
192.168.*.*
This can be used for LAN.
So in here you plug cable that goes after to your INTERNAL SWITCH so you can
give access to your internal LAN.
On every station on your internal LAN you must declare the second nic
192.168.*.* that you choose before to be the GATEWAY for this stations.
Then of course you put DNS from the ISP that gives you internet (wan
access).

In MNF you can find the section to declare the:
ZONES - for example NET means internet or WAN place, LOCAL means internal
LAN INTERFACES - declare WHICH eth* you assign to which ZONE RULES - here
comes the real rules for your access by the MNF

Then of course there is a section that tells you to use NAT (for example) so
you can get the 'transparency' you wish and so connect from LAN stations to
internet and viceversa.

However Florin, is the BEST advisor in this, since he takes care of MNF and
established this very forum.

hope it was of some help 2 u my idea

Pe 18 Feb 2005, la 09:53, Massimo Caranchini
<[EMAIL PROTECTED]> a scris:

>Hi all,
> 
>I have only 1 Public IP that is assigned to the router (Cisco SOHO 77)
> 
>How can i configure MNF with two nic ?
> 
>What kind of address can i use for the wan nic ?
>How can i configure the router to be "transparent"  ? And what "internal"
>address to assign to the router ?
> 
>Many thanks in advance.
> 
>Massimo Caranchini
> 
>




____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to