Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a windows machine at home and a server with debian installed. I want to tunnel the UDP traffic from one (any only this) program on my windows machine through my server.

For tcp traffic this was easy using putty as a socks5 proxy and then connecting via ssh to my server - but this does not seem to work for UDP. Then I setup dante as a socks5 proxy but it seems to create a new instance/thread per connection which leads to a huge ram usage for my server, so this was no option either.

So most people recommend openvpn, so my question: Can I use openvpn to just tunnel this one program through my server? Is there a way to maybe create a local socks5 proxy on my windows machine and set it as a proxy in my program and only this proxy then will use openvpn?

Thank you for your ideas

share|improve this question
add comment

1 Answer 1

Socks5 will not work for UDP packets. So you can setup an openvpn and just put everything through there. If you want something for just one program, you could try ctunnel.

share|improve this answer
    
How can I start a new line here? Every time I hit ENTER it saves my post? So I installed it on my server and my windows machine. On the client machine I entered ctunnel -H 199.x.x.x -c -l 802 -f 801 -C aes-256-cfb But what should happen now? There is nothing listening on port 802 on my pc afterwards. –  user136036 Sep 15 '12 at 18:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.