由 purplehair00 在 02-25-2004 03:09 发表:
56K拨号猫能不能作iptable
我把别人双网卡用的iptable语句拿来改了一下以为能用:
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
结果发现 ppp0不是个module:
modprobe: Can't locate module ppp0
难道56K猫就不能作iptable了吗?
由 小劲鸭 在 02-25-2004 05:37 发表:
说真的我对IPTABLE还不是很了解, 但给你个好点的主意, 去下载GUARDDOG, 它是IPTABLE的GNU软件, 到GOOGLE下一定能找到的, 如果你安装成功, 就可以很清楚而简单的在GUARDDOG下配置你的IPTABLE里的MODULE了, 连我这重菜鸟都行, 你也可以的啦。
风雨过后不一定有美好的天空
不是天晴就会有彩虹
不是所有感情都会有始有终
孤独尽头不一定惶恐
但愿你的眼睛 只看得到笑容
但愿你流下每一滴泪 都让人感动
座右铭:I think; therefore I am !
由 Snoopy 在 02-25-2004 08:04 发表:
有什么道理说不可以???
可以呀~~~``````你试下不就知道
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 purplehair00 在 02-25-2004 09:20 发表:
quote:
有什么道理说不可以???
可以呀~~~``````你试下不就知道 > > * * *
我不是试了吗? 我一楼的贴子就是因为试不出来才发的呀!!!!! 大兄弟明白的话指点一下啦
由 Snoopy 在 02-25-2004 09:36 发表:
你检查你的设备是否ppp0?
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 zysno1 在 02-25-2004 09:58 发表:
你ifconfig一下。
看看你的wan口到底是什么名字。
由 purplehair00 在 02-25-2004 10:39 发表:
乡亲们都瞧瞧吧, 别嫌罗嗦
[root@localhost rc.d]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:07:A1:12:62:25
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:162 errors:0 dropped:0 overruns:0 frame:0
TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:11298 (11.0 Kb) TX bytes:56422 (55.0 Kb)
Interrupt:3 Base address:0xec00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:7529 errors:0 dropped:0 overruns:0 frame:0
TX packets:7529 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:514294 (502.2 Kb) TX bytes:514294 (502.2 Kb)
ppp0 Link encap:Point-to-Point Protocol
inet addr:202.105.42.133 P-t-P:202.105.42.4 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST