8 Mar
2002
8 Mar
'02
22:04
Hello! I have a little network, one firewall/router. I want to allow some ips to surf the net, and some are not allowed to leave the trusted net. I messed around a lot, and that what i have so far, (but it doesnt work at all!) iptables -F OUTPUT iptables -F INPUT iptables -F FORWARD iptables -t nat -F PREROUTING iptables -P OUTPUT ACCEPT iptables -P INPUT DROP iptables -P FORWARD ACCEPT iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE # IP-Forwarding aktivieren echo 1 > /proc/sys/net/ipv4/ip_forward ## Test Client iptables -A INPUT -s 10.10.0.180 -j ACCEPT Why doesnt it work? Can u give me an exampel how it does work? THat would be really really nice!! Thank you! Spiekey