[LUGOS] EXT IP v INT IP
Darko Vrsic
darko at varnost-mb.si
Fri Sep 6 08:10:31 CEST 2002
----- Original Message -----
From: "Marko Bevc" <fonzie at kibla.org>
To: <lugos-list at lugos.si>
Sent: Thursday, September 05, 2002 10:19 PM
Subject: Re: [LUGOS] EXT IP v INT IP
> hmm...pa ste sire, da nebi bil proxy_arp boljsa resitev?!
iptables -t nat -A PREROUTING -p tcp -d
ip.zunanjega.virtualnega.interfacea --dport 80 -j DNAT --to-destination
192.168.1.1:80
iptables -A FORWARD -p tcp --dport 80 -d 192.168.1.1 -j allowed
Zgornja varianta mora delovat. Seveda mora imet notranja masina vpisano
masino, ki dela redirekcijo kot gateway.
LP
DarkO
More information about the lugos-list
mailing list