Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)NB
Posts
0
Comments
333
Joined
2 yr. ago

  • Because NAT acts as a firewall with a "default deny" policy for incoming packets, but no other rules. You cannot prevent a device on the private subnet side of a NAT from attempting to communicate with an "outside" ip with nat alone, nat doesnt understand the concepts of accept/deny/drop.

    All nat does is rewrite address headers.

    The machines behind a NAT box are not directly addressable because they have private IP addresses. Machines out on the general Internet cannot send IP packets to them directly. Instead, any packets will be sent to the address of the NAT box, and the NAT box looks at its records to see which outgoing packet an incoming packet is in reply to, to decide which internal address the packet should be forwarded to. If the packet is not in reply to an outgoing packet, there's no matching record, and the NAT box discards the packet.

    It's a confused topic because for a lot of people, nat does essentially everything they want. As soon as you get into more complex networking where a routing table needs to be updated, or bidirectional fw rules, it becomes apparent why routing + fw + nat is the most common combo.

  • Assuming it's not a 1-1 NAT it does make for a functional unidirectional firewall.

    That's like saying a router and firewall are the same thing. NAT appears to be a "firewall" because it's usually deployed with one. NAT itself has no filtering functions the way you're describing.

    Now, a pure router in the sense of simply offering a gateway to another subnet

    A "pure" router, as you put it, understands upstream subnets and routing tables. NAT does not, and is usually overlayed on top of an existing routing function.

    You can set up NAT between two subnets as an experiment with no iptables and it will do its job.

  • NAT simply maps IPS across subnet boundaries in such a way that upstream routing tables don't need updating.

    If you use destination NAT forward rules to facilitate specific destination port access, you are using a firewall.

  • If it's a private ZFS pool not on the network you're fucked.

    Sorry, i didn't word that correctly. I understand why you might need a share, I just think a whole truenas instance just for a few shares is way overkill. If I needed a samba share, NFS export, or an iscsi lun i would just spin up a Debian container and be done with it.

  • Oh yeah, sorry. There is some vendor lock-in with all bookstores, but kobo looks the other way.

    I have calibre-web setup with kobo sync, so calibre-web pretends to be part of the kobo store to my reader and I'm able to add non-drm books to my reader while still using the kobo store if I like.

  • Your view unfortunately doesn't show you how shitty the unpaid experience has become. XBMC used to be a good product. Since becoming Plex, now we have:

    • no local hardware accel
    • no HDR
    • panels that look like local videos that trick you into switching to a paid app
    • rearranged home screen after some updates
    • no downloads on remote devices
    • and now I'll lose the ability to share streaming with my kid, who lives many cities away

    If this were clear from the outset , no one would be upset. But pulling back features Plex at one time promised "forever" (remote streaming), is complete rug-pull bullshit.

    You can enjoy that warm and fuzzy reverse-fomo feeling now, but you should know that they'll start limiting your paid experience eventually.