Lan Party

Had a pretty decent LAN Party last weekend. We played TF2, BF1942, CS:S, Diablo 2 LOD and Warcraft 3 FT. The LAN started at 12:00 and went to 12:00 the next day, and the amount of people varied between 2 and 11, although the average was 9 (Damn people needing to work). The flickr stream starts here.

All in all it was pretty good, 8 pizzas, soft drink. Could have done with some more nachos, but meh. Pretty damn good.

When people aren’t playing games it’s a good chance to trade Creative Commons music and the like. I have 50gb of music now that I’m sorting through. This also gave me a chance to test out the new iTunes 8 and I have to say, it hasn’t changed much. It looks a little nicer IMHO.

The LAN also allowed me to test out my new Nvidia 8600GT graphics card, which done wonders. Since my computer naturally runs hot, I under clocked it, and still managed to get over 50 FPS in most games.

This is also the first LAN where I have been able to stop people from using all my bandwidth, by blocking all ports but HTTP, MSN and the like. This stopped torrents and people playing WOW (which I think is a stupid thing to do at a LAN anyway). To do it using my approach you must have a modem / router running and it must have iptables.

Yours will be different depending on the model and brand of modem, but you can have a look at the script I used to block everything but the stuff I wanted.

iptables –delete FORWARD 1
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 6667 -i br0
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 6667
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 9002
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 9002 -i br0
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 6697
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 6697 -i br0
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 443 -i br0
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 443
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 53
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 53 -i br0
iptables –insert FORWARD 3 -j ACCEPT -p udp –destination-port 53
iptables –insert FORWARD 3 -j ACCEPT -p udp –destination-port 53 -i br0
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 80
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 80 -i br0
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 1863
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 1863 -i br0
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 21
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 21 -i br0
iptables –insert FORWARD 3 -j ACCEPT -p udp –destination-port 1863
iptables –insert FORWARD 3 -j ACCEPT -p udp –destination-port 1863 -i br0
iptables –insert FORWARD 3 -j ACCEPT -p udp –destination-port 3388:3390
iptables –insert FORWARD 3 -j ACCEPT -p udp –destination-port 3388:3390 -i br0
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 3388:3390
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 3388:3390 -i br0
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 27030:27039 -i br0
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 27030:27039
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 110
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 110 -i br0
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 25
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 25 -i br0
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 465
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 465 -i br0
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 993
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 993 -i br0
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 995
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 995 -i br0
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 5900
iptables –insert FORWARD 3 -j ACCEPT -p tcp –destination-port 5900 -i br0
iptables -A FORWARD -j DROP -i br0