AdguardTeam / AdguardTeam/AdGuardHome

Allow http.address list entry for multiple web interface listen addresses

Offen
#8,012 3 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
feature request
Vorherrschende Sprache
TypeScript
Sterne
36.9k
Forks
2.5k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Prerequisites

- [x] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions) and found no answer

- [x] I have searched other issues and found no duplicates

- [x] I want to request a feature or enhancement and not ask a question

### The problem

I can't add more than one listen interface (e.g. local network + vpn or something similar)

I am running AGH on a VPS and want to be able to access it on port 3000 at only: 1. via localhost:3000, 2. via a VPN with a CIDR of, say, 10.9.0.0/24:3000, and 3. via the VPS's LAN IP CIDR, say, 192.168.99.0/24:3000.

But if I move the address down to a list:
```
http:
address: 0.0.0.0:3000
```
to
```
http:
address:
- 0.0.0.0:3000
```
it errors out, whether it's one line or 3.

### Proposed solution

ideally i'd like to do this:
```
http:
address:
- 127.0.0.1:3000
- 192.168.99.0/24:3000
- 10.9.0.0/24:3000
```

### Alternatives considered and additional information

I leave it open to everyone with 0.0.0.0:3000 but then disable my proxy server (caddy) and just deal.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.