![]() |
Ban ip in AuthD
(Don't know how old this info is but it could be usefull
for the people that just visit this forum.) Quote:
|
can you add IP ranges like 1xx.xx3.123.*
in blockips.txt just list ips? one line per ip. |
Not sure, haven't tested this yet.
Just passing it on |
Allright, here's an easy way to block out ip addresses on windows.
It does not require very much knowledge and you need some *nix tools ported on mswin. The tools you're going to need are: - wipfw (ipfw port for windows) - http://wipfw.sourceforge.net - winbash (bourn again shell port for windows) http://winbash.tigris.org/servlets/ProjectDocumentList Download wipfw and bash.exe and put the binaries in one directory. In the same directory, make a file called "blocked.txt". Add the IP addresses you want to block in that file, one IP address/subnet on a line. You can use the IANA network naming convention - this means that: 1.2.3.4 = one IP address 1.2.3.0/24 = class C - from 1.2.3.0 to 1.2.3.255 (google up if you need more info) Create a file named firewall.sh that should look like this: Code:
#!/the/dir/where/you/have/bash.exeSo, each time you're starting up the machine or adding/removing ip addresses to/from the blocklist, go in to that directory and run: bash firewall.sh (you may set up .sh file to be opened by bash). Further improvements can be done with a bit of RTFM also :) This will secure all ports, not only 2106 (authd) port. Friendly warning: do not have a VERY LARGE NUMBER of IP addresses to block. |
my BlockIPs.txt
Code:
0.0.0.0-2xx.xx5.255.0 |
Why on earth reopen such a old post... and with such a stupid comment..
|
| All times are GMT. The time now is 22:23. |