Block VPNs on DDWRT

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Author Message
kk2020
DD-WRT Novice


Joined: 31 Mar 2019
Posts: 1

PostPosted: Sun Mar 31, 2019 21:23    Post subject: Block VPNs on DDWRT Reply with quote
Hi,

To start off I'd like to say I'm a beginner when it comes to networking on DDWRT so please bear with me.

I have a wrt1900acs v2 running DDWRT with openDNS setup (Forced DNS Redirection enabled) in addition to Encrypt DNS through Cisco however I noticed that using Hotspot shield all of these precautions can be avoided. Is there anyway to block the use of vpns/proxies on ddwrt?

Thanks in advance
Sponsor
aaronburro
DD-WRT Novice


Joined: 12 Nov 2018
Posts: 38

PostPosted: Thu Apr 11, 2019 5:01    Post subject: Reply with quote
I'm not completely sure what your setup is, but it sounds like you are setting a wireless AP for people to connect to. From that, I think you are asking if it's possible to block the people who connect to your AP from using their own VPNs or web proxies.

For VPNs, the answer is frankly "no." You could block commonly used VPN ports (e.g., 1194 for OpenVPN), but nothing stops users from changing to another port. A common tactic to avoid VPN blocking is to use port 443, which happens to be the default port for https traffic. You can't reasonably block that port, because you will render basically all websites inoperable, making your AP useless. You would have to do packet inspection on 443 to detect VPN connection attempts, and that's not really feasible from DD-WRT. I suspect even those connection attempts are encrypted, so you really wouldn't even be able to do packet inspection.

I'm not familiar with web proxies, but I suspect the answer is the same.

Motivated users will find ways around your attempts to block VPNs and proxies via DD-WRT. Your best bet is just to implement QoS restrictions to prevent abusive users from using too much bandwidth. I recommend following this guide to get a basic setup going. That, or Hotspot shield (whatever that is) will stop casual users from doing whatever you don't want them doing.

I would also suggest you turn on AP Isolation, to prevent wireless clients from being able to communicate with each other. However, be warned that AP Isolation ONLY works for clients on the same wireless interface (or VAP). If you have, for instance, a 2.4GHz interface (e.g., wl0) and a 5GHz (e.g., wl1) interface, under normal setups, clients on wl0 will be able to see clients on wl1 and vice versa. There are workarounds for this, some better than others.

Also, if you have SSH and/or telnet enabled, you will also 100% want to block SSH and/or telnet access to the router from your wireless clients.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum