Martineau
Part of the Furniture
PuTTY, MobaXterm, WinSCP, XShell....I thought a good all around app would be the WinSCP because you can do different things within the router system like create files, folders but not sure if it's considered an "editor" so that I can paste in a script?
Yes
WinSCP has an internal Linux compatible editor, so all you need to do is double click a file to edit/view its contents....just like Windows explorer etc.
(I personally have customised WinSCP to tell it to use notepad++ for a better scripting experience etc. but this is not essential)
WinSCP can also open a basic SSH terminal session to the router, or if PuTTY is installed, WinSCP can be customised to invoke PuTTY..useful if PuTTY has a saved logon password .
But feature-wise, Xshell is sooo much better than PuTTY, particularly if you spend a lot of time on the SSH command line i.e. customised shortcut buttons to save you tediously manually retyping a sequence of commands.
So I would create a folder in the configs system area called IPGroups and then create a script called IPCamBlock.sh? Sorry for the confusing questions but I must admit...I am a little confused now that we are not creating the script in the standard firewall-start area.
No idea why you use the term 'area'...'/jffs/configs' and '/jffs/scripts' are folders, and are created by the firmware for both internal ASUS and conveniently your use, so effectively you are only creating files.
That is a very long script....so someone could just copy and paste that entire thing into the system? I would assume some things would need to be changed within the script like IP settings, changing or removing the references to your name, etc?
Yes.
The idea is that you don't need to touch the code once it has been cut'n'pasted into the '/jffs/scripts/IPCamsBlock.sh' file on the router - but sadly cut'n'paste seems to be simply beyond the IT skills of some
Clearly 'Martineau' should be changed/deleted...(along with removing the NTP rule if you have an internal NTP server) but if you are not comfortable with scripting syntax etc., you could break it! so I'd leave it for now...as I may decide to post a tweaked version to include a 'del' function (so might as well remove my trade mark, so you could instantly unblock the cameras to see exactly which sites they are trying to connect to.
Last edited: