▲ 6 r/nginxproxymanager+1 crossposts

NPM Network Host vs Bridge

Hi all! I am looking to add an auth server to my homelab, problem is, I’ve seen that I will need to change Nginx Proxy Manager to the host network mode to make this work.

Problem is, I correctly have it in multiple bridge networks, each connected to one container for some sense of semi isolation. This allows me to just use the container name and port when setting up where to direct the host in NPM. When switching to host mode, this no longer works. I could be wrong, but that seems like I would then need to expose ports to access them if I can’t access them by their container name.

I know it’s not a black and white issue, but what is generally safer, requiring exposed ports but having an auth proxy, or no exposed ports but no auth proxy?

I could 100% be wrong about any of my assumptions, let me know if I am. Any help would be greatly appreciated

reddit.com
u/Miserable-Response40 — 2 days ago

VPN Whitelisting

Hey all!

I am using Netbird to let me access my homelab from anywhere. I wanted to go ahead and only allow traffic if it is coming from my VPN for that extra bump in security (and setting up an authentik is confusing lmao) but anytime I whitelist the subnet it won’t let any traffic through, VPN or not. I have also tried setting my specific Netbird IP instead of the subnet and that has not helped.

NPM is in the same network as each docker container to disallow the use for exposing ports so setting NPM to host is out of the question. Any other ideas?

reddit.com
u/Miserable-Response40 — 14 days ago
▲ 1 r/nginx

Can't load certificates and Web server won't start

Hi all, I have been trying to set up my NPM for a couple hours now, and it was giving me so errors so I rebooted it to be safe. Now nothing will work. It will start in docker but the web server won't load at all and I am at a loss.

Here is the log I get every time I try and start it

nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/npm-16/fullchain.pem": BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/npm-16/fullchain.pem, r) error:10000080:BIO routines::no such file)

Here is my docker compose file

version: "3.9"
services:
  nginx-proxy-manager:
    image: jc21/nginx-proxy-manager:latest
    container_name: nginx-proxy-manager
    ports:
      - "80:80"
      - "443:443"
      - "81:81"
    volumes:
      - npm_data:/data
      - npm_letsencrypt:/etc/letsencrypt
    restart: unless-stopped
volumes:
  npm_data:
  npm_letsencrypt:

The odd part is, the /etc/letsencrypt dir does not exist at all, but I can't believe it was just deleted out of thin air, as it was working fine just half an hour ago. All the help is appreciated, thanks!

reddit.com
u/Miserable-Response40 — 20 days ago

Chromebook Keyboard won’t work LFS

Hi all!

I recently finished building my Linux from scratch project, but there’s one big problem. The Chromebook 11 G5 I’m using won’t type unless I plug in a usb keyboard. I have went into the kernel and turned on
- AT keyboard
- chromeOS laptop
- chromeOS EC (I2C and LPC)
- chromeOS keyboard

Yet nothing works, I wasn’t sure if I was missing something with my specific model or what. Anything helps!

reddit.com
u/Miserable-Response40 — 2 months ago
▲ 6 r/linuxfromscratch+1 crossposts

Linux From Scratch GCC Compilation Error

Hi all, I am currently trying to build Linux From Scratch using the newest book. I am getting stuck on chapter 5 where I have to compile GCC compiler. I keep getting an error when I try to make using the command: make CFLAGS="" CXXFLAGS="" LDFLAGS="" (I was getting this error before the extra arguments. I just thought that would fix it, it did not). The error I get is make: *** [Makefile:1048: all] Error 2. I am using arch Linux. My config.log file is below.

config file: https://pastebin.com/X8z6m0H0

log file (Too large for pastebin): https://ctxt.io/2/AAD4657OFA

When running make with "SHELL='sh -x'" the last few lines show as this

+ _G_arg='( cd \"$output_objdir\" && $RM \"$outputname\" && $LN_S \"../$outputname\" \"$outputname\" )'
+ case $_G_arg in
+ _G_arg='"( cd \"$output_objdir\" && $RM \"$outputname\" && $LN_S \"../$outputname\" \"$outputname\" )"'
+ func_quote_for_expand_result='"( cd \"$output_objdir\" && $RM \"$outputname\" && $LN_S \"../$outputname\" \"$outputname\" )"'
+ eval 'func_notquiet "( cd \"$output_objdir\" && $RM \"$outputname\" && $LN_S \"../$outputname\" \"$outputname\" )"'
++ func_notquiet '( cd ".libs" && rm -f "libgmp.la" && ln -s "../libgmp.la" "libgmp.la" )'
++ :
++ false
++ func_echo '( cd ".libs" && rm -f "libgmp.la" && ln -s "../libgmp.la" "libgmp.la" )'
++ :
++ _G_message='( cd ".libs" && rm -f "libgmp.la" && ln -s "../libgmp.la" "libgmp.la" )'
++ func_echo_IFS=$' \t\n'
++ IFS=$'\n'
++ for _G_line in $_G_message
++ IFS=$' \t\n'
++ printf '%s\n' 'libtool: link: ( cd ".libs" && rm -f "libgmp.la" && ln -s "../libgmp.la" "libgmp.la" )'
libtool: link: ( cd ".libs" && rm -f "libgmp.la" && ln -s "../libgmp.la" "libgmp.la" )
++ IFS=$' \t\n'
++ :
+ false
+ eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )'
++ cd .libs
++ rm -f libgmp.la
++ ln -s ../libgmp.la libgmp.la
+ _G_status=0
+ test 0 -ne 0
+ exit 0
make[4]: Leaving directory '/mnt/lfs/sources/gcc-15.2.0/build/gmp'
+ test -z ''
make[3]: Leaving directory '/mnt/lfs/sources/gcc-15.2.0/build/gmp'
make[2]: Leaving directory '/mnt/lfs/sources/gcc-15.2.0/build/gmp'
make[1]: Leaving directory '/mnt/lfs/sources/gcc-15.2.0/build'
make: *** [Makefile:1048: all] Error 2
reddit.com
u/Miserable-Response40 — 2 months ago