[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

setting-up a dmz



Hi list,
tought isn't easy setting-up a dmz ?
Well..nor at all (for me)

My config is as follows:
modem--->boxA=router/firewall/proxy---->switch---->mylan
and also from boxA----->dmz--->web-server.

boxA is equiped with 3 ethernet-cards: ppp0--->eth0, eth1, eth2.

The modem is initialised from boxA with pppoe.
The firewall is disabled for testing/setup purposes but can do dmz.
(arno-iptables-firewall)
All cables are straigted except the one connected from boxA to the
server (dmz) = crossed cable.

On boxA:
-/etc/network/interfaces:
auto lo 
iface lo inet loopback
auto eth1
iface eth1 inet static
      address 192.168.1.10
      netmask 255.255.255.0
      network 192.168.1.0
      broadcast	 192.168.1.255
      dns-nameservers xxxxxxxxx
      dns-search yyyyyyy
auto eth2
iface eth2 inet static
      address 192.168.2.254
      netmask 255.255.255.0
      network 192.168.2.0
      broadcast  192.168.2.255
      dns-nameservers xxxxxxxxx
      dns-search yyyyyyy
auto orange
iface orange inet ppp
      provider orange # is setup in /etc/ppp 
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf

-ifconfig shows lo eth1 and ppp0.
-route shows the route to internet-provider

A '/etc/init.d/networking start' give an error about eth2:
eth2: ERROR while getting interface flags: No such device.

The 'lsmod' give : mii 5536  via_rhine, 8139too, 3c59x
The 3 cards works.

The internet connection seems on (checked syslog).
but can't establish a connection 'links www.debian.org' nor from any
other workstation.

What did i wrong ??
      
Thanks for your help in advance
best regards
mess-mate                               
-- 

Today is the tomorrow you worried about yesterday.



Reply to: