SA-MP Forums Archive
VPN / Proxy - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: VPN / Proxy (/showthread.php?tid=577298)



VPN / Proxy - Prokill911 - 10.06.2015

Anyone know if there's a way to block people using a VPN Or a Proxy...

So if PlayerX Is using a VPN Or Proxy -- The server doesn't let them connect..

Example

OnPlayerConnect(playerid) {

If they have a proxy or vpn
It kicks them


Re: VPN / Proxy - Alex Magaсa - 10.06.2015

The best way for me to ban a VPN IP is to ban them all the time they are joining.
Just collect all the VPN IPs they are joining with and then RCON-BAN their IPs.
About proxy i dont think you can block Proxies.


Re: VPN / Proxy - Prokill911 - 10.06.2015

Yea, I keep banning the same person over n over n over n over n over...
It just gets tiresom


Re: VPN / Proxy - Ghazal - 10.06.2015

Check this maybe https://sampforum.blast.hk/showthread.php?tid=508330


Re: VPN / Proxy - Vince - 10.06.2015

Use a GeoIP database. I use GeoLite from MaxMind (imported into MySQL). It contains CIDR IP ranges and their associated country. You can just outright ban any IP with country code 'A1', which stands for Anonymous Proxy. Some, but by no means all, VPN services also fall into this category. The ones that aren't in A1 will need to be manually blocked. You can use the CIDR range thread that's sticked in the Server Support section as a guideline.


Re: VPN / Proxy - Prokill911 - 10.06.2015

Quote:
Originally Posted by Slotomic
Посмотреть сообщение
Already got this in a filterscript.

Dont even know if it works at blocking Hotspot shield lol