[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: router debian



> > >> #!/bin/sh
> > >> IPTABLES="/sbin/iptables"
> > >> INTERNAL_NET="192.168.1.0/24"
> > >> modprobe iptable_nat
> > >> $IPTABLES -t nat -A POSTROUTING -s
> > $INTERNAL_NET -o $EXT_INT -j MASQUERADE
> > >>
> >
>  Domanda: Ma $EXT_INT chi la definisce?
>  io ho un IP esterno dinamico avendo una ADSL.

con -o si definisce l'intefaccia non l'ip vai tranquillo anche con il dinamico



Reply to: