#!/bin/sh
#	antispoofppp-up-ipchains 0.01
#
#	Aade a cortafuegos regla antispoof a la IP dinamica asignada al PPP
#	Insert firewall antispoof rule to the dynamic IP asigned to PPP
#

IFACE_INET=$PPP_IFACE
IP_DINAMICA=$PPP_LOCAL


# INSERTAR COMO REGLA 1 ANTISPOOF DE IP DINAMICA ASIGNADA POR PROVEEDOR ISP
# No aceptar entradas de inet reclamando ser "la IP asignada" (spoof)

# Insert input rule 1     denying in PPP iface   from PPP IP    to ANYWHERE
echorun ipchains -I input -j DENY -i $IFACE_INET -s $IP_DINAMICA -d 0/0
