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?
Ban VPN-Gate IPs on my server
-
- Posts: 202
- Joined: Wed Jul 10, 2013 2:07 pm
Re: Ban VPN-Gate IPs on my server
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
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
-
- Posts: 3
- Joined: Mon Dec 21, 2015 7:18 am
Re: Ban VPN-Gate IPs on my server
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?
> 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?
-
- Site Admin
- Posts: 2274
- Joined: Sat Mar 09, 2013 5:37 am
Re: Ban VPN-Gate IPs on my server
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.
Anyway VPN Gate is designed to avoid censorship.
Of course, the way to acquire a whole list of servers isn't provided.