[GUIDE] How to do IP Filtering (White/Black Listing). To block DDOS attacks.

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    ( -_-) ImMiremo is offline
    MemberRank
    Dec 2009 Join Date
    127.0.0.1Location
    557Posts

    config [GUIDE] How to do IP Filtering (White/Black Listing). To block DDOS attacks.

    DDOS attacks are nothing new when creating a server. I won't explain the tiny details or definitions since this is not for beginners. Before asking, do google first.

    IP Filtering (White/Black Listing) is a way to block or limit the entry of ip into your server.

    So how to do Allowing/Blocking of IP's?


    1. Open Powershell with Administrator's Power.
    2. Execute this:
    PHP Code:
    PowerShell.exe -ExecutionPolicy Bypass 
    -- Before we proceed with the third step, there are 2 methods. Blocking and Allowing.--
    Download this script first: https://anonymousfiles.io/Y52aIuVh/

    3. For BLOCKING IPs, I'll give you an example of IP list which gives updated IP list of suspicious IPs: https://iplists.firehol.org/files/firehol_level1.netset
    4. To block, go back to powershell, check your directory and make sure you are in the same folder which the script and ip list exist.
    5. Execute this:
    PHP Code:
    .\Import-Firewall-Blocklist.ps1 -inputfile firehol_level1.netset 
    -- You can also make your own IP list, and change the "firehol_level1.netset" to your .txt file. --

    6. Now for ALLOWING IP on specific ports, we'll use the script: Import-Firewall-Allowlist.ps1
    7. For example, you only want a specific country to enter your game. Go to: https://www.ipdeny.com/ipblocks/ and choose your sh*t.
    8. We'll use Philippines for this, the file name of ph ip filter(default) is: ph.zone.txt
    9. Before executing the script, open "Import-Firewall-Allowlist.ps1" with notepad or better notepad++, and search for this string: #add comma if too many or dash for port range //Miremo
    10. You'll see; $ports = "3389". List all your ran ports and other ports you want to allow.
    11. To proceed, execute this on powershell:
    PHP Code:
    .\Import-Firewall-Allowlist.ps1 -inputfile ph.zone.txt 
    -- Again, you can make your own list, and only allow specific ip/player to enter your game/server --
    12. After you finish filtering, make sure to input this on powershell:
    PHP Code:
     PowerShell.exe -ExecutionPolicy Restricted 
    NOTE: Always make sure to turn on your firewall, check the rules and disable everything except for your important sh*ts (RDP,MSSQL,Field,Login,Agent,Cache).


  2. #2
    YALL STUPID FOR REAL momongpogs is offline
    MemberRank
    Jun 2010 Join Date
    228Posts

    Re: [GUIDE] How to do IP Filtering (White/Black Listing). To block DDOS attacks.

    Sir you have no idea how this guide helpful to my community. We have been suffering from DDOS attack almost everyday, I just love my community! Without them I am a sadboi loner under the tree. I know I was extremely toxic way back before with my codevs and I always brag all my achievement as if I am the only one knows how to do it. I intend to sell some stuffs overpriced but that was in the past. I am a new man. Just like in ran we rebirth our character to start fresh. So thank you sir for this.

  3. #3
    Account Upgraded | Title Enabled! EMOLISTA is offline
    MemberRank
    Apr 2010 Join Date
    Caloocan CityLocation
    778Posts

    Re: [GUIDE] How to do IP Filtering (White/Black Listing). To block DDOS attacks.

    <3 <3

    That's all what I can say :)

  4. #4
    RaGEZONE Sponsor HyperFilter is offline
      Sponsor  Rank
    Sep 2013 Join Date
    The NetherlandsLocation
    22Posts

    Re: [GUIDE] How to do IP Filtering (White/Black Listing). To block DDOS attacks.

    We can provide a custom DDoS Protection algorithm in any of our dedicated servers, with it this blocking will be performed in hardware level and no software adjustments will be necessary, it worth to mention that it can handle much larger attacks if compared to the dedicated server network interface and the operating system bottleneck. ;)

  5. #5
    Back at old school Mustafa5 is offline
    MemberRank
    Mar 2018 Join Date
    329Posts

    Re: [GUIDE] How to do IP Filtering (White/Black Listing). To block DDOS attacks.

    This is a good guide, it can block DoS depending on your current server specs, but seems the best protection is on Hardware and Network level, so it still depend on your hosting provider.

  6. #6
    Novice palemoon is offline
    MemberRank
    Oct 2020 Join Date
    2Posts

    Re: [GUIDE] How to do IP Filtering (White/Black Listing). To block DDOS attacks.

    Hi Bro,

    how to back to default setting? I mean, back to default server setting for allowing port and remove all script from server. Thanks

  7. #7
    Valued Member garinggo is offline
    MemberRank
    Oct 2015 Join Date
    Malolos BulacanLocation
    127Posts

    Re: [GUIDE] How to do IP Filtering (White/Black Listing). To block DDOS attacks.

    where is the script man 'atorrents show'

  8. #8
    Proficient Member imasexgod3 is offline
    MemberRank
    Jun 2010 Join Date
    162Posts

    Re: [GUIDE] How to do IP Filtering (White/Black Listing). To block DDOS attacks.

    the script on step 2 is not showing on atorrents please upload it here.

  9. #9
    Proficient Member skysy125 is online now
    MemberRank
    Apr 2015 Join Date
    151Posts

    Re: [GUIDE] How to do IP Filtering (White/Black Listing). To block DDOS attacks.

    Anyone can reupload the download links

  10. #10
    Valued Member review000 is offline
    MemberRank
    Mar 2018 Join Date
    106Posts

    Re: [GUIDE] How to do IP Filtering (White/Black Listing). To block DDOS attacks.

    12288 IP's
    get from recent attack

    hope this will help us thanks :)
    Attached Files Attached Files

  11. #11
    Unknown Place MaxZeus is offline
    MemberRank
    Mar 2013 Join Date
    592Posts

    thumbs up Re: [GUIDE] How to do IP Filtering (White/Black Listing). To block DDOS attacks.

    Quote Originally Posted by review000 View Post
    12288 IP's
    get from recent attack

    hope this will help us thanks :)
    I'm not sure if you need something that's robust, but if this is the case, you can host your Ran Server in HyperFilter Dedicated Servers and ask their team to set GPM+HPP for you, basically your server will be bullet proof against DDoS Attacks and the response time, will be very quick, due to HPP improvements in the game protocol and response time. Basically, you're task will be to maintain/administrate your game server, but in regards of networking, you won't have any more headaches. :)

  12. #12
    ‎‎‎‎ Ketchup is offline
    ModeratorRank
    Jan 2009 Join Date
    New YorkLocation
    2,847Posts

    Re: [GUIDE] How to do IP Filtering (White/Black Listing). To block DDOS attacks.

    For anyone looking for Import-Firewall-Blocklist.ps1 you can get it here:

  13. #13
    MR Explorer daplin2007 is offline
    MemberRank
    Oct 2009 Join Date
    /f444Location
    433Posts

    Re: [GUIDE] How to do IP Filtering (White/Black Listing). To block DDOS attacks.

    Does anyone have an Import-Firewall-Allowlist.ps1 script?

  14. #14
    Member tatsuya023 is offline
    MemberRank
    Mar 2020 Join Date
    88Posts

    Re: [GUIDE] How to do IP Filtering (White/Black Listing). To block DDOS attacks.

    up for this

  15. #15
    Proficient Member skysy125 is online now
    MemberRank
    Apr 2015 Join Date
    151Posts

    Re: [GUIDE] How to do IP Filtering (White/Black Listing). To block DDOS attacks.

    anyone can reupload this?



Page 1 of 2 12 LastLast

Advertisement