#!/bin/bash # this stops access network for the computer on the lan # The computer is specified as number: 2, 3, ... which is appended to # the address, for example: # stoplan 3 # will stop 192.168.0.3 # Done by Jan Labanowski, jkl@ccl.net iptables -t filter -I FORWARD -i eth1 -s 192.168.0.${1} -j DROP iptables -t filter -I FORWARD -i eth1 -d 192.168.0.${1} -j DROP