Page 1 of 1

Ban VPN-Gate IPs on my server

Posted: Mon Dec 21, 2015 7:22 am
by agazerboy
I have a chat-server. Many users spam on chat-rooms. To block bad users I blocked many networks such as "TOR" nodes. TOR is pretty good at explaining how to block its IPs.

Many "bad" users now are using "VPN Gate" to change their IPs. I didn't find any valid information how to block VPN Gate network or IPs. Is there a way to ban "VPN Gate" IPs on my server?

One way I can think of is to parse their webpage (http://www.vpngate.net/en/volunteer_servers.aspx) of ips, extract all the IPs and ban them on my chat-server. However, these are all volunteer IPs so everyday there would be new IPs be added. If I parse your pages using cronjob, you might block my server IP for many requests.

Is there any CSV file or XML file with all volunteer servers' IPs? So, I can put all those IPs in ban list?

Re: Ban VPN-Gate IPs on my server

Posted: Mon Dec 21, 2015 9:08 am
by qupfer
http://www.vpngate.net/api/iphone/

Edit: a quick and (very) dirty python-script for extracting the IPs.
It create a "ips.txt" file, just containing the IPs (one per line)
http://pastebin.com/j0qckVHj

Re: Ban VPN-Gate IPs on my server

Posted: Mon Dec 21, 2015 4:51 pm
by agazerboy
qupfer wrote:
> http://www.vpngate.net/api/iphone/
>
> Edit: a quick and (very) dirty python-script for extracting the IPs.
> It create a "ips.txt" file, just containing the IPs (one per
> line)
> http://pastebin.com/j0qckVHj

qupfer, thanks. However, this list does not contain all the active servers' IP list. This is dynamic list generated by VPN gate. The link, I provided in the question contains all the ips list. Any other idea? Solution?

Re: Ban VPN-Gate IPs on my server

Posted: Thu Dec 24, 2015 9:51 pm
by agazerboy
any help?

Re: Ban VPN-Gate IPs on my server

Posted: Thu Jan 07, 2016 8:23 am
by cedar
This board is not for discussing about VPN Gate.

Anyway VPN Gate is designed to avoid censorship.
Of course, the way to acquire a whole list of servers isn't provided.