Lightweight Onion Router (LOR) is a minimalist proxy chain structure that routes your HTTP traffic through multiple proxy servers. This project was built using Go and provides a simple setup to get you started.
Ensure you have Go installed on your machine. You can download it from the official Go website.
Clone this repository to your local machine:
git clone https://github.com/Menesay/LOR.git
cd LOR
Open the source code and configure the IP addresses and ports for the LOR servers. The default configuration is as follows:
Server | IP Address | Host Port | Proxy Port |
---|---|---|---|
lor-0 | 127.0.0.10 | 1400 | 1401 |
lor-1 | 127.0.0.20 | 1400 | 1401 |
lor-2 | 127.0.0.30 | 1400 | 1401 |
Compile the source code for each server using the following commands:
go build lor-0.go
go build lor-1.go
go build lor-2.go
Due to the network structure, the servers must be started in reverse order:
-
First, run
lor-2
:./lor-2
-
Then, run
lor-1
:./lor-1
-
Finally, run
lor-0
:./lor-0
To connect to the LOR network, follow these steps:
-
Open a terminal and use
nc
(netcat) to connect tolor-0
:nc 127.0.0.10 1400
-
Send the hostname:
menesay.duckdns.org
-
Send the port number:
80
Wait for a moment, and the HTTP proxy will be running at 127.0.0.10:1401
.
- Make sure your firewall settings allow connections on the specified IP addresses and ports.
- The order of operations is crucial for the proxychain to function correctly.
- For any issues or contributions, feel free to open a pull request or raise an issue on the GitHub repository.
Enjoy with Lightweight Onion Router!
Feel free to reach out if you have any questions or need further assistance.
Happy browsing! 🚀