【RouterOS】——PPTP firewall rules
本帖最後由 角色 於 2013-3-9 21:12 編輯
主要用两条rules- 3 ;;; Allow PPTP
- chain=input action=accept protocol=tcp dst-port=1723
- 4 chain=input action=accept protocol=gre
複製代碼 在最初加rules都是加在firewall rule list的最后,你要用move item_num destination=item_num。
;;; comment, 用comment=“comment-to-be-displayed". The following sample will be a complete firewall rules- [admin@MikroTik] /ip firewall filter> print
- Flags: X - disabled, I - invalid, D - dynamic
- 0 chain=input action=accept protocol=icmp
- 1 chain=input action=accept connection-state=established
- 2 chain=input action=accept connection-state=related
- 3 ;;; Allow PPTP
- chain=input action=accept protocol=tcp dst-port=1723
- 4 chain=input action=accept protocol=gre
- 5 chain=input action=drop in-interface=Public
複製代碼 |