Comments (5)
Related to #16
from wireproxy.
On further consideration, I think this is out of scope for the project. Such features are better left to other programs that manage wireproxy (e.g. systemd / runit or other init systems).
If someone thinks this would be an essential feature, feel free to comment or reopen the issue.
from wireproxy.
On further consideration, I think this is out of scope for the project. Such features are better left to other programs that manage wireproxy (e.g. systemd / runit or other init systems).
If someone thinks this would be an essential feature, feel free to comment or reopen the issue.
Agree. Now my systemd file is
[Unit]
Description=WireProxy for WARP
After=network.target
Documentation=https://github.com/fscarmen/warp
Documentation=https://github.com/octeep/wireproxy
[Service]
ExecStart=/usr/bin/wireproxy /etc/wireguard/proxy.conf
RemainAfterExit=yes
Restart=always
[Install]
WantedBy=multi-user.target
Turn of: systemctl statrt wireproxy
Turn off: systemctl stop wireproxy
Daemon:systemctl enable --now wireproxy
Disable:systemctl disable --now wireproxy
from wireproxy.
On further consideration, I think wireguard-tools have open and close options. wg-quick up and down. So WireProxy can pass parameter to switch on off should be better. Finish himself.
from wireproxy.
On further consideration, I think wireguard-tools have open and close options. wg-quick up and down. So WireProxy can pass parameter to switch on off should be better. Finish himself.
True, but I don't think we can easily implement this feature like wg-quick. wg-quick assumes you have root access and only one instance of wireguard running on your computer. Wireproxy can have multiple different instances running, each belonging to a different user. We can implement this feature by making pidfiles and keeping track of running wireproxy instances in a directory, but then we are reinventing init systems.
For this reason I don't think it is suitable to implement this feature. Multiple wireproxy instances can be achieved by having different systemd services. This responsibility shouldn't be handled by wireproxy.
from wireproxy.
Related Issues (20)
- Support for AmneziaWG protocol HOT 1
- `suah.dev/protect` no-op under Linux? HOT 2
- Secure wireproxy with landlock
- please add feature to restart or stop own process HOT 3
- Add support of DynDNS IP address refresh HOT 1
- /etc/localtime open: no such file or directory HOT 4
- HTTPS traffic not working?
- FR: Tag ghcr.io images for their release versions
- open /dev/null: permission denied HOT 2
- wireguard本身能通过代理连接吗
- Health metrics port extraction issue --info/-i
- Garbage data when using SOCKS 5 proxy to IPv6
- Default configuration location HOT 2
- curl: (56) Recv failure: Connection reset by peer when running on Docker HOT 1
- Using wireproxy to share a wireguard VPN connection with multiple local peers HOT 2
- Not workiing anymore? HOT 1
- ERR_CONNECTION_CLOSED on Chrome with SOCKS5 and HTTP HOT 1
- race / crash in CheckAlive HOT 1
- extend /metrics HOT 1
- When server closes connection, connection hangs on client (between two wireproxy)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wireproxy.