Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Premium Land with House for Sale
anil1961
Updated:
Friday at 10:15 AM
AWS Certified Solutions Architect-Associate + AWS Certified Cloud Practitioner
Sanjeewani95
Updated:
Wednesday at 8:16 PM
🚀 එක පැකේජ් එකයි - මාසෙටම Unlimited Internet! 🌐
sayuru bandara
Updated:
Tuesday at 10:57 AM
🎬 CapCut Pro 1 Month Access! LKR 600
sayuru bandara
Updated:
Tuesday at 10:55 AM
🚀 Google One AI PRO Plan (Gemini Pro Activation) – 18 Months Access! LKR 2200
sayuru bandara
Updated:
Tuesday at 10:53 AM
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
IP Block දානවා කියන්නෙ මොකද්ද මචෝ?
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Al Baik" data-source="post: 28549288" data-attributes="member: 326965"><p><span style="font-size: 22px">Here are some examples of how to implement an IP block for different situations:</span></p><p></p><ol> <li data-xf-list-type="ol"><span style="font-size: 22px">Router and firewall IP block:</span></li> </ol> <ul> <li data-xf-list-type="ul"><span style="font-size: 22px">Log in to your router or firewall's management interface</span></li> <li data-xf-list-type="ul"><span style="font-size: 22px">Navigate to the "Firewall" or "Access Control" settings</span></li> <li data-xf-list-type="ul"><span style="font-size: 22px">Find the option to add a new rule or access control list (ACL)</span></li> <li data-xf-list-type="ul"><span style="font-size: 22px">Enter the IP address or range of addresses that you want to block</span></li> <li data-xf-list-type="ul"><span style="font-size: 22px">Apply the rule or ACL</span></li> </ul> <ol> <li data-xf-list-type="ol"><span style="font-size: 22px">Website IP block using .htaccess:</span></li> </ol> <ul> <li data-xf-list-type="ul"><span style="font-size: 22px">Locate the .htaccess file in the root directory of your website</span></li> <li data-xf-list-type="ul"><span style="font-size: 22px">Add the following code:<br /> <br /> [ICODE] order allow,deny<br /> deny from [IP address or range]<br /> allow from all[/ICODE]</span></li> </ul><p></p><ul> <li data-xf-list-type="ul"><span style="font-size: 22px">Replace [IP address or range] with the IP address or range of addresses that you want to block</span></li> <li data-xf-list-type="ul"><span style="font-size: 22px">Save the changes to the .htaccess file</span></li> </ul> <ol> <li data-xf-list-type="ol"><span style="font-size: 22px">IP block using a WAF:</span></li> </ol> <ul> <li data-xf-list-type="ul"><span style="font-size: 22px">Log into the management interface of your web application firewall</span></li> <li data-xf-list-type="ul"><span style="font-size: 22px">Navigate to the rules or ACL settings</span></li> <li data-xf-list-type="ul"><span style="font-size: 22px">Create a new rule to block the specific IP address or range of addresses</span></li> <li data-xf-list-type="ul"><span style="font-size: 22px">Apply the rule</span></li> </ul> <ol> <li data-xf-list-type="ol"><span style="font-size: 22px">IP block using cloud-based security services:</span></li> </ol> <ul> <li data-xf-list-type="ul"><span style="font-size: 22px">AWS:</span><ul> <li data-xf-list-type="ul"><span style="font-size: 22px">Go to the Security Group in the AWS Management Console</span></li> <li data-xf-list-type="ul"><span style="font-size: 22px">Select the security group that you want to edit</span></li> <li data-xf-list-type="ul"><span style="font-size: 22px">In the Inbound rules section, choose Edit</span></li> <li data-xf-list-type="ul"><span style="font-size: 22px">Click on Add Rule</span></li> <li data-xf-list-type="ul"><span style="font-size: 22px">Choose the type of traffic you want to block (e.g. HTTP, HTTPS, etc.)</span></li> <li data-xf-list-type="ul"><span style="font-size: 22px">In the source field, enter the IP address or range of addresses that you want to block</span></li> <li data-xf-list-type="ul"><span style="font-size: 22px">Save the changes</span></li> </ul></li> </ul><p></p><ul> <li data-xf-list-type="ul"><ul> <li data-xf-list-type="ul"><span style="font-size: 22px">Azure:</span><ul> <li data-xf-list-type="ul"><span style="font-size: 22px">Go to Azure Firewall in Azure portal</span></li> <li data-xf-list-type="ul"><span style="font-size: 22px">Choose Firewall rules</span></li> <li data-xf-list-type="ul"><span style="font-size: 22px">Click on Add</span></li> <li data-xf-list-type="ul"><span style="font-size: 22px">Select "Deny" as the action</span></li> <li data-xf-list-type="ul"><span style="font-size: 22px">In the "Source IP address" field, enter the IP address or range of addresses that you want to block</span></li> <li data-xf-list-type="ul"><span style="font-size: 22px">Save the changes<br /> <br /> <br /> <br /> It's important to remember that IP blocking can have unintended consequences and should be tested before implementing on a production environment.<br /> <br /> <br /> <br /> Source: Chat-GPT</span></li> </ul></li> </ul></li> </ul></blockquote><p></p>
[QUOTE="Al Baik, post: 28549288, member: 326965"] [SIZE=6]Here are some examples of how to implement an IP block for different situations:[/SIZE] [LIST=1] [*][SIZE=6]Router and firewall IP block:[/SIZE] [/LIST] [LIST] [*][SIZE=6]Log in to your router or firewall's management interface[/SIZE] [*][SIZE=6]Navigate to the "Firewall" or "Access Control" settings[/SIZE] [*][SIZE=6]Find the option to add a new rule or access control list (ACL)[/SIZE] [*][SIZE=6]Enter the IP address or range of addresses that you want to block[/SIZE] [*][SIZE=6]Apply the rule or ACL[/SIZE] [/LIST] [LIST=1] [*][SIZE=6]Website IP block using .htaccess:[/SIZE] [/LIST] [LIST] [*][SIZE=6]Locate the .htaccess file in the root directory of your website[/SIZE] [*][SIZE=6]Add the following code: [ICODE] order allow,deny deny from [IP address or range] allow from all[/ICODE][/SIZE] [/LIST] [LIST] [*][SIZE=6]Replace [IP address or range] with the IP address or range of addresses that you want to block[/SIZE] [*][SIZE=6]Save the changes to the .htaccess file[/SIZE] [/LIST] [LIST=1] [*][SIZE=6]IP block using a WAF:[/SIZE] [/LIST] [LIST] [*][SIZE=6]Log into the management interface of your web application firewall[/SIZE] [*][SIZE=6]Navigate to the rules or ACL settings[/SIZE] [*][SIZE=6]Create a new rule to block the specific IP address or range of addresses[/SIZE] [*][SIZE=6]Apply the rule[/SIZE] [/LIST] [LIST=1] [*][SIZE=6]IP block using cloud-based security services:[/SIZE] [/LIST] [LIST] [*][SIZE=6]AWS:[/SIZE] [LIST] [*][SIZE=6]Go to the Security Group in the AWS Management Console[/SIZE] [*][SIZE=6]Select the security group that you want to edit[/SIZE] [*][SIZE=6]In the Inbound rules section, choose Edit[/SIZE] [*][SIZE=6]Click on Add Rule[/SIZE] [*][SIZE=6]Choose the type of traffic you want to block (e.g. HTTP, HTTPS, etc.)[/SIZE] [*][SIZE=6]In the source field, enter the IP address or range of addresses that you want to block[/SIZE] [*][SIZE=6]Save the changes[/SIZE] [/LIST] [/LIST] [LIST] [*] [LIST] [*][SIZE=6]Azure:[/SIZE] [LIST] [*][SIZE=6]Go to Azure Firewall in Azure portal[/SIZE] [*][SIZE=6]Choose Firewall rules[/SIZE] [*][SIZE=6]Click on Add[/SIZE] [*][SIZE=6]Select "Deny" as the action[/SIZE] [*][SIZE=6]In the "Source IP address" field, enter the IP address or range of addresses that you want to block[/SIZE] [*][SIZE=6]Save the changes It's important to remember that IP blocking can have unintended consequences and should be tested before implementing on a production environment. Source: Chat-GPT[/SIZE] [/LIST] [/LIST] [/LIST] [/QUOTE]
Insert quotes…
Verification
Dahaya deken beduwama keeyada?
Post reply
Top
Bottom