| 12 Jun 2026 |
matthewcroughan | is it any different than when doing NAT with local addr ranges ? | 19:57:39 |
magic_rb | id recommend you write your own firewall, its not that hard. i can share mine, though theyre not well written sadly, didnt have time or energy to do a proper clean up | 20:35:56 |
magic_rb | you'd have to olearn nftables tho | 20:36:01 |
Eli Saado | yeah I'm contemplating it quite hard rn | 20:36:48 |
Eli Saado | I already do some rule generation | 20:36:53 |
Eli Saado | for allowing NAT traffic to be forwarded | 20:37:31 |
Eli Saado |  Download image.png | 20:37:31 |
magic_rb | well, youd want to use a set for that but yes | 20:40:17 |
magic_rb | the complexity of the above is O(n) | 20:40:27 |
Eli Saado | oh | 20:42:56 |
Eli Saado | oh... | 20:42:58 |
Eli Saado | evaluation time is my biggest opponent | 20:43:05 |
magic_rb | i would recommend to just not include the rule gen in nix, as in have a mostly static firewall.nft file | 20:43:42 |
magic_rb | then into that you can inject values, by using, uh, there is a command to add an entry to a set, dont ask me what it is | 20:44:08 |
magic_rb | * then into that you can inject values, by using, uh, there is a command to add an entry to a set, dont ask me what it is rn | 20:44:10 |
magic_rb | i have a lot of ideas on how to do this, but not enough energy | 20:44:19 |
Eli Saado | oh you mean nftables sets | 20:50:47 |
Eli Saado | oh thats smart | 20:50:54 |
Eli Saado | damn | 20:50:55 |
Eli Saado | we do it for our IRC servers | 20:51:49 |
Eli Saado |  Download image.png | 20:51:49 |
magic_rb | Yep | 20:59:44 |
magic_rb | Sets or maps if you need some from to mapping | 21:00:00 |
magic_rb | If you come up with some ruleset, send it to me, i know a few obscure features of nftables, i can maybe give tips. I havent used it in a while at that level tho | 21:00:30 |
Eli Saado | haha alright, thank you <3 | 21:05:18 |
| 13 Jun 2026 |
| debtquity set a profile picture. | 03:23:28 |
| 15 Jun 2026 |
| @xengi42:matrix.org left the room. | 11:08:07 |
| Theodora changed their profile picture. | 14:49:26 |
| 16 Jun 2026 |
| erents joined the room. | 12:55:19 |
| eichehome rooms joined the room. | 15:46:28 |