toxvpn icon indicating copy to clipboard operation
toxvpn copied to clipboard

add usage document

Open zoff99 opened this issue 2 years ago • 3 comments

can you add instructions how to actually setup a VPN and the use it with an application like a browser please?

zoff99 avatar Sep 07 '23 07:09 zoff99

If you want to use toxvpn in the modern commercial sense (not the classic one - simply connecting two computers to a network), i.e. accessing the internet through another computer, you can use a gost proxy, for example (not vpn, unfortunately, just a proxy, but it can be even more convenient). Put in /usr/local/bin/gost

Just run gost on the server machine: gost -L=10.0.0.100:8080 or gost -L=0.0.0.0:8080 0.0.0.0.0 means any interface.

and specify the socks5 or http proxy in the client browser. IP address of the server machine (10.0.0.100).

If you want to know how to use toxvpn in general, there are instructions on github. After compilation on both computers, run it: sudo toxvpn -i 10.0.0.100

IP addresses are the local addresses of the computer, they must be different, however. Then after the connection is established (takes a few minutes, will be reported) type help, directly in the terminal, yeah. You need to add a friend by ID and confirm it. Make sure your friend is online with the list command. Keep in mind that the UDP protocol is used and additional traffic is consumed.

artenax avatar Apr 26 '24 13:04 artenax

toxvpn connects two computers to a network. It is up to you to choose which services to use (you must configure them yourself). samba, web, ftp, proxies, printers. As in a local network. Each computer has its own local IP.

However, vpn for Internet access will not be easy to configure, because you must set exceptions for the IP relays to which tox connects when creating a default remote gateway, so use a local proxy instead.

artenax avatar Apr 26 '24 13:04 artenax

You can also use tuntox.

artenax avatar May 12 '24 14:05 artenax