Re: ip alias

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

 



El mar, 28 de 09 de 2004 a las 06:44, John Black escribiÃ:
> > > ifconfig eth0:0 192.168.1.23 netmask 255.255.255.0
> > 
> > not this:
> > 
> > > iptables -t nat -A PREROUTING -d 192.168.1.23 -i eth0 \
> > >                -j DNAT --to-destination 161.31.31.23
> 
> but i want eth0:0 to be asigned that particular address to the internet.  

Then I think your rule it's Ok. It will redirect all the traffic
with destination 192.168.1.23 to 161.31.31.23.

-- 
Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
jkerouac@xxxxxxxxx
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPAÃA

The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
                -- Jack Kerouac, "On the Road"




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux