ip alias

John Black black at arbbs.net
Tue Sep 28 05:15:50 CEST 2004


I'm tryint to setup ip alias with iptables on fedora core 2.

Is this right?  For some reason it will not let me out?

ifconfig eth0:0 192.168.1.23 netmask 255.255.255.0
iptables -t nat -A PREROUTING -d 192.168.1.23 -i eth0 \
                -j DNAT --to-destination 161.31.31.23


thanks
john





More information about the netfilter mailing list