Total mental meltdown over IPTABLES rules
Hello all! I must have post X-mas mental block or something.. But no matter how i read the IPTABLES pages and MAN's... How the fck do i write a rule to BLOCK a IP on the INSIDE net. That is i want to prevent one machine to use the internet at certain hours. (Kiddies past bedtime) And also, how do i drop the connection if it allready has established traffic out to internet. I tried to flush the iptable but apparently allready established traffic stil got thru.. So. What ruleset do i use to simply disconnect the specific IP? I want to use it in a cronjob to "enforce" bedtime hours... :) -- /Rikard ------------------------------------------------------------------------------------ Rikard Johnels email : rikjoh@norweb.se Web : http://www.rikjoh.com Mob : +46 70 464 99 39 ------------------------ Public PGP fingerprint ---------------------------- < 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 >
participants (1)
-
Rikard Johnels