All of lore.kernel.org
 help / color / mirror / Atom feed
* ip aliasing
@ 2005-06-19  0:08 John Black
  2005-06-19  0:40 ` ip aliasing (nfcan: addressed to exclusive sender for this address) Jim Laurino
  0 siblings, 1 reply; 2+ messages in thread
From: John Black @ 2005-06-19  0:08 UTC (permalink / raw)
  To: netfilter

i'm trying to setup my firewall to do ip aliasing.  i have two private ip 
address that i would like aliased.

if i run the command:
ifconfig eth0:0 10.10.10.11 (public address) netmask 255.255.255.0

then in my firewall script i have:
    iptables -t nat -A PREROUTING -d 192.168.180.181 -i eth0 \
                -j DNAT --to-destination 10.10.10.11

is this right?  since eth0 is the address connecting the firewall to the 
internet?

thanks
john 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-19  0:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-19  0:08 ip aliasing John Black
2005-06-19  0:40 ` ip aliasing (nfcan: addressed to exclusive sender for this address) Jim Laurino

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.