# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
	address 192.168.0.1
	netmask 255.255.255.0
	network 192.168.0.0
	broadcast 192.168.0.255
	gateway 192.168.0.145
up iptables -F
up iptables -P INPUT    DROP
up iptables -P FORWARD  DROP
up iptables -A INPUT -i eth0 -s 192.168.0.2 -d 0/0 -j ACCEPT
up iptables -A INPUT -i lo -j ACCEPT
up iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
