電訊茶室's Archiver

vpn-learner 發表於 2019-3-2 17:02

如何抄出 mikrotik firewall rules 的 scripts(text)to text editor?

我在Mikrotik的 GUI 界面 看见的Firewall rules, 有几个TAB,和 页面, 请问如何把这些rules 的script 拷出来让我在 text editor 修改?
有问题时也可以更方便地 post 出来让师兄帮忙指点改正出错的地方。

角色 發表於 2019-3-3 19:30

You may open a terminal and enter the following commands to export/print the contents of the filter rules applied:[code]
/ip firewall filter export
[/code].

vpn-learner 發表於 2019-3-3 21:23

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=46364&ptid=7381]2#[/url] [i]角色[/i] [/b]


    Thanks! Then I can post the scripts  for  师兄们 帮忙 指正。:)

vpn-learner 發表於 2019-5-20 18:08

Firewalls 的 scripts 是否 run 一次 就可永远运行, 不需要在schedule 设定 每天都要启动吗?

角色 發表於 2019-5-20 18:43

一般我们可以manual输入rules,或者通过script,而用script都是一次搞定,不需要在schedule每次都重复执行。

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.