Block VPN Access/Users

Results 1 to 6 of 6
  1. #1
    Proficient Member SubDababa is offline
    MemberRank
    Jan 2014 Join Date
    191Posts

    Block VPN Access/Users

    Hi does anyone know how to block VPN users? So whoever is on VPN cant access the website/hotel.

    Thanks.


  2. #2
    www.Epic Hosts.co.uk Terrum is offline
    MemberRank
    Jun 2008 Join Date
    EpicHosts,co.ukLocation
    1,322Posts

    Re: Block VPN Access/Users

    You would need to get a list of VPN IPs from somewhere, such as Google, and then block them through your host's firewall. This is tricky though, as you can't physically block every proxy with a click of a button, you'd need to know the IP of every proxy to do such, and overall that would take a lot of time.

  3. #3
    Proficient Member SubDababa is offline
    MemberRank
    Jan 2014 Join Date
    191Posts

    Re: Block VPN Access/Users

    Quote Originally Posted by Terrum View Post
    You would need to get a list of VPN IPs from somewhere, such as Google, and then block them through your host's firewall. This is tricky though, as you can't physically block every proxy with a click of a button, you'd need to know the IP of every proxy to do such, and overall that would take a lot of time.
    Oh okay thanks, but cant I block the IPs using PHP? Or isnt that a good way to do it?
    Btw how do I know which IPs is VPN IPs? Is there a special number in it or something? Sorry I dont know much about such things.

    Thanks

  4. #4
    Account Upgraded | Title Enabled! Bozzie is offline
    MemberRank
    Aug 2011 Join Date
    ur mumLocation
    275Posts

    Re: Block VPN Access/Users

    Just ask google, from a simple search I managed to get a list of Hotspot shields vpn ip's.

    hotspot shield elite
    Australia 203.98.92.2 / 203.98.92.254
    United Kingdom 193.109.199.2 / 193.109.199.254
    United States (Pennsylvania) 209.107.208.2 /209.107.208.254
    United States (California) 68.68.99.2 / 68.68.99.254

    EDIT: but like Terrum said this would take along time to complete as there are many VPN's about, heres a list of Cyberghosts's IP's;

    79.141.167.9 Basel.cyberghostvpn.com
    79.141.166.7 Praha.cyberghostvpn.com
    84.19.169.166 Andromeda.cyberghostvpn.com
    84.19.169.162 Apus.cyberghostvpn.com
    84.19.165.210 Aquila.cyberghostvpn.com
    217.114.211.242 Ara.cyberghostvpn.com
    84.19.169.164 Auriga.cyberghostvpn.com
    95.141.28.53 Bremen.cyberghostvpn.com
    84.19.165.216 Camelopardalis.cyberghostvpn.com
    217.114.211.243 Cancer.cyberghostvpn.com
    84.19.165.213 Carina.cyberghostvpn.com
    84.19.169.233 Cassiopeia.cyberghostvpn.com
    84.19.165.220 Cetus.cyberghostvpn.com
    84.19.165.219 Corvus.cyberghostvpn.com
    84.19.169.226 Draco.cyberghostvpn.com
    84.19.165.211 Eridanus.cyberghostvpn.com
    84.19.169.169 Fornax.cyberghostvpn.com
    84.19.169.234 Gallus.cyberghostvpn.com
    84.19.169.165 Gemini.cyberghostvpn.com
    84.19.165.221 Grus.cyberghostvpn.com
    95.141.28.51 Hamburg.cyberghostvpn.com
    84.19.169.235 Horologium.cyberghostvpn.com
    84.19.169.173 Hydra.cyberghostvpn.com
    84.19.165.217 Indus.cyberghostvpn.com
    95.141.28.55 Kiel.cyberghostvpn.com
    84.19.169.228 Lacerta.cyberghostvpn.com
    84.19.169.172 Leo.cyberghostvpn.com
    217.114.211.244 Libra.cyberghostvpn.com
    84.19.169.170 Lupus.cyberghostvpn.com
    84.19.165.218 Lynx.cyberghostvpn.com
    217.114.211.245 Musca.cyberghostvpn.com
    84.19.165.222 Norma.cyberghostvpn.com
    84.19.169.237 Pavo.cyberghostvpn.com
    84.19.169.229 Phoenix.cyberghostvpn.com
    84.19.165.215 Pisces.cyberghostvpn.com
    95.141.28.57 Rostock.cyberghostvpn.com
    84.19.169.167 Sculptor.cyberghostvpn.com
    84.19.169.174 Taurus.cyberghostvpn.com
    84.19.169.238 Tigris.cyberghostvpn.com
    84.19.169.171 Virgo.cyberghostvpn.com
    84.19.165.212 Vulpecula.cyberghostvpn.com
    79.141.165.21 Kobenhavn.cyberghostvpn.com
    95.141.26.2 Madrid.cyberghostvpn.com
    79.141.172.14 Helsinki.cyberghostvpn.com
    79.141.163.5 Paris.cyberghostvpn.com
    79.141.162.7 Dublin.cyberghostvpn.com
    95.141.31.2 Milano.cyberghostvpn.com
    79.141.173.22 Amsterdam.cyberghostvpn.com
    79.141.164.5 Oslo.cyberghostvpn.com
    79.141.160.21 Warszawa.cyberghostvpn.com
    93.114.44.113 Brasov.cyberghostvpn.com
    93.114.43.204 Bukarest.cyberghostvpn.com
    93.114.44.87 Sibiu.cyberghostvpn.com
    93.114.44.66 Timisoara.cyberghostvpn.com
    79.141.170.3 Stockholm.cyberghostvpn.com
    95.141.27.5 Kiev.cyberghostvpn.com
    67.221.255.33 Buchanan.cyberghostvpn.com
    67.221.255.15 Fillmore.cyberghostvpn.com
    67.221.255.11 Harrison.cyberghostvpn.com
    67.221.255.16 Pierce.cyberghostvpn.com
    67.221.255.13 Polk.cyberghostvpn.com
    67.221.255.17 Taylor.cyberghostvpn.com
    67.221.255.12 Tyler.cyberghostvpn.com
    79.141.161.8 London.cyberghostvpn.com

  5. #5
    www.Epic Hosts.co.uk Terrum is offline
    MemberRank
    Jun 2008 Join Date
    EpicHosts,co.ukLocation
    1,322Posts

    Re: Block VPN Access/Users

    Quote Originally Posted by SubDababa View Post
    Oh okay thanks, but cant I block the IPs using PHP? Or isnt that a good way to do it?
    Btw how do I know which IPs is VPN IPs? Is there a special number in it or something? Sorry I dont know much about such things.

    Thanks
    You can do it through PHP if you want, but it would be better doing it through the firewall so they have no way of bypassing and they have absolute lockout of the host when blocked through the firewall.

    Blocking IPs through firewall: http://www.studyblog.net/2011/10/blo...dows-firewall/
    Blocking IPs with PHP: http://www.blackdog.ie/blog/blocking...nges-with-php/

  6. #6
    Proficient Member SubDababa is offline
    MemberRank
    Jan 2014 Join Date
    191Posts

    Re: Block VPN Access/Users

    Thanks for the help guys!



Advertisement