Further to an email of yesterday, having set the DMZ network to be 
192.168.2.0/24 as part of the greater internal 192.168.0.0/16 network, I 
can now talk out of the DMZ to the external world.

However, none of the DMZ features appear to work: no connection from 
internal or external networks to services adevertised in the DMZ seems 
possible. Adding and removing DMZ_SERVERn entries seems to have no 
effect on the output of the ipchains listing. :-(

I have looked through the mail archives and seen some recent discussions 
about dachstein rc2 with DMZ_SWITCH=PRIVATE but little else. Maybe 
discussions of private DMZ on E2B are in the older LRP archives?

Anyway, here are selections from network.conf and 'svi network ipfilter 
list'. Any help very much appreciated.

<some snipping follows:>

eth0_IPADDR=150.101.234.2
eth0_MASKLEN=30
eth0_BROADCAST=150.101.234.3
eth0_DEFAULT_GW=150.101.234.1

eth1_IPADDR=192.168.42.254
eth1_MASKLEN=24
eth1_BROADCAST=192.168.42.255

eth2_IPADDR=192.168.1.254
eth2_MASKLEN=24
eth2_BROADCAST=192.168.1.255

# the DMZ network
#
eth3_IPADDR=192.168.2.254
eth3_MASKLEN=24
eth3_BROADCAST=192.168.2.255
eth3_IP_SPOOF=YES
eth3_IP_KRNL_LOGMARTIANS=YES
eth3_IP_SHARED_MEDIA=NO
eth3_BRIDGE=NO
eth3_PROXY_ARP=NO
eth3_FAIRQ=NO

# Internal interface (Intern_IF and Intern_Ip are bogus)
#
INTERN_IF="eth1" 
        # Internal Interface
INTERN_NET=192.168.0.0/16 
# Internal network (to be masqueraded)
INTERN_IP=192.168.42.254 
# IP number of Internal Interface
                                # (to allow forwarding to external IP)
MASQ_SWITCH=YES 
                # Masquerade internal network to outside
                                # world - YES/NO

# ports (domain and ssh are just on the firewall)
#
EXTERN_UDP_PORTS="0/0_domain 0/0_www"
EXTERN_TCP_PORTS="0/0_ssh 0/0_www"

# The DMZ
#
DMZ_SWITCH=PRIVATE
DMZ_IF="eth3"
DMZ_NET=192.168.2.0/24
DMZ_OUTBOUND_ALL=YES
# I've tried these with and without double quotes and with and without
# the extern_ip as a variable vs. hardcoded.
#
DMZ_SERVER0=tcp_150.101.234.2_www_192.168.2.10_www
DMZ_SERVER1=udp_150.101.234.2_www_192.168.2.10_www

--------

Chain input (policy DENY: 0 packets, 0 bytes):
  pkts bytes target     prot opt    tosa tosx  ifname     mark 
outsize  source                destination           ports
     0     0 DENY       icmp ----l- 0xFF 0x00  * 
       0.0.0.0/0            0.0.0.0/0             13 -> *
     0     0 DENY       icmp ----l- 0xFF 0x00  * 
       0.0.0.0/0            0.0.0.0/0             14 -> *
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       0.0.0.0              0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       255.255.255.255      0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       127.0.0.0/8          0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       224.0.0.0/4          0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       10.0.0.0/8           0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       172.16.0.0/12        0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       192.168.0.0/16       0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       0.0.0.0/8            0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       128.0.0.0/16         0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       191.255.0.0/16       0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       192.0.0.0/24         0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       223.255.255.0/24     0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       240.0.0.0/4          0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       192.168.0.0/16       0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       150.101.234.2        0.0.0.0/0             n/a
     0     0 REJECT     all  ----l- 0xFF 0x00  eth0 
       0.0.0.0/0            127.0.0.0/8           n/a
     0     0 REJECT     all  ----l- 0xFF 0x00  eth0 
       0.0.0.0/0            192.168.0.0/16        n/a
     0     0 REJECT     tcp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 137
     0     0 REJECT     tcp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 135
     0     0 REJECT     udp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 137
     0     0 REJECT     udp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 135
     0     0 REJECT     tcp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 138:139
     0     0 REJECT     udp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 138
     0     0 REJECT     udp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             137:138 -> *
     0     0 REJECT     udp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             135 -> *
     0     0 REJECT     tcp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             137:139 -> *
     0     0 REJECT     tcp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             135 -> *
     0     0 ACCEPT     tcp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 22
     4   176 ACCEPT     tcp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 80
     0     0 REJECT     tcp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 113
     0     0 ACCEPT     tcp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 1024:65535
     0     0 REJECT     udp  ----l- 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 161:162
     0     0 ACCEPT     udp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 53
     0     0 ACCEPT     udp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 80
     0     0 DENY       udp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 67
     0     0 ACCEPT     udp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 1024:65535
     1    68 ACCEPT     icmp ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> *
     0     0 ACCEPT     ospf ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             n/a
     0     0 REJECT     udp  ----l- 0xFF 0x00  * 
       0.0.0.0/0            0.0.0.0/0             * -> 161:162
     0     0 REJECT     udp  ----l- 0xFF 0x00  * 
       0.0.0.0/0            0.0.0.0/0             161:162 -> *
   223 16424 ACCEPT     all  ------ 0xFF 0x00  * 
       0.0.0.0/0            0.0.0.0/0             n/a
Chain forward (policy DENY: 0 packets, 0 bytes):
  pkts bytes target     prot opt    tosa tosx  ifname     mark 
outsize  source                destination           ports
     0     0 DENY       icmp ----l- 0xFF 0x00  * 
       0.0.0.0/0            0.0.0.0/0             5 -> *
     9   360 MASQ       all  ------ 0xFF 0x00  eth0 
       192.168.0.0/16       0.0.0.0/0             n/a
     0     0 DENY       all  ------ 0xFF 0x00  * 
       0.0.0.0/0            0.0.0.0/0             n/a
Chain output (policy DENY: 0 packets, 0 bytes):
  pkts bytes target     prot opt    tosa tosx  ifname     mark 
outsize  source                destination           ports
   234 20095 fairq      all  ------ 0xFF 0x00  * 
       0.0.0.0/0            0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       0.0.0.0              0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       255.255.255.255      0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       127.0.0.0/8          0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       224.0.0.0/4          0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       10.0.0.0/8           0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       172.16.0.0/12        0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       192.168.0.0/16       0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       0.0.0.0/8            0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       128.0.0.0/16         0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       191.255.0.0/16       0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       192.0.0.0/24         0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       223.255.255.0/24     0.0.0.0/0             n/a
     0     0 DENY       all  ----l- 0xFF 0x00  eth0 
       240.0.0.0/4          0.0.0.0/0             n/a
     0     0 DENY       all  ------ 0xFF 0x00  eth0 
       192.168.0.0/16       0.0.0.0/0             n/a
     0     0 REJECT     tcp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 137
     0     0 REJECT     tcp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 135
     0     0 REJECT     udp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 137
     0     0 REJECT     udp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 135
     0     0 REJECT     tcp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 138:139
     0     0 REJECT     udp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             * -> 138
     0     0 REJECT     udp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             137:138 -> *
     0     0 REJECT     udp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             135 -> *
     0     0 REJECT     tcp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             137:139 -> *
     0     0 REJECT     tcp  ------ 0xFF 0x00  eth0 
       0.0.0.0/0            0.0.0.0/0             135 -> *
   234 20095 ACCEPT     all  ------ 0xFF 0x00  * 
       0.0.0.0/0            0.0.0.0/0             n/a
Chain fairq (1 references):
  pkts bytes target     prot opt    tosa tosx  ifname     mark 
outsize  source                destination           ports
     0     0 RETURN     ospf ------ 0xFF 0x00  *          0x1 
         0.0.0.0/0            0.0.0.0/0             n/a
     0     0 RETURN     ospf ------ 0xFF 0x00  *          0x1 
         0.0.0.0/0            0.0.0.0/0             n/a
     0     0 RETURN     udp  ------ 0xFF 0x00  *          0x1 
         0.0.0.0/0            0.0.0.0/0             * -> 520
     0     0 RETURN     udp  ------ 0xFF 0x00  *          0x1 
         0.0.0.0/0            0.0.0.0/0             520 -> *
     0     0 RETURN     tcp  ------ 0xFF 0x00  *          0x1 
         0.0.0.0/0            0.0.0.0/0             * -> 179
     0     0 RETURN     tcp  ------ 0xFF 0x00  *          0x1 
         0.0.0.0/0            0.0.0.0/0             179 -> *
     0     0 RETURN     tcp  ------ 0xFF 0x00  *          0x1 
         0.0.0.0/0            0.0.0.0/0             * -> 53
     0     0 RETURN     tcp  ------ 0xFF 0x00  *          0x1 
         0.0.0.0/0            0.0.0.0/0             53 -> *
     0     0 RETURN     udp  ------ 0xFF 0x00  *          0x1 
         0.0.0.0/0            0.0.0.0/0             * -> 53
     0     0 RETURN     udp  ------ 0xFF 0x00  *          0x1 
         0.0.0.0/0            0.0.0.0/0             53 -> *
     0     0 RETURN     tcp  ------ 0xFF 0x00  *          0x2 
         0.0.0.0/0            0.0.0.0/0             * -> 23
     0     0 RETURN     tcp  ------ 0xFF 0x00  *          0x2 
         0.0.0.0/0            0.0.0.0/0             23 -> *
     0     0 RETURN     tcp  ------ 0xFF 0x00  *          0x2 
         0.0.0.0/0            0.0.0.0/0             * -> 22
   110 10267 RETURN     tcp  ------ 0xFF 0x00  *          0x2 
         0.0.0.0/0            0.0.0.0/0             22 -> *
AutoFW:
Type Prot Low  High Vis  Hid  Where    Last     CPto CPrt Timer Flags
MarkFW:
fwmark   rediraddr               rport  pcnt  pref
PortFW:
prot localaddr            rediraddr               lport    rport  pcnt  pref




_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to