Proxmox adguard container question

So I just started using proxmox and I’m trying to understand a predicament I’m in. I’ve setup an adguard home container and its using dhcp my router is already set in place to keep this node’s IP reserved, but I’m trying to understand how to change adguard’s to a static IP I can manual designate to it.

I’ve read the documentation here: about its config

and there’s a file named AdGuardHome.yaml and I can’t seem to find it/edit it.

Also side note: but related anyone know if the Console login for my adguard contain and the webui are the same, because I can log into the webui with no issues but within the container itself within proxmox I can’t login :thinking:

Wondering if anyone ran into this issue or I’m not understanding something. Thoughts? Thanks in advance.

Also side note: but related anyone know if the Console login for my adguard contain and the webui are the same, because I can log into the webui with no issues but within the container itself I can’t login

How did you install Adguard Home? Is it a correct assumption that you did not install this container yourself manually and relied on a script or template or another method like that?

I think that typically you’d know your password for the LXC container, because its something you would’ve setup when installing/configuring the CT:

If you’ve used a script of some sort its possible they’ve used a default or placeholder password, or the script was interactive and you were asked during install. As far as I understand, the login prompt you are seeing in the console is like a normal Linux login for the container, and is normally unrelated to whatever you install within the container (in your case AGH)

As for the IP address, if you installed the container manually using the Proxmox GUI, you are given a choice between DHCP or Static in the networking section. I believe this can be changed in the networking tab after the fact, and/or via the CLI.

1 Like

Your assumption is correct. I think I just didn’t remember if I did that which is a good thing/bad thing at least for convenience. I ended up remembering my password, but I also ended up finding out its also in plaintext I also ended up learning about the "pct" start [container#] & enter [container#] command and its syntax I can access from the pve shell any of my containers which is nice to know now.

I also just blindly wasn’t paying attention :sweat_smile: the location was right in front of me

I’m not sure why, but it doesn’t seem to like it when I change it from DCHP to static. So far no matter what I do its been keeping the same IP it received from DHCP. I’m learning though- it works for the most part, but I think now that I have it setup I’ve seen the issues while not a big deal I might just have a standalone node running Adguard. Appreciate the response.

Certain things are better to do manually from time to time :thinking: :sweat_smile:

This is why I like proxmox, every project turns into a learning project/opportunity :smiley: regardless of my intentions. (and usually, as long as I haven’t screwed around with the base system, it’s easy enough to start fresh in a new VM or container when I screw something up).

I’m not sure why, but it doesn’t seem to like it when I change it from DCHP to static. So far no matter what I do its been keeping the same IP it received from DHCP

How are you attempting to change it? The method I was referring to can be done via the Proxmox WebUI:

  1. click the container you want to edit from the sidebar
  2. click on the network tab
  3. double click on the network device you want to edit
  4. change from ‘dhcp’ to ‘static’ and set your preferred static IP + gateway

There will be an equivalent cli method too, but I don’t know the steps.

Note: I haven’t actually done this personally, I mostly set fixed IP addresses using the router.

LearnLinuxTV has a pretty good proxmox learning series on Youtube. It’s worth a watch if you want to wrap your head around some of the basic concepts and tools.

1 Like

I am, I also have a DHCP reservation on my router as well

When I also finally got into the config file I see this. I tried to change the bind_hosts from what I was finding online, but didn’t work.

:+1: :+1: