Alejandro Calbazana wrote:

> Hello,
> 
> I have a few configuration questions.  I would like to set up a linux box as 
> my firewall with a Win2k machine machine on the inside.  
> 
> I have 2 NICs on the Linux machine... One exposed to my service provider and 
> one exposed to my internal network.  I have 2 public IPs from my service 
> provider.
> 
> I DO NOT wish to use IP masq. since I can not use some protocols that I need 
> to use under a translated address configuration.  
> 
> How can I achieve the goal of securing my internal network without having to 
> resort to some level of NAT?
> 
> Do I need an additional IP for eth0, eth1, and the NIC on my win machine?


I had the same problem several times, and I`ve made som sort of work 
around consisting on the routing tables of the boxes, simply adding a 
static entry on the router pointing to the bastion server (the w2k in 
this case) adding another static entry on the linux firewall pointing to 
the server`s IP buton the NIC connecting them, and havig a private IP on 
that side... Ill acscii art the scheme:

Internet router
        |Public IP
        |Public IP (eth0)
-----------------                     Public IP --------------------
| Linux Firewall|-------------------------------| Bastion server   |
-----------------private IP (eth1)              --------------------
        |eth2
      LAN Private IP

Let`s say the addresses are: On linux eth0: 206.49.180.215, eth1: 
192.168.1.1 and eth2: 192.168.2.1 and on the bastion server: 
206.49.180.216 (those are imaginary adresses!!)
On  the router: route add -host 206.49.180.216 gw 206.49.180.215 (could 
be another syntax depending on it`s OS, I`m guessing it is linux :)
On the linx FW: route add -host 206.49.180.216 dev eth1
On the Bastion server: define the default gateway to 192.168.2.1, you 
can choose if you just add 2 IP addresses to your bastion server or just 
add 2 routes to it, it`s up to you. Ej: 192.168.2.2 and 206.49.180.216
or using just one IP: route add -host 192.168.2.1 dev eth1 and route add 
default 192.168.2.1 (don`t remember the windows syntax,  use to check 
the route`s help when using it)


> 
> Thanks In Advance,
> 
> Alejandro


This way I just only need 2 IP addresses and avoid buying more, if 
someone knows a better way, that letps filter traffic, I will appreciate 
the comments about it. (some time ago I used proxy arp but it doesn`t 
let me filter traffic all the time :( )




-- 
-------------------------------------------------
|  Renzo Alejandro Granados                     |
|  Gerente T�cnico - Conectiva - Bogot� Colombia|
|  www.conectiva.com.co [EMAIL PROTECTED]  |
|  Cra 11 71-73, Of 404 PBX 321-2333            |
-------------------------------------------------



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to