What is the difference between wireguard and wireguard (tcp)?
Wireguard usually uses UDP (Protocol) which is faster, but could be blocked, that’s why you can choose the TCP port too.
I’ll give you an analogy so you understand, not being condescending by any means. It’s a very good question and I’m sure other people wondering the same thing.
UDP: Think of it as a communication through a telephone call. You can utter words and while you are speaking if the person on the other end is also uttering words you’ll hear it and similarly they will also hear what you are saying while they are speaking.
STATELESS CONNECTION. THE NORM FOR VPN’S IS UDP WETHER IT’S WIREGUARD,OPNVPN,IPSEC… WHY? BECAUSE IT’S ALREADY ENCRYPTED. IMAGINE TALKING GIBBERISH ON THE PHONE… A PERSON LISTEN IN WILL NOT DECIPHER IT UNLESS THEY UNDERSTAND HOW TO SPEAK AND TRANSLATE THE LANGUAGE/GIBBERISH.
TCP: Have you ever use a walk-talki? I’m sure you’ve seen a movie with army dude using it.Person A: Talks and once they are done saying whatever they had to say, they say "OVER"Person B: Replies only and if only they hear "OVER"If both people talk at the same time, it won’t work .
UDP is faster since it doesnt need extra HEADER like TCP to say “OVER”
Is this an iPhone? I thought Proton removed the IKEv2 protocol? I don’t see it in Android anymore…
One thing to add: tunnelling TCP through TCP doesn’t always work well in some networks. Use UDP wireguard whenever possible. Performance be better with UDP.
Is Wireguard TCP better than OpenVPN UDP?
Is tcp more secure than udp?
Should be no difference, the hand shake system of WG is still the same.
Correction: TLS is a security protocol for communications, not a “secure version of TCP” as I erroneously said before. So the answer is no.
UDP is faster than TCP but doesn’t have error correction built in so there’s no guarantee that packets of data will arrive to their destination or in order.
UDP is faster but doesn’t have error correction built in so there’s no guarantee that packets of data will arrive to their destination or in order.
It’s a good thing that UDP isn’t reliable when used by a VPN protocol since using TCP would mean TCP over TCP which is a bad idea.
TLS is a secure version of TCP.
No, it’s not, it’s a specific encryption protocol. It could (probably) theoretically be run over UDP, given it relies on pretty standard pubkey crypto, but I don’t think anyone does, and it would be pretty unreliable.
Thank you, good to know!
Yup, you’re right. I’m dumb. Forgot about the TLS handshake, clearly I need to brush up a bit ![]()