script

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

  1. S

    How do I send a script DDNS over VPN to JIFFS

    I am running my own email server. Gmail and the like bounce my emails under various excuses, mostly residential IP. I have seen that Merlin has a script to run DDNS over the VPN, but I did not find out how to send this script to jiffs? Can you help point me to the correct script for AC87U and...
  2. M

    Samba share everyone write access

    I am affected by this error and cannot save image backups to the drive. The solution to this is to enable write access to everyone. What is the most beautiful way to do this for single share? Is there such control in the GUI or should I modify smb.conf via postconf script in that way...
  3. Z

    iptables script

    I know just enough to accidentally do very terrible things to my system, but I follow directions very well. :D I have an Asus RT-AC68U router flashed to merlin firmware version RT-AC68U_380.66_4 I want to insert an iptables script to automatically set the TTL value to 65 for all connected...
  4. P

    AC68U - 4G USB hanging up

    Hi guys! I bought Asus RT-AC68U with Huawei 4G LTE Modem. There is problem with connection stability, usb modem hang-up and i need to reconnect it manually. I've installed Asuswrt-Merlin with hope that there will be possibility to automate this process. Now I've created the script to ping...
  5. amplatfus

    spin down during nights off during days

    Hi I just got the idea to put the HDD in spin down only during nights. I created below scripts and thinking to put them in cru list. I am in development phase. If you have any ideas please share. I searched the forums but did not find something similar. #!/bin/sh #spin down on during days...
  6. D

    Script to query for DNSCrypt resolvers

    I'm trying to create a script that: a) Extracts DNSCrypt resolver names from all filenames beginning with "S09dnscrypt-proxy" in the /mnt/sda1/entware-ng.arm/etc/init.d directory. b) Performs a lookup for the resolver names' ip address c) Adds the resolver names' ip addresses to an ipset set...
  7. D

    Possible to script query for DHCP address range

    Is it possible for a script to return the DHCP IP Pool Starting Address and IP Pool Ending Address ?
  8. zmaster

    Custom firewall-start script for OpenVPN (country allow list)

    Hi guys, I've been a reader of this forum for quite some time and I have a RT-AC68U for almost 2.5 years now but flashed Merlin's firmware last week. My reason was to flash was OpenVPN 2.4.x. My Synology was a bit behind and I don’t like services being exposed to the internet when they are not...
  9. A

    Bypass Plex traffic on router running vpn client, Working good so far, Testing for few days

    Everything seems working as I intended, still testing for anything I may have missed. I found this script reddit by a user name: Scare_norm The script placed in /jffs/scripts/ as Plex_StaticRoute.sh (note: with extension .sh) #!/bin/sh logger "Starting Plex static route script..." #Fetch...
  10. swetoast

    Privacy Filter (Another IPSET Script)

    Hi Everyone, I'm back with another IPSET for your firewall this time around its for blocking Telemetry and some Android Rootkit along with Shodan.io Scanners. For official installatins instructions and more information please consult the wiki about the information. NOTE: for all users running...
  11. S

    Need help with nat-start script.

    Since I enabled the FTP server on my NAS I've been getting several log alerts in my mail about failed login attempts. This is part of the log that is sent to my email from my NAS 2016-12-26 19:26:20 alert Failed pure-ftpd login attempt (incorrect password or inexistent username). The details...
  12. chandras002

    running scripts on ASUS-Merlin

    Dear friends, Cheers! from chandra. New to Asus -Merlin. Using Firmware 380.63 _2 on Asus RT- AC88U. So far, it is works well. :) Now, i have attached the USB drive to modem. Wish to run the tcpdump and collect the traffic by ftp. Following the this blog helped.. >>...
  13. D

    Script to see if a device is connected

    Hello! I have a ASUS RT-AC66U. Currently, I have a node.js script that starts to play music on my speakers when Tasker sends it a package, which happens when I arrive at my house. This works okay, but I would like to move away from Tasker, and use the router instead. Which means I need to...
  14. Sas

    Custom script screwup, router won't boot

    I was messing with a startup script while away from home (I know, I should have left it alone), and something I did to the services-start script is now preventing my router from booting. I can ask a friend to go over and reboot it, but it will probably still crash when it tries to load the...
  15. A

    best firmware for long range transmission?

    I have an RT-AC56U on AsusMerlin v. 380.61.0 (I believe that's the newest build). My best friend, who lives in the apartment above and across from me in our old house, has generously agreed to share his bandwidth with me--I am on a fixed income. I'm going to give him my newer modem and the...
  16. N

    Script for starting/stopping QOS on RT-AC87U

    I'm looking for a way to start/stop QOS on my RT-AC87U on specific times of day. Has anybody on this board been able to use a script and configure cron jobs to start/stop QOS on their router? I have unlimited usage with my ISP between 2 am and 2 pm everyday. I would like to have my bandwidth...
  17. Schuby

    Help Needed: Firewall Script *Fixed!*

    I modified @Adamm 's script (http://www.snbforums.com/threads/how-to-dynamically-ban-malicious-ips-using-ipset-firewall-addition.16798/) and with the help of @Maude I was able to use iptables to forward ports to my web server and still have blacklisted users banned as needed. In regards to the...
  18. R

    Scripting/Automating Port Forwarding?

    I'd like to programmatically enable and disable port forwarding on my router (use case below). It should be straightforward enough to write the IPTables rules, but I'm not sure what event (if any) I can use as a trigger. Is updating the nat-start script and rebooting the router the best option...
  19. T

    qos-start script not executed after reboot/QOS activation

    Hi everybody, with the latest fw versions (at least since 378.56_2 release) the /jffs/scripts/qos-start script is not automatically executed when the router is restarted or QOS activated. In the script I've written for my Asus RT-AC56U I added the following tc command in order to limit the...
Top