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