发布时间:2013-01-31 12:16:30
以本地为目的的包数据包 ----> mangle prerouting -------> nat prerouting -------> mangle input -------> filter input以本地为源的包数据包 -------> mangle output -------> nat output -------> filter output -------> mangle postrouting -------> nat postrouting 经过本地转.........【阅读全文】
发布时间:2013-01-14 11:49:24
director机器上cat ipv-director.sh#!/bin/bash#set -xvip=192.168.222.250rip1=192.168.222.129rip2=192.168.222.130port=80/sbin/ifconfig | grep eth0:1 > /dev/nullif [ $? -eq 0 ] then /sbin/route del $vip/sbin/ifconfig eth0:1 downfistart() {/sbin/ifconfig eth0:1 $v......【阅读全文】