ip aliasing

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

 



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


[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