![]() The "iplist.txt" contains some line starting with # which should be ignored. ![]() I've download the link below containing a bunch of DOH/DOT public servers that I want to convert into an ACL.īasically I took the (non-working on RouterOS 6.x) script from the WIKI and added the correction that is suggested to make it work again in this post. rsc file containing all the CLI to fill the list by coding an smal cgi in bash or php, then just fetching the file from your web server.Īnyone that can help me out why this does not work ?īasically I combined some posting in order to make a script that should work, but it only cleans/empties my "DNS" address-list. rsc.įollowing this idea, and as you may be reaching maximum file size for file processing using scripting, you could also generate the. rsc, upload it to the router then do an import on the. The idea is to end with the CLI commands on the text file that way you can rename it to. iting.html).īoth by the way have plugins for ROS syntax coloring. If this is a one time need: a hack or workaround without resorting to scripting would be opening that csv file on a text editor then using find/replace to putīy searching for the beggining of line, so that text is placed before the IP, and thenĪnother way would be by using a text editor with block or column mode editing capabilities, like SublimeText or notepad++ for example (see. ![]() Not sure if this is a one-time need or maybe you are seeking for a way to automate this if it needs to be the script way, check for the CSV having suitable end of line characters, where is it failing? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |