Displaying 1 result from an estimated 1 matches for "vlan_mask".
2009 Jul 27
1
Firewall rules to block other's computers browse list
...ted and it works. So far so good.
Problem: users on eth0.5 can still see eth0 workstations
on their browse list. Even though they can not do
anything with them, I would still be nice if eth0.5
users could not see them at all.
I do believe the offending rules:
VlanNic="eth0.5"
Vlan_mask="24"
Vlan_net="192.168.254.0/$Vlan_mask"
Vlan_Broadcast=192.168.254.255
$tbls -A Vlan-in -i $VlanNic -p udp -s $Vlan_net -d \
$Vlan_Broadcast --dport netbios-ns -j ACCEPT
$tbls -A Vlan-in -i $VlanNic -p udp -s $Vlan_net -d \
$Vlan_Broadcast -...