Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add usage document #45

Open
zoff99 opened this issue Sep 7, 2023 · 3 comments
Open

add usage document #45

zoff99 opened this issue Sep 7, 2023 · 3 comments

Comments

@zoff99
Copy link

zoff99 commented Sep 7, 2023

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

@artenax
Copy link

artenax commented Apr 26, 2024

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
Copy link

artenax commented Apr 26, 2024

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
Copy link

artenax commented May 12, 2024

You can also use tuntox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants