|
|

楼主 |
发表于 2006-6-9 00:27:31
|
显示全部楼层
baogenfly:/home/baogenfly/temp# iptables-save
# Generated by iptables-save v1.3.3 on Fri Jun 9 00:24:06 2006
*filter
:INPUT ACCEPT [1775:291576]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [166:15262]
COMMIT
# Completed on Fri Jun 9 00:24:06 2006
# Generated by iptables-save v1.3.3 on Fri Jun 9 00:24:06 2006
*nat
REROUTING ACCEPT [1058:122183]
OSTROUTING ACCEPT [15:766]
:OUTPUT ACCEPT [15:766]
-A POSTROUTING -s 192.168.1.2 -o eth1 -j SNAT --to-source 202.117.164.105
COMMIT
# Completed on Fri Jun 9 00:24:06 2006
baogenfly:/home/baogenfly/temp# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
202.117.164.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 202.117.164.1 0.0.0.0 UG 0 0 0 eth1
baogenfly:/home/baogenfly/temp# traceroute 192.168.1.2
traceroute to 192.168.1.2 (192.168.1.2), 30 hops max, 40 byte packets
1 192.168.1.1 (192.168.1.1) 3000.388 ms !H 3000.307 ms !H 3000.359 ms !H
baogenfly:/home/baogenfly/temp# |
|