May 2, 2022 at 7:50 am #12231
I can’t get WireSock to work with my SOCKS5 proxy. The proxy itself is fine since I can use it for firefox without using a VPN. WireSock also works perfectly when removing the proxy setting in the config.
PrivateKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Address = 192.168.1.3/24
DNS = 22.214.171.124
PublicKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = 94.xxxxxxxxxxxxxxxx:443
Socks5Proxy = 127.0.0.1:7654
DisallowedIPs = 192.168.11.111/24
Terminal output: https://pastebin.com/iPJBJYLT
Please let me know if you need more information.May 2, 2022 at 7:56 am #12232
I start the proxy with this command: ssh -D 127.0.0.1:7654 email@example.com -p80May 2, 2022 at 10:13 am #12233
Unfortunately, the SOCKS5 proxy provided by the SSH client does not support UDP and you cannot use it to forward the handshake. You need to set up a SOCKS5 UDP-enabled proxy (Dante) on the remote machine to use this option.May 2, 2022 at 5:32 pm #12234
I’ve never heard of a Dante proxy before. Maybe it’s obvious that WireGuard would need a UDP-enabled proxy, but for me this is all pretty new. I don’t think it is mentioned anywhere in the installation guide so I suggest adding the requirement to help noobs like me in the future.
I’ll get starting on setting up Dante then.
Thanks for the help!May 4, 2022 at 7:18 am #12235
I have now set up a Dante server. Sadly, my WireSock still doesn’t work.
It seems like the dante server is working correctly since it says “authentication SUCCESS”, but I’m not sure how I can verify the correct installation on my windows client.May 4, 2022 at 11:30 am #12236
According to the wiresock log, the authentication and UDP ASSOCIATE commands succeeded, but the handshake packet did not reach its destination. Most likely, it was blocked by the firewall (iptables or VPS provider). Please check this post for configuration details. They are specific to the Oracle cloud, but should be close to any other VPS.May 4, 2022 at 12:58 pm #12237
My Dante server is running at home. I doubt they will block that IP address and not one from Oracle. Also, I tested WireSock on my 4g hotspot, which hasn’t blocked anything up until now.May 4, 2022 at 4:56 pm #12238
Check if you allowed configured UDP port range on Dante server machine, e.g. for 40000-45000 range it can be done by the command below:
iptables -I INPUT -p udp --dport 40000:45000 -j ACCEPTMay 5, 2022 at 4:55 am #12239
No, I did not know this was necessary. I used your command and restarted the server, but nothing changed sadly.May 6, 2022 at 12:51 pm #12240
I’m afraid something is wrong with your Dante server configuration. Unfortunately, it is difficult to guess and advise.May 8, 2022 at 5:16 pm #12242
I followed your guide to make a Dante server in Oracle Cloud. Good news! I managed to make WireSock work with the proxy. The bad news is that it only works on my 4G and not on the network on which I’m trying to get a VPN working. The output of my terminal stays similar to before on that network. I guess the firewall is too smart for this method to work.
I think OpenVPN supports full packet encapsulation through a proxy so I might try that.
Thanks for the help!
- You must be logged in to reply to this topic.