Comments (7)
Hello,
Would you mind explaining how this facilitates the setup with a docker container ? If I am not mistaken, you can create a network namespace that you can share across multiple container.
from wstunnel.
It's for situations where you can't/won't put wstunnel and nginx in the same network namespace.
A common example is a bastion host - you want the reverse proxy container to only have access to a public facing network, while wstunnel containers would only have access to an internal network.
from wstunnel.
I'd also like to have similar to ssh alternative below.
ssh -N -f -R /tmp/zp3ft5fmps6bd4gep7iv:127.0.0.1:80 user@host
from wstunnel.
This would also help in scenarios like chained proxies, where forwarding via unix sockets seems to have better performance than local network loopbacks.
from wstunnel.
Hello,
Would you mind trying this pre-release https://github.com/erebe/wstunnel/releases/tag/v9.1.0 and let me know if it works for you ?
You should be able to start wstunnel client and specify something like -L unix:///tmp//wstunnel.sock:127.0.0.1:80
Regarding wstunnel server supporting receiving packets from a unix socket, I am not sure whether I am going to do it, as it will require a bit too much code change to my taste to support it, and I am not sure if there is a real need for it. Will check and let you know
P.s: I still need to support unix datagram socket, but as everything related to udp, it is a pain to implement.
from wstunnel.
Hello @erebe
Thank you for adding Unix socket support. That works for me with reverse connection. I noticed it does not delete a socket file when connection is finished and unable to reuse the file again, so when you try -R unix:///tmp//wstunnel.sock:127.0.0.1:80 again, the server rejects connection.
from wstunnel.
indeed thanks for reporting, I have made the fix 🙈 b7dbd86
and have re-created the release 9.2.0, so if you re-download it, it should be good now.
from wstunnel.
Related Issues (20)
- test
- fsdfdsfdfsdf
- test HOT 1
- [Feature Request] Add Authentication Support for SOCKS Service in wstunnel Client HOT 12
- Auto-generate remote port HOT 1
- Need help to setup for android HOT 1
- Need help for android HOT 7
- Binding Apache with wstunnel server HOT 2
- Please increase version support for the Openwrt system platform in wstunnel. HOT 1
- I want to add static route in android HOT 4
- panic (core dumped) (version 9.7.3) HOT 5
- Verify the settings HOT 1
- How Add login/password support?? HOT 5
- How to use custom tls certificate private-key HOT 6
- Forward Traffic to Another HTTP Proxy HOT 8
- Forward Traffic to Another HTTP Proxy with Authentication Using wstunnel HOT 1
- Local to remote `tproxy+tcp` failed to do websocket handshake with the server HOT 5
- Under openwrt program do not run in background without nohup. HOT 1
- wstunnel::tunnel::server: error while decoding jwt for tunnel info Err(Error(InvalidToken)) header None HOT 1
- wstunnel::tunnel::server: error while decoding jwt for tunnel info Err(Error(InvalidToken)) header None HOT 3
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 wstunnel.