[LUGOS] nmap

Jure Koren idiots at gmail.com
Fri Jul 9 13:16:22 CEST 2004


On Fri, 09 Jul 2004 10:07:20 +0200, Dalibor <lugos at ice.si> wrote:
> To imam v skripti
> 
> $IPT -t nat -A PREROUTING -p tcp -i $EXTIF -d 193.xx.xxx.xxx  --dport
> 9200 -j DNAT --to 192.168.1.32:9200
> $IPT -A FORWARD -p tcp -i $EXTIF -d 192.168.1.32 --dport 9200 -j ACCEPT
> 
> Kako dolocim destination interface?


Destination interface se izbere na podlagi routing tabele in odlocitev
o tem lahko spremenis samo v netfiltrovi tabeli "nat", v verigi
PREROUTING, ce spremenis ciljni naslov IP.



More information about the lugos-list mailing list