Hello, I am having trouble obfuscating a VPN connection.
Problem is, that on a certain country the VPN is impossible to access. Currently running on port 1194 and UDP, I would like to avoid changing these settings as It would upset a lot of people. So after a small research I encountered obfsproxy[1] and with some experiments, I got to some conclusions/problems that are not described on the wiki. Obfsproxy only seems to support SOCKSv4 and OpenVPN only does SOCKSv5 please correct me if I am wrong on this one. So I used the client method like so: ``` obfsproxy --log-file=obfsproxy.log --log-min-severity=debug obfs3 --dest=myobfs-server-ip:80 client 0.0.0.0:80 ``` The server side is the same but pointing to the port 1194, but the problem is that obfsproxy sends the traffic trough TCP instead of UDP like its on the OpenVPN client configuration. So I quiqly tried yet another small hack. ``` socat TCP-LISTEN:1194 UDP:<ipvpnserver>:1194 ``` And the packet gets there, but: ``` 1 0.000000 172.31.37.18 -> 172.31.9.199 OpenVPN 45 MessageType: Unknown Messagetype[Malformed Packet] ``` And then socat immediately exits. The OpenVPN client says: ``` Thu Jan 8 15:57:31 2015 socks_handshake: TCP port read timeout expired: Operation now in progress (errno=115) ``` The Malformed packed goes attached. Any Ideas on how can I translate the TCP to UDP so the OpenVPN server does need to be modified to TCP ? Another approach to the problem that does not cause breaking changes to the server are welcome too. Thanks in advance, [1] https://community.openvpn.net/openvpn/wiki/TrafficObfuscation -- Regards, Alfredo Palhares
Malformed-VPN.pcapng
Description: Binary data
------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users