access problem
Kurt Weiss
info at kwnet.at
Sun Dec 2 13:05:02 GMT 2001
i'm using suse linux with kernel 2.2.18
installed samba 2.2.2 (from source)
linux is used as smb-server and gateway for my windows clients.
therefore i installed two network cards:
eth0: 192.168.XXX.XXX for internal network, and
eth1: 10.XXX.XXX.XXX for the ADSL adapter.
the adsl daemon (pptp) builds a ppp connection with an
212.XXX.XXX.XXX address.
so i have 3 networks:
192.168.XXX.0/24
10.XXX.XXX.0/24
212.XXX.XXX.XXX/32
in smb.conf (the one and only) i've configured:
(/etc/smb.conf i've deleted. -> /usr/local/samba/lib/smb.conf is valid)
interfaces = 192.168.XXX.XXX/24
hosts allow = 192.168.XXX. EXCEPT 192.168.XXX.1
the gateway is enabled over ipchains:
forward DENY
forward 192.168.XXX.0 -> ppp0 MASQ
now something strange happend:
i can connect to samba over the internet!!!!!!!
===============================================
what did i wrong???
thx in advance
kurt
More information about the samba-ntdom
mailing list