it must add a number to the $IP(number) , that is what i have in my old script.
every ddns has it's own number.
Example:
#!/bin/sh
VER="v1.02a"
log_file1="/tmp/mnt/RT-AX86U/log/emailname1.log"
log_file2="/tmp/mnt/RT-AX86U/log/emailname2.log"
log_file3="/tmp/mnt/RT-AX86U/log/emailname3.log"...
oke im almost there, created a csv file with number, noip address and logfilename also with a loop but the checking is one time.
when its running the else command ip stay empty.
#!/bin/sh
VER="v1.02a"
SCRIPT_PATH="/jffs/scripts/firewall"
now=$(date +%d-%m-%Y/%H:%M)
while read LINE; # by line...
I forgot something to ask, i have over 150 users, all with there own ddns name, must i use a sql database to read-out the users and how create i for all the users a separate log file.
Oke my situation.
I have a mailserver running, and to get access for all users i have created a little scripts that resolves from a no-ip dynamic host to ip.
Then the ip-address is always add to the whitelist (running a cron every hour) so the users will always get access to read there email...
What im missing in here is the upsd driver, that 1 must be running also to get all the readings.
/opt/sbin/upsd -B -u admin
Without that the web-cgi is also not working. (running in lighttp instead of the mini-http)
I have put it in the service-event script.
With the latest 386.4 Asuswrt-Merlin i have lots of log-file mg's with [BLOCKED - INVALID] that weren't there in the 386.3_2 release.
Running Skynet v7.2.8
So do i put them in the blacklist or in the whitelist ?
Hello Everyone,
Im looking for a script that will whitelist my ip from my phone (use no-ip on it) to get to my mailserver at home.
I am allot on the road these days and most of the time my phone's ip-address is blocked by IPSET_Block.sh script.
So is there a way that the script will do the...
Hi All.
Bought a brandnew RT-AC66U and upgraded the firmware from the official asus website, problem with that firmware is that when i reboot the router it won't reconnect to my WAN (had to reboot my isp-modem also to get wan working again).
That results in a change off my ip-address :(
So i...