由 lkmwgmy 在 11-07-2003 22:08 发表:
请大家和看一下这句IPTABLES对不对啊
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 21 -j DNAT --to 192.168.0.250:21
请大家看一下这句话有没有错的地方啊!!!
我是想把21端口转发到内网的192。168。0。250 但是我扫描了一下端口。并没有看到21这是么回事啊!!!
由 大熊宝宝 在 11-08-2003 15:55 发表:
iptables -t nat -A PREROUTING -p tcp -m tcp --dport 21 -j DNAT --to-destination 192.168.0.250:21
iptables -t nat -A PREROUTING -p tcp -m tcp --dport 20 -j DNAT --to-destination 192.168.0.250:20
是扫描不到的
请兄弟们正确发贴,把问题发到相关版块 发贴标题请简明扼要 谢谢大家配合.
新会员发贴前请学会搜索论坛 有可能你的问题已经有答案了
由 Snoopy 在 11-08-2003 16:06 发表:
有没办法让它扫得到??
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
由 大熊宝宝 在 11-08-2003 16:52 发表:
那是转发 不需要监听着 有人访问21直接就forward了
请兄弟们正确发贴,把问题发到相关版块 发贴标题请简明扼要 谢谢大家配合.
新会员发贴前请学会搜索论坛 有可能你的问题已经有答案了
<