透明代理(没有任何过滤)
[root@ec-server root]# less /etc/sysconfig/iptables.TransparentProxy
# Generated by iptables-save v1.2.6a on Thu Nov 13 12:48:58 2003
*nat
:PREROUTING ACCEPT [164:16691]
:POSTROUTING ACCEPT [60:3799]
:OUTPUT ACCEPT [130:8011]
-A POSTROUTING -o eth0 -j MASQUERADE
COMMIT
# Completed on Thu Nov 13 12:48:58 2003
# Generated by iptables-save v1.2.6a on Thu Nov 13 12:48:58 2003
*mangle
:PREROUTING ACCEPT [52712:8921966]
:INPUT ACCEPT [52355:8771891]
:FORWARD ACCEPT [323:137001]
:OUTPUT ACCEPT [54200:20140731]
:POSTROUTING ACCEPT [54537:20285003]
COMMIT
# Completed on Thu Nov 13 12:48:58 2003
# Generated by iptables-save v1.2.6a on Thu Nov 13 12:48:58 2003
*filter
:INPUT ACCEPT [51642:8444628]
:FORWARD ACCEPT [160:111065]
:OUTPUT ACCEPT [53533:19742389]
-A FORWARD -i eth1 -j ACCEPT
COMMIT
# Completed on Thu Nov 13 12:48:58 2003
本文地址:http://com.8s8s.com/it/it36483.htm