Linux hobbyist, Machinist and tinkerer
Public Key 405B46E81DCCDB2B310DEF0DA5F0B998E8AC3752
- 4 Posts
- 29 Comments
At times i have felt that my distro was so not worth the flak.
But the thing that keeps me on it is i write it once and never half to dick with it again.
NixOS is really powerful, but the learning curve will push you to the edge!
I currently self host alot of stuff on my server which runs NixOS, theres some services that are as simple as ollama.service = true;
And others that you spend hours cussing at. But i feel the declarative nature is what makes switching to any other distro feel so unintuitive.
My linux journey had been,
Manjaro > ubuntu > arch > fedora > silverblue > opensuse tumbleweed > gentoo > nixos > opensuse tumbleweed > nixos.
I kept coming back to nix because i wrote what i wanted it to do and it did it that way every time. Its been a godsend for ZFS, although its not super bad to use ZFS on debian just mostly time consuming. The fact i dont half to worry about a update breaking DKMS and making my filesystem not work. I SWEAR SUN IF YOU COULD HAVE JUST DONE THE GPL INSTEAD OF CDL!!!
I have recently been exploring Guix, purely because of the NixOS drama. But i think nix is my main server OS
Steamymoomilk@sh.itjust.worksto
Political Memes@lemmy.world•Nobody likes me, and it's all someone else's fault!English
1·1 year agotrump complains about low approvel. it must be sombody tampering with the results. hire the best most American people that will find the dirty cheaters. special american task force has results. To solve theses dastardly unamerican traitors, orange man proclaimes it must be CH-INA Or pootin
Task force enters the room Gives the orange man a mirror
Steamymoomilk@sh.itjust.worksOPto
Selfhosted@lemmy.world•ServerPartsDeals Hardrive failure after 3 days? looking for advice,English
1·1 year agogoharddrive
yeah i remember looking at some that had 5 year warrenty but they quickly sold out, and i was itching to build a ZFS pool as i waited for months to finally pull the trigger
Steamymoomilk@sh.itjust.worksOPto
Selfhosted@lemmy.world•Wiregaurd split tunnel issues?English
2·1 year agoAmen brother!
Steamymoomilk@sh.itjust.worksOPto
Selfhosted@lemmy.world•Wiregaurd split tunnel issues?English
1·2 years agoi figured it out i had dns in the client wiregaurd config
Its sadly for work and we use it for CAM
No! No! It cant be that way. I want to spend hours screaming at my computer. Because fusion 360 is having problems finding my licence key!
Thats too easy, give me more difficultly Make canceling a painful process. Only 14 more emails and a USPS certified mail letter to go! Thanks adobe i love spending hours doing a simple task! (This is satirical)
Steamymoomilk@sh.itjust.worksto
Selfhosted@lemmy.world•I can not over express how happy I am with having setup my NAS from scratch.English
22·2 years agoGrammer is for english class or grammer community’s. Who cares
Steamymoomilk@sh.itjust.worksto
Selfhosted@lemmy.world•Looking to start self hosting by going through Louis Rossman's recently released guide. Any pointers for a newbie are most welcome.English
2·2 years agoYeah is guide is pretty useful! i went with setting up wireguard instead of openvpn. For a while now ive been self hosting alot of my stuff, SearXNG with gluetun tunneling, minecraft server for me and the boys and a Samba Share instead of paying for some dopey cloud storage. Ive gotten ZFS running in a 1tb z1 pool for my containers and plan to add a 10tb Z2 pool for long term storage and backups. i chose to do it in NixOS instead of debian or ubuntu, just because im a little bit of a nut for immutability.
its actually kinda funny i just left a post asking for help setting up wiregaurd server on c/selfhosted and referenced louis’s guide! Also i gotta add thats EPIC you got 10gbps internet, i went with a glinet flint 2 for my router. Because it runs openwrt under the hood, i personally like openwrt alot. there are people that swear by pfsense or opensense because of the bsd network stack, is very well maintained and secure as alot of commercial products like switches and firewalls run pfsense under the hood. for security and vlans pfsense would probably be better from what i heard. But openwrt works pretty well aswell, and i ended up just going with the flint 2 because it has 2.5gb wan in and 1 2.5gb lan. which was more than enough more my measly 1-2gb internet.
Steamymoomilk@sh.itjust.worksOPto
Selfhosted@lemmy.world•Help with iptables, using nixos setting up a wiregaurd server for friendsEnglish
1·2 years agoso for example, setting 192.168.8.170 on the clients as the only allowed IP aswell as the server would do what i need? thanks for helping trying to navigate my labyrinth of networking :P
For client example [Interface] Address = 10.0.0.3/24 ListenPort = 51820 PrivateKey = magic numbers
[Peer] PublicKey = magic numbers
PresharedKey = magic numbers
AllowedIPs = 192.168.8.170 Endpoint = magic numbers"
For server example
peers = [
{ #friend1 publicKey = “magic numbers and letters”; allowedIPs = [ “192.168.8.170/24” ]; endpoint = “magic numbers and letters”; presharedKey = “magic numbers and letters”; persistentKeepalive = 25; }
{ # My phone publicKey = “magic numbers and letters”; allowedIPs = [ “192.168.8.170/24” ]; endpoint = “magic numbers and letters”; presharedKey = “magic numbers and letters”; persistentKeepalive = 25; }
{# friend 2 publicKey = “magic numbers and letters”; allowedIPs = [ “192.168.8.170/24” ]; endpoint = “magic numbers and letters”; presharedKey = “magic numbers and letters”; persistentKeepalive = 25;
} {# friend 3 publicKey = “magic numbers and letters”; allowedIPs = [ “192.168.8.170/24” ]; endpoint = “magic numbers and letters”; presharedKey = “magic numbers and letters”; persistentKeepalive = 25; }
Steamymoomilk@sh.itjust.worksOPto
Selfhosted@lemmy.world•Help with iptables, using nixos setting up a wiregaurd server for friendsEnglish
1·2 years agoneat web app! the drawings kinda suck tho, but thats just a skill issue on my part :P
Steamymoomilk@sh.itjust.worksOPto
Selfhosted@lemmy.world•Help with iptables, using nixos setting up a wiregaurd server for friendsEnglish
1·2 years agoso if i understand this correctly, it runs a docker container to which runs the wireguard server and then you just specify hostname/ip adress for the services, then when sombody tunnels in they have acess to only the services specifide in config file? if so looks pretty useful!, i just question what happens to the rest of the traffic? is it locally routed in my network or client side? im not very familiar with proxys, i know what they are but have never really messed with one. Thanks for sharing
Steamymoomilk@sh.itjust.worksOPto
Selfhosted@lemmy.world•Help with iptables, using nixos setting up a wiregaurd server for friendsEnglish
1·2 years agook ill try to explain to the best of my ability and simply it.
i no longer want to use tailscale, because of accounts. i used to use tailscale for the minecraft server i want my friends to be able to acess only 192.168.8.170 on my local network and all other traffic to not be routed through my vpn but my friends to have acess to there internet on there LAN. example, we can play minecraft on the server on my network and we can be in a group call in signal. meaning friend 1 and 2 are using there internet connection locally, and only 192.168.8.170 being routed.
We also had some connectivity issues with tailscale, where friend 1 would be on and friend 2 would lag out of the server randomly. when if we played a game through steam we wouldnt have any connection issues. my friend is also very forgetful and cant log into his tailscale account, which is another reason why i wanna ditch tailscale.
Steamymoomilk@sh.itjust.worksOPto
Selfhosted@lemmy.world•Help with iptables, using nixos setting up a wiregaurd server for friendsEnglish
2·2 years agoso my friends wiregaurd config is
Old Client Config
"[Interface] Address = 10.0.0.3/24 ListenPort = 51820 PrivateKey = magic numbers
[Peer] PublicKey = magic numbers PresharedKey = magic numbers AllowedIPs = 0.0.0.0/0, ::/0 Endpoint = magic numbers"
So if i understand the article correctly, i need to change it to
New client config
"[Interface] Address = 10.0.0.3/24 ListenPort = 51820 PrivateKey = magic numbers
[Peer] PublicKey = magic numbers
PresharedKey = magic numbers
AllowedIPs = 0.0.0.0/0, ::/0 Endpoint = magic numbers" Split tunneling: Exclude certain traffic from the VPN
PostUp = ip rule add from 192.168.50.0/24 table main
PostDown = ip rule delete from 192.168.50.0/24 table main
my friends LAN is 192.168.50.0/0 so im assuming were just trying to tell wireguard that anything within my friends subnet doesnt get routed? which means he will still be able to reach HigherGround@'192.168.8.170? and all of his other traffic will be local to him and go through his router?
im confused what “table” and “main” are im assuming its apart of iptables rules? im pretty new to IP tables so forgive me for my lack of understanding. i know its basically a linux purest firewall LMAO,
Then on my server i would edit
This allows the wireguard server to route your traffic to the internet and hence be like a VPN
postUp = '' ${pkgs.iptables}/bin/iptables -A FORWARD -i cavein0 -j ACCEPT ${pkgs.iptables}/bin/iptables -t nat -A POSTROUTING -o enp5s0 -j MASQUERADE ''; # Undo the above preDown = '' ${pkgs.iptables}/bin/iptables -D FORWARD -i cavein0 -j ACCEPT ${pkgs.iptables}/bin/iptables -t nat -D POSTROUTING -o enp5s0 -j MASQUERADE '';And make it like this?
This allows the wireguard server to route your traffic to the internet and hence be like a VPN
postUp = '' ${pkgs.iptables}/bin/iptables -A FORWARD -i cavein0 -j ACCEPT ${pkgs.iptables}/bin/iptables -t nat -A POSTROUTING -o enp5s0 -j MASQUERADE ${pkgs.busybox/bin/ip rule add from 192.168.50.0/24 table main ''; # Undo the above preDown = '' ip rule add from 192.168.1.0/24 table main ${pkgs.iptables}/bin/iptables -D FORWARD -i cavein0 -j ACCEPT ${pkgs.iptables}/bin/iptables -t nat -D POSTROUTING -o enp5s0 -j MASQUERADE ${pkgs.busybox/bin/ip rule delete from 192.168.50.0/24 table main '';Right? or is step 4 on the client still? its not very clear in the article thanks for helping out!
Steamymoomilk@sh.itjust.worksOPto
Selfhosted@lemmy.world•Help with iptables, using nixos setting up a wiregaurd server for friendsEnglish
13·2 years ago
gronk use ms paint to describe.
gronk bad at explaining so he draws pretty pictures :P
Steamymoomilk@sh.itjust.worksto
Memes@lemmy.ml•New Tesla dashboard design just droppedEnglish
5·2 years agoOfficer you see i was speeding because my speedometer is hitler. And if i go 10mph its fine but if i go 20 then its ultra racist scumbag territory.
–officer
So why were you going 120mphs then?
…
Steamymoomilk@sh.itjust.workstoUnixporn@lemmy.ml•[XFCE] I recently installed gentoo with xfce!English
2·2 years agoHomie UPTIME IS 36 DAYS??? what does this computer do??? 💀💀💀💀
Steamymoomilk@sh.itjust.workstoUnixporn@lemmy.ml•[XFCE] I recently installed gentoo with xfce!English
10·2 years agoWhats the compile times with intel celeron and 4gb of rams
But what speeds are we talking? Like gb and does it got POE???

Wheres a necromancer when you need em?