mirror of
https://github.com/masterking32/MasterHttpRelayVPN.git
synced 2026-05-17 21:24:37 +03:00
Add comprehensive documentation for MasterHttpRelayVPN
- Introduced ARCHITECTURE.md to outline the system architecture and flow. - Created CONFIGURATION.md detailing configuration options and their meanings. - Added DOCKER.md for Docker setup instructions and usage. - Developed GETTING_STARTED.md to guide users through initial setup and usage. - Included LAN_SHARING.md to explain how to enable LAN sharing for the proxy. - Established SECURITY.md to highlight security practices and responsibilities. - Compiled TROUBLESHOOTING.md to assist users in resolving common issues. - Translated documentation into Persian, including ARCHITECTURE.md and CONFIGURATION.md.
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
# LAN Sharing
|
||||
|
||||
By default, MasterHttpRelayVPN listens only on `127.0.0.1`, so only the same computer can use it. LAN sharing lets phones, tablets, or other computers on your local network use your proxy.
|
||||
|
||||
## When To Use It
|
||||
|
||||
Use LAN sharing only on a trusted private network. Anyone who can reach the proxy can send traffic through it.
|
||||
|
||||
## Enable LAN Sharing
|
||||
|
||||
Set this in `config.json`:
|
||||
|
||||
```json
|
||||
{
|
||||
"lan_sharing": true,
|
||||
"listen_host": "0.0.0.0",
|
||||
"http_port": 8085
|
||||
}
|
||||
```
|
||||
|
||||
Restart the proxy. The startup log prints LAN addresses other devices can use.
|
||||
|
||||
## Configure Other Devices
|
||||
|
||||
On the other device, set the HTTP proxy to:
|
||||
|
||||
| Field | Value |
|
||||
|-------|-------|
|
||||
| Address | Your computer's LAN IP from the startup log |
|
||||
| Port | `8085` |
|
||||
| Type | HTTP |
|
||||
|
||||
If the other device browses HTTPS websites, it also needs to trust the CA certificate from `ca/ca.crt`.
|
||||
|
||||
## Safety Checklist
|
||||
|
||||
- Use this only on networks you trust.
|
||||
- Turn it off when you do not need it.
|
||||
- Keep `auth_key` private.
|
||||
- Never share the `ca/` folder.
|
||||
- Prefer `127.0.0.1` for normal single-computer use.
|
||||
Reference in New Issue
Block a user