/etc/rc.conf 添加
ipfilter_enable="YES"
ipnat_enable="YES"
ipmon_enable="YES"
gateway_enable="YES"
ipfilter_enable="YES"
ipnat_enable="YES"
ipmon_enable="YES"
===============================
编译:/etc/ipnat.rules
#ipnat -C -F -f /etc/ipnat.rules
bimap vr1 10.0.153.78/32 -> 10.4.6.178/32
rdr vr1 10.4.6.47/32 port 80 -> 10.0.153.126 port 80 tcp
阅读(793) | 评论(0) | 转发(0) |