quiero permitir solo algunas IP de mi lan con iptables. para eso le agergo a mi script:
 
iptables -t nat -A POSTROUTING -s 192.168.10.12 -o ppp0 -j MASQUERADE
iptables -t nat -A POSTROUTING -s 192.168.10.13 -o ppp0 -j MASQUERADE
iptables -t nat -A POSTROUTING -s 192.168.10.14 -o ppp0 -j MASQUERADE
iptables -t nat -A POSTROUTING -s 192.168.10.15 -o ppp0 -j MASQUERADE
iptables -t nat -A POSTROUTING -s 192.168.0.10/24 -o ppp0 -j DROP
No estoy muy seguro si la �ltima linea, que deniega el resto de la LAN va como esta o asi:
 
iptables -A FORWARD -s 192.168.0.10/24 -o ppp0 -j DROP
 
 
alguna idea?

Responder a