malajixiang 发表于 2004-4-19 00:20:27

请问,如何在命令行作bimap?

Rule ID:   60000
Rule Flavor:   BIMAP
IF Name:   ALL
Local Address From:   192.168.1.6
Local Address To:   192.168.1.6
Global Address From:   0.0.0.0
Global Address To:   0.0.0.0
ifname 添什么?all好像不行啊
create nat rule entry ruleid 5 bimap prot any ifname all lcladdrfrom 192.168.1.66 lcladdrto 192.168.1.66 desaddrfrom 0.0.0.0 deaddrto 255.255.255.255 destportfrom 0 destportto 65535 lclport 0

malajixiang 发表于 2004-4-19 19:56:30

请问,如何在命令行作bimap?

斑竹来看看萨

kulala 发表于 2004-4-19 20:01:25

请问,如何在命令行作bimap?

NAT 这项设置偶也不懂,哪位懂的最好把图也帖上,谢谢~~

goingchan 发表于 2004-4-19 23:13:50

请问,如何在命令行作bimap?

不用ifname字段就是ALL了
在web上建立那么方便,干嘛要去用命令行。。。

malajixiang 发表于 2004-4-20 15:21:48

请问,如何在命令行作bimap?

下面引用由goingchan在 2004/04/19 11:13pm 发表的内容:
不用ifname字段就是ALL了
在web上建立那么方便,干嘛要去用命令行。。。

因为我想用个批处理文件直接点击就可以的那种,谢谢你的回答!
顺便问个问题:那些加中括号的选项是不是都是可选的?比如:
Parameter                         Description
---------                         -----------
ruleid <decvalue>                  Rule identifier
<rule type>                        Type:basic|filter|napt|bimap|rdr|pass
[ prot <ProtType> ]                Vals:any|tcp|udp|icmp|
[ ifname <name> ]                  Interface name
[ lcladdrfrom <ip addr> ]          Start source address
[ lcladdrto <ip addr> ]            End source address
[ glbaddrfrom <ip addr> ]          Start global address
[ glbaddrto <ip addr> ]            End global address
[ destaddrfrom <ip addr> ]         Start dest address
[ destaddrto <ip addr> ]         End dest address
[ destportfrom <decvalue> ]      Start dest port
[ destportto <decvalue> ]          End dest port
[ lclport <decvalue> ]             Translation port

goingchan 发表于 2004-4-20 18:14:39

请问,如何在命令行作bimap?

"< >"表示必选
"[ ]"表示可选,不输入"[ ]"中的字段,则表示该字段使用默认值
页: [1]
查看完整版本: 请问,如何在命令行作bimap?