[ LUGOS ] web server za firewallom

David Klasinc bigwhale at m42.cx
Tue Feb 20 09:27:15 CET 2001


On Mon, Feb 19, 2001 at 11:27:18PM -0800, Igor wrote:

> ipchains -A forward -p TCP -s x.x.x.x/255.255.255.255
> 80 -d 192.168.0.5/255.255.255.255 -j ACCEPT
> 
> ta komanda mi ne spusca skozi promet
> kaj je se potrebno narediti
> 
> Vsaka nasvet in informacija bi mi bila dobrodosla


Glede na to, da imas za firewallom MASQed network, bos to najbolje resil z
uporabo ipmasqadm

Recimo takole:

/usr/sbin/ipmasqadm portfw -a -P tcp -L localaddr 80 -R masqdaddr 80

Pri cemer je localaddr IP tvojega firewalla, zunanji IP, se razume in pa
masqaddr IP tvojega web serverja na notranji mrezi.



David!
---------------
SCSI  -- System Can't See It





More information about the lugos-list mailing list