Open zoff99 opened 10 months ago
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.
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.
can you add instructions how to actually setup a VPN and the use it with an application like a browser please?