[wellylug] limiting international traffic.

Alex wlug at viceconsulting.co.nz
Fri Oct 31 22:42:48 NZDT 2003


sup bruva

#!/bin/bash
iptables -P OUTPUT DROP
iptables -A OUTPUT -d 203.96.0.0/16 -j ACCEPT

hope you still got the belt buckle
-alex

----- Original Message -----
From: Ilia Pavlenko <ip at globe.net.nz>
To: <wellylug at lists.naos.co.nz>
Sent: Friday, October 31, 2003 7:24 PM
Subject: [wellylug] limiting international traffic.


> Greetings.
>
> My brother has a linux-based router on his flat's LAN, plugged into
> Parasite's cable. End of month, and they discovered that they almost up to
> the megabyte limit for this month.
>
> What is the easiest way to limit international traffic, but keep NZ
> flowing? iptables -> DENY ALL -> ALLOW 203.96.0.0/16 ?
>
> Has anyone got iptables scripts they willing to share :)
>
> Thanks in advance,
>
> Ilia
>
>
> --
> Wellington Linux Users Group Mailing List: wellylug at lists.naos.co.nz
> To Leave:  http://lists.naos.co.nz/mailman/listinfo/wellylug
>
>




More information about the wellylug mailing list