mikrotik

Mikrotik auto user-manager user script needs improvement

谁都会走 提交于 2020-01-14 12:48:09
问题 I wrote this script but it's not working properly.Anyone can help? It's supposed to check download limit and download used by a user and then do some action i.e to remove the user from active ppp list but it has some flaws which is that I can't get the actual-profile value in a variable so instead I save the Profile name in Comment with the user manager user account so then I can get the profile name in the variable but that's not how I want it to be..So that's why how to get the actual

(Mikrotik)基于IPv6的 6to4 通道 突破国内路由封锁....

為{幸葍}努か 提交于 2020-01-07 05:06:42
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 是的,您没有看错!网上已经有教程教您怎么用 ROS 过 GWF ,怎么借线做路由! 但是这些都是针对技术党的,如果对于一个路由器工作方式都不知道的您来说,可能是一件难事!所以此教程,对ROS初学者也能玩转。 —— 你在世界任何一个地方都可以看到你想从 Internet 上看到的任何东西! 现在国内对外管制很严,使得很多国外网站都无法访问。导致国内很多技术党、外贸电商等只能求助于一些 L2TP 、 SSTP 、 SSL VPN 、 PPTP 等人,成本低! 第一步: 1、从 https://www.tunnelbroker.net/ 网站上申请一个账号,步骤(略)申请好后,会将账号密码发送到你前面填写的指定邮箱。如下所示 1.1、 收到邮件 1.2 查收邮件里的账号密码,然后登陆! 1.3 登陆好以后会出现这个界面 注意:这个时候细心的同学就发现了!哇!居然可以创建 2 种 IPv6 通道 .. ① 基于 6TO4Tunnel 的一种封装传输模式 ② 基于 BGP 路由( EBGP )的一种传输模式 (详情请见页尾注释①) 第二步 2、好拉,现在选择 Create Regular Tunnel 选项,开始创建路由吧! 2.1 首先我们在 IPv4 Endpoint 右边的框内填写你的外网 IP 地址

MikroTik无线认证系统方案

烂漫一生 提交于 2019-12-24 06:46:11
在很多小区或者公共的室外场合,因为布线和施工,以及客户需要的情况下,会采用无线覆盖的方案,这样的方案相对有线方式来说,总体成本要低,而且操作灵活。在客户端只需要客户有无线网卡就可以连接到主机站并上网。下面是一个MikroTik的无线方案: 在该方案中我们以小区为例,因为小区宽带用户较多,所以需要高性能的无线路由设备,因此采用RouterBOARD532做为中心机站,覆盖这个小区的室内和室外无线上网用户,但可能因为小区或者环境情况的不同,可能还需要增加机站数,扩大覆盖面积和消除死角。同样在RouterBOARD532上可以添加2张无线网卡,我们可以用一张网卡做小区内的覆盖,另外一张用于连接远端的发射端或者接收端。这样就能实现一个设备做转发和覆盖。RouterBOARD532的AP模式设定为桥模式,可以做透明的传输,在网络扩展方面就比较容易和方便。 MikroTik RouterOS支持的频段与协议: 2.4Ghz-b - IEEE 802.11b 2.4Ghz-b/g - IEEE 802.11b 与 IEEE 802.11g 2.4Ghz-g-turbo - IEEE 802.11g 支持108 Mbit 2.4Ghz-only-g - IEEE 802.11g 5Ghz - IEEE 802.11a支持54 Mbit 5Ghz-turbo - IEEE 802.11a支持108

How to create a new file by Mikrotik routers' scripting [closed]

隐身守侯 提交于 2019-12-13 14:24:44
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . How to create a new file by script on Mikrotik Routerboard (Router OS 6.30)? 回答1: UPDATE: This solutions also does not work well. It seems to be impossible to create a file and edit (/file set) it during one script call. I have no idea why, but only working solution is to run

EDIT: MikroTik IP accounting via PHP API only storing information that is specified in database

ぃ、小莉子 提交于 2019-12-13 00:55:05
问题 I am working on a script to import MikroTik IP accounting data into MySQL only if there is an existing row in the database containing the IP address. I have a table services with columns id (service id) and ipv4 (service IP address) which contains the rows of IP addresses I want to store the accounting data for. I then have another table traffic_counters with columns id , service_id , download_bytes , upload_bytes and date Currently when fetching the accounting data from API, if I use print_r