My university internet seems to block all incoming UDP connections. Because of this, wireguard, the only think I know how to set up, doesn’t work. I want to use a VPS I own as an exit node because I can’t pay for proper VPN services.
From looking online, I found a way to bypass this by using something called wstunnel: https://github.com/erebe/wstunnel
How it works is I have both wireguard and wstunnel running as services on the VPS. On my laptop I edited the wireguard conf file to target a locally running wstunnel. I bring wstunnel up using postup in the wg0.conf file and kill it in the postdown step. I got this information from a tutorial blog post. I am too stupid to understand all this myself.
This works. I can torrent and use nicotine+. But the problem is that this seems to put a limit on the internet speed.
I was wondering if there is a better setup for this. Anyone has any ideas?
The web is broken. Return to Gopherspace https://hackaday.com/2021/09/28/gopher-the-competing-standard-to-www-in-the-90s-is-still-worth-checking-out/
But the problem is that this seems to put a limit on the internet speed
Do you mean your university is setting this limit or is it a technical limit? You can maybe provide the blog you used to setup. As soon as you tunnel through an additional layer, speed will suffer in a way or another. Especially if TCP is involved.
I once used sslh, because some networks blocked XMPP ports. In the end I put nginx, ejabberd and openvpn behind sslh to make it usable. I mean at least TCP Port 443 is open.
Wireguard has AFAIK no TCP support. You can try openvpn. I once worked a lot with it, there was no wireguard. Its not hard, just take a little time, just use TCP. However TCP hast performance issues comparing to UDP in this usecase and there is nothing one can do.
The throttling is caused by using TCP. I read that UDP is more amenable to high transfer speeds which is why VPNs prefer to use it. Meanwhile TCP is slowed by its very nature. I don’t know how those protocols work but maybe by some magic there is a way to get good speeds over TCP? OpenVPN over TCP has the same issue.
Using TCP means to check if a packet was lost or not. You perform a handshake, you get an answer for from the server for every packet. There is a guarantee that your packet will reach the server, also in correct order and resend if fail. UDP is not like that. Its unreliable but faster. No guarantee that the packet will received, no care for correct order and no resend.
The only thing I have in mind bow is to use port 53 for wireguard. There is just the possibility that your university simply blocked all “unnecessary” ports and doesn’t check what actually is transmitted. Port 53 is DNS and uses UDP. It may go through. And check which other UDP ports are usable. TCP will be slower sadly, it lies down in the nature of it.
I see. So UDP is like Riggs and TCP is like Murtaugh.
I think I remember trying UDP 53 and it not working. But I could have messed up somewhere too so it’s worth trying again.
why don’t you run some model to inspect the network and better see exactly what’s being blocked?
Openvpn can be setup using TCP connections. Its more of a pain to set up than wire guard and I’ve not not done it in ages but it certainly less likely to be blocked.
I did come across this option. But from reading it seems to suffer from throttling just as the wstunnel approach does.
You could try this if you’re technical: https://m.youtube.com/watch?v=uFrelCp81xc&t=1082s
Some VPN’s also have stealth options against deep packet inspection, like Proton.
I found a YouTube link in your comment. Here are links to the same video on alternative frontends that protect your privacy:







