Hi,
I don't know how or why ? but actualy angry ip scanner can see machines from subnet 192.168.0.x and 192.168.2.x while I'm on 192.168.1.38 on random... , how can one completely block everything from reaching trough subnets ?
my nat server iptables :
#!/bin/sh
iptables -A FORWARD -i eth0 -o eth1 -j DROP
iptables -A FORWARD -i eth0 -o eth2 -j DROP
iptables -A FORWARD -i eth1 -o eth0 -j DROP
iptables -A FORWARD -i eth1 -o eth2 -j DROP
iptables -A FORWARD -i eth2 -o eth0 -j DROP
iptables -A FORWARD -i eth2 -o eth1 -j DROP
iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to 192.168.10.1:88
iptables -t nat -A PREROUTING -p tcp --dport 443 -j DNAT --to 192.168.10.1:88
iptables -t nat -A PREROUTING -p tcp -d 192.168.10.2 --dport 5900 -j DNAT --to 192.168.2.10:5900
iptables -t nat -A POSTROUTING -s 192.168.0.0/255.255.255.0 -j SNAT --to-source 192.168.10.2
iptables -t nat -A POSTROUTING -s 192.168.1.0/255.255.255.0 -j SNAT --to-source 192.168.10.2
iptables -t nat -A POSTROUTING -s 192.168.2.0/255.255.255.0 -j SNAT --to-source 192.168.10.2
how come the subnets see each other partialy(some machines ....random) angry ip scanner displays a few..., why?
...
meanwhile...I think I discovered something, remember me when I asked about DHCP server trouble with multi subnet...well it's still buggy sometimes...I was thinking about using a firewall an all three dhcp servers and blocking mac addresses that don't belong there... would this help me prevent client windows computers to even sending a dhcp request to the dhcp server (which they are not supposed to?) thus even eliminating the "there are no free leases, or wrong subnet" response from the dhcp server.
Sincerely
Robert B