towerful

joined 1 year ago
[–] towerful@programming.dev 2 points 7 months ago (1 children)

Hmm, fair.
I liked it cause i could dockerise it next to nginx and do SNI forwarding.
It had obvious and declarative config, which helped me get a redundant tunnel set up. Its great at auto-reconnecting.
I have never used ssh tunnels. Maybe its just as easy as using rathole. Learning ssh tunnels might have been a better path for me.
But rathole clicked, has been rock solid with 0 tinkering or tweaking, the config files make sense, its easy to in a docker container...

So, i cant really answer your question.

[–] towerful@programming.dev 1 points 7 months ago (5 children)

I can recommend rathole ( https://github.com/rapiz1/rathole ).
All it does is port forwarding. Easy to configure, easy to reason about, easy to dockerise.
If you need reverse proxying, you have to set that up either on the public server, or on local infra (chances are, you already have reverse proxy locally so rathole just needs to forward 80/443).

If its only for personal access (ie, you dont want services actually accessible by the internet) i can recommend tailscale for that. Its an auto-configuring wireguard VPN whose main selling point is NAT traversal. Very easy to set up, and very reliable.

[–] towerful@programming.dev 6 points 7 months ago (3 children)

Cap it relative to the lowest paid employee.
Or perhaps the difference between lowest paid and the CEO.
Some sort of review/system to also incorporate subcontractors/companies etc, so a company cant be just C-Suite and everyone else subcontracted from another "company"

[–] towerful@programming.dev 1 points 7 months ago

Ive used cloudns for ages. They allow this

[–] towerful@programming.dev 4 points 7 months ago

Decent DNS providers allow you to create NS records for subdomains.
This delegates the subdomain and all of its subdomains to another DNS.

Useful for companies that want to control their own records, but might want to allow a group of developers control over app.example.com and all subdomains, without the developers having to pester the company for record updates.

Also used for acme-dns, which is a self hosted DNS designed to only deal with txt records for acme DNS challenges (ie lets encrypt).
Means you can limit the possible disaster of the DN API keys being leaked (an attacker can only generate TXT records, instead of rewriting all your DNS records)

[–] towerful@programming.dev 1 points 7 months ago

Yeh, but if our timekeeping maintains the same interval (a specific number of decays per second) then eventually it will be the middle of the night at 12 noon.
Or we have to redefine a second which means 12 noon will always be (mostly) the middle of the daylight, but has implications on math/physics, programming, never mind the all the existing clocks in existance.

[–] towerful@programming.dev 135 points 7 months ago (7 children)

Its google, so probably the number of projects launched, never advertised, then abandoned

[–] towerful@programming.dev 13 points 7 months ago (1 children)

For example, I'm personally of the opinion ...

Are you replying to the correct person?

[–] towerful@programming.dev 1 points 7 months ago (1 children)

I like that its really simple and obvious, with a good confif file structure.
Server forwards a port to a client.
Client forwards that to an ip:port.

If you need to know the real IP, its up to you to run reverse-proxies that support PROXY TCP headers or insert x-forward-for, or whatever.
Rathole does its thing, only its thing, and does it well.

[–] towerful@programming.dev 8 points 7 months ago (4 children)
[–] towerful@programming.dev 1 points 7 months ago

All ill say is ROS script is a huge PITA.
So, making a script that takes an object of vlan/port assignments, and running the required commands to ensure the config of the mikrotik matches the declared vlan/port assignments.

The besy way ive seen to build/manage them is to use a compile step to go from some sane declarative config in order to build the actual ROS script to make the changes.
I just havent got round to making that a thing.

I hope they are working on a native python API, so i can script in a sane language, and run it directly on the mikrotik.

Config files are easy to import/export/edit/read, tho.
It does mean you have to reset to default when you update a config file (or configure the device live, then export the config)

[–] towerful@programming.dev 11 points 7 months ago

You need to use /dev/null as a Service for windows compatibility.
https://devnull-as-a-service.com/

view more: ‹ prev next ›