this is a extra element for clear the floated element
iptables用法
  • 12/31
  • 2008
iptables | Linux 5614 次查看
  iptables -t nat -j DNAT -A PREROUTING -p tcp --dport 80 -d XXX.XXX.XXX.XXX --to-destination 192.168.0.23

  iptables -t nat -j DNAT -A PREROUTING -p tcp --dport 80 -d 218.17.XXX.XXX --to-destination 192.168.1.10

  iptables -t nat -j DNAT -A PREROUTING -p tcp --dport 80 -d 11.22.33.44 --to-destination 192.168.0.1:80 -i eth0