ssh-punchhole
proxy.py
ssh-punchhole | proxy.py | |
---|---|---|
8 | 5 | |
42 | 2,862 | |
- | - | |
5.1 | 6.8 | |
about 1 month ago | 11 days ago | |
Smarty | Python | |
The Unlicense | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ssh-punchhole
-
One mysql as central database or each stack have their own database
At home, just a bunch of AlmaLinux VMs with K3s, using MetalLB for LoadBalancerIPs in my LAN and ssh-punchhole to forward ports from an externally hosted VPS to my local ingress-nginx and other things, so my stuff is externally available.
-
Is it safe to use Cloudflare tunnels with a matrix home server?
Get yourself a cheap VPS and then try something like https://github.com/TamCore/ssh-punchhole (which i hacked together, because everything else just looked too bloated for my taste). That way you can host everything at home and don't have to forward any ports, as the tunnel is established from within your network :)
-
Accessing Server without portforwarding
I've published my setup for that case as a container image: https://github.com/TamCore/ssh-punchhole.
-
Do you use cloudflare tunnel?
I've published my setup on Github: https://github.com/TamCore/ssh-punchhole Even if you don't use Docker, you could still basically use the script as standalone. I just wanted to have everything neatly packaged :)
-
Wanting to switch over from cloudflare tunnels
I use a VPS as my public endpoint, but the tunnel is established from my network, as it's based on reverse SSH port forwarding. So no port forwarding in my router required and would even work with CGNAT and whatsoever. Sample configs I've published under https://github.com/TamCore/ssh-punchhole
-
bitwarden selfhosted security
If you don't want to mess around with port forwarding, I'd recommend just getting a cheap VPS somewhere close to you, and hosting Traefik and something like my ssh-punchhole (see https://github.com/TamCore/ssh-punchhole) for tunneling inbound traffic to your service.
-
VPN replacement: Cloudflare Tunnel. I've created an article (my first ever) with instructions on how to configure cloudflared with docker-compose (Raspberry Pi, ARM7 arch) to get rid of VPN and fall in love with tunneling. It's free!
Using haproxy (lightweight and quickly configured) was an easy fix for that issue. I've included the relevant parts from my configs in https://github.com/TamCore/ssh-punchhole/blob/main/README.md :)
proxy.py
-
Show HN: Proxy.py
[Not my project]
A very well features proxy server (Forward & Reverse + lots of other features).
https://github.com/abhinavsingh/proxy.py
-
How to Choose the Right Python Concurrency API
The article gives a good summary of the quite complex landscape of concurrency in python. There's more to it, for example gil-free c-extensions, subprocesses and cross-machine (plus IPC) communication.
But I'm particularly bothered by the fact that many articles and tutorials look at concurrency as if it's only about factoring primes or writing a web server with many (perhaps even idempotent) parallel requests.
In reality, people will often want and need to combine multiple of these approaches, and then it gets VERY messy. I.e. try to combine a multiprocessing executor with multiple asyncio loops and boom you're in some very deep waters.
One project that does this (async loops inside multiple processes) is proxy.py - very enlightening to read its code base [1].
But I really, really wish python would do more to provide simple and robust abstractions for these kinds of tasks. My dream would be a robust actor system similar to erlang, but we'll probably never get that.
[1] https://github.com/abhinavsingh/proxy.py
- PSA: Blogsport.de und Blogsport.eu sind in den letzten Atemzügen
-
Comodo Firewall
Setup a VM with Hyper-V and restrict the internet access or disable it.(best way), or build yourself a proxy: https://github.com/abhinavsingh/proxy.py
-
Handling 30,000 requests/sec with `proxy.py`
See `proxy.py` examples for some inspiration :) https://github.com/abhinavsingh/proxy.py/tree/develop/examples
What are some alternatives?
Bypass_CGNAT - Wireguard setup to bypass CGNAT with a VPS
one-ring - CSP on top of AsyncIO
frp - A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
mitm - 👨🏼💻 A customizable man-in-the-middle TCP intercepting proxy.
Adminer - Database management in a single PHP file
mitm-omegle - Watch strangers talk on Omegle (man in the middle attack explained for kids)
spike - :mega: A fast reverse proxy written in PHP that helps to expose local services to the internet
lokinet-exit-provider - lokinet exit node webapp
benchmark-proxypy
hass-weatherflow2mqtt - WeatherFlow to MQTT for Home Assistant. Use UDP to get local weather data in to Home Assistant using MQTT Discovery
super-auto-pets - A tool to allow for viewing of arbitrary Super Auto Pets replays