Findmysec

joined 1 year ago
[–] Findmysec 2 points 1 year ago

Use a VPN if you're in the West/Far East. That's it

[–] Findmysec 2 points 1 year ago (1 children)

TBH I don't even use awk that much, even that is plenty powerful for my needs. Perl absolutely blows my mind with how needlessly complex I can make stuff with it

[–] Findmysec 3 points 1 year ago

Perl would be my candidate for more advanced text handling than what sh can do.

Never used Lua but I think it's fun.

If nothing else works, just learn C/Rust. There's plenty of that on Linux systems, I think you'll be able to manage. Yes, it doesn't meet a lot of your requirements.

[–] Findmysec 1 points 1 year ago

The problem is the hardware not working because proprietary drivers aren't built into GSIs

[–] Findmysec 3 points 1 year ago

At least you're not using Windows for work LMAO

[–] Findmysec 7 points 1 year ago (1 children)
[–] Findmysec 2 points 1 year ago

If you can only use port 22 for multiple SSH endpoints (for example), then yes your going to need multiple IPs. Or Port-mapping as a compromise

[–] Findmysec 2 points 1 year ago* (last edited 1 year ago) (2 children)

In short, you need a reverse-proxy + traffic segregation with domain names (SNI).

I don't remember much about ingresses, but this can be super easy to set up with Gateway API (I'm looking at it right now).

Basically, you can set up sftp.my.domain/ssh to 192.168.1.40:22, sftp.my.domain/sftp to 192.168.1.40:121 (for example). Same with Forgejo, forgejo.my.domain/ssh will point to 192.168.1.50:22 and forgejo.my.domain/gui will point to 192.168.1.50:443.

The Gateway API will simply send it over to the right k8s service.

About your home network: I think you could in theory open up a DMZ and everything should work. I would personally use a cheap VPS as a VPN server and NAT all traffic through it. About traffic from your router maintaining the SNI, that's a different problem depending on your network setup. Yes, you'll have to deal with port-mapping because at the end of the day, even Gateway API is NodePort-esque when exposing traffic outside.

[–] Findmysec 4 points 1 year ago

I'm assuming you don't own a phone /s

[–] Findmysec 8 points 1 year ago (2 children)

Needs to be compatible with said tablet, not always the case

[–] Findmysec 2 points 1 year ago* (last edited 1 year ago)

Ah, I get it. Jabber/IRC over TOR for you

[–] Findmysec 2 points 1 year ago* (last edited 1 year ago) (4 children)

You'd receive traffic on IP:PORT, that's segregation right there. Slap on a DNS name for convenience.

I might have my MetalLB config lying around somewhere (it's super easy, I copied most of it from their website), I can probably paste it here if you'd like.

Exposing services publicly on the Internet is a L3-L4/L7 networking problem, unfortunately I don't know enough about your situation to comment.

Edit: the latter end of your post is correct. You could route to different end-points that way

view more: ‹ prev next ›