- or download this
#!/usr/bin/perl
use warnings;
...
$poe_kernel->run();
exit 0;
- or download this
1c1
< package POE::Wheel::TProxySocketFactory;
...
< }
< DEBUG && warn "set_ip_transparent";
<
- or download this
#!/bin/bash
INT="eth2"
...
ebtables -t broute -F
ebtables -t broute -A BROUTING -p IPv4 -i $INT --ip-proto tcp --ip-dpo
+rt 80 -j redirect --redirect-target DROP
ebtables -t broute -A BROUTING -p IPv4 -i $EXT --ip-proto tcp --ip-spo
+rt 80 -j redirect --redirect-target DROP