[VPS] Country ban
-
- New to forums
- Posts: 2
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Thu Aug 20, 2015 6:51 pm
[VPS] Country ban
Hello i am new in this.. I want to do a country ban for example of EEUU or Russia, china etc.. all countryies tan doesnt speak spanish i dont know how to use well the NFO firewall to do this.. Can somewone helps me?
Re: [VPS] Country ban
This is not something I'd recommend you do as doing so could have serious performance impacts. You'll definitely want to stick to banning smaller subnets or malicious traffic only.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Re: [VPS] Country ban
Depending on the application(s) used, the overhead could be a lot less to just fetch the area(city, country, continent etc.) from a goeip database.
Inspecting every packet is the absolute worse way to implement something like this.
Inspecting every packet is the absolute worse way to implement something like this.
Last edited by stickz on Wed Sep 02, 2015 8:38 pm, edited 1 time in total.
Re: [VPS] Country ban
The only way I see that working is if you issue a drop rule for every IP(that sends you traffic) that matches a specified country, otherwise you just run into the same issue.stickz wrote:Depending on the application(s) used, the overhead could be a lot less to just fetch the country from a goeip database.
Inspecting every packet is the absolute worse way to implement something like this.
Not a NFO employee
Re: [VPS] Country ban
It depends on the application used. The point is doing something further down the line (localized) where every packet doesn't need inspected is proper.soja wrote:The only way I see that working is if you issue a drop rule for every IP(that sends you traffic) that matches a specified country, otherwise you just run into the same issue.stickz wrote:Depending on the application(s) used, the overhead could be a lot less to just fetch the country from a goeip database.
Inspecting every packet is the absolute worse way to implement something like this.
Webservers I would just map the locations and rewrite the url; whereas, gameservers just create a quick plugin to kick the client.