is it possible to add whitelist ip by country?

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
scarmi
New to forums
New to forums
Posts: 1
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sun Mar 08, 2015 6:15 am

is it possible to add whitelist ip by country?

Post by scarmi »

currently one of my players is blocked even though i already stop iptables.
He cant ping my vds ip.
Is there a way to add whitelist by country?
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: is it possible to add whitelist ip by country?

Post by soja »

Have your friend run a MTR to see where his packets are being dropped. This KB post explains how to run one: http://www.nfoservers.com/forums/viewto ... 72&p=18540

Also make sure you don't have anything in your "Firewall" tab on your control panel that would block him. This is independent from iptables in your OS.

It is very unlikely a player is being blocked on NFO's end, so making a whitelist wouldn't really help.
Not a NFO employee
User avatar
rymax99
This is my homepage
This is my homepage
Posts: 143
Joined: Sun Feb 02, 2014 2:08 pm
Location: Florida
Contact:

Re: is it possible to add whitelist ip by country?

Post by rymax99 »

By default, iptables does nothing, so unless you, or a script added rules, iptables shouldn't be doing anything. You can verify there are no rules and that the default policy is to accept via 'iptables -L'.
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: is it possible to add whitelist ip by country?

Post by soja »

rymax99 wrote:By default, iptables does nothing, so unless you, or a script added rules, iptables shouldn't be doing anything. You can verify there are no rules and that the default policy is to accept via 'iptables -L'.
In CentOS iptables does block things by default. It wouldn't block some IPs and not others though, like the OP is describing.
Not a NFO employee
Post Reply