henryhwang / badvpn

Automatically exported from code.google.com/p/badvpn
Other
0 stars 0 forks source link

Where does the badvpn-udpgw process run at ? #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

What version of the product are you using? On what operating system?
Windows 

Please provide any additional information below.

Hello, I use badvpn-tun2socks.exe on windows xp(computer A) and a plink.exe as 
socks client, install openssh and run sshd on centos (computer B), where dose I 
run the badvpn-udpgw at ? I want to all TCP and DNS traffic pass through the 
sshd using tun2socks, how can I have the [remote DNS resolve] function like 
Proxifier program?

Original issue reported on code.google.com by pod...@gmail.com on 12 Apr 2013 at 9:42

GoogleCodeExporter commented 9 years ago
The wiki page explains everything. In the section titled "Example (tunnelling 
through SSH)" there are complete instructions for getting TCP transparently 
routed through the SOCKS, but not UDP (DNS) - you will have to use a DNS server 
directly. The "UDP forwarding" section explains how to get UDP routed through 
the SSH server. It clearly states that it "requires a daemon, badvpn-udpgw to 
run on the remote SSH server". If you set that up, UDP will be proxied too, but 
you still have to set the DNS server addresses right on your client (for 
example, to the same DNS that the remote SSH server uses).

Original comment by ambr...@gmail.com on 12 Apr 2013 at 11:49