# OPNsense

# WAN: Telekom

Einstellungen der WAN-Schnittstelle:

[![image-1650655554371.png](https://wiki.trance-port.de/uploads/images/gallery/2022-04/scaled-1680-/image-1650655554371.png)](https://wiki.trance-port.de/uploads/images/gallery/2022-04/image-1650655554371.png)

Telekom Zugangsdaten:

[https://telekomhilft.telekom.de/t5/Telefonie-Internet/PPPOE-Einwahl-ueber-einen-Router-herstellen/ta-p/3654990](https://telekomhilft.telekom.de/t5/Telefonie-Internet/PPPOE-Einwahl-ueber-einen-Router-herstellen/ta-p/3654990)

<div class="section--VJUZc section--eeefm" id="bkmrk-internet-zugangsnumm"><div class="info-wrapper--1Ttgd"><span class="title--2FZqt phx-t6">Internet Zugangsnummer: </span><span class="value--2my2u phx-t5">551130513541</span></div><div class="info-wrapper--1Ttgd"><span class="title--2FZqt phx-t6">Anschlusskennung: </span><span class="value--2my2u phx-t5">002413230587</span></div><div class="info-wrapper--1Ttgd"><span class="title--2FZqt phx-t6">Mitbenutzernummer: </span><span class="value--2my2u phx-t5">0001</span></div></div><span class="value--2my2u phx-t5">  
</span>

> <span class="value--2my2u phx-t5">Benutzername / PPPoE:"Anschlusskennung"+"Zugangsnummer"+“0001"+"@t-online.de"</span>
> 
> [<span class="value--2my2u phx-t5">Quelle</span>](https://telekomhilft.telekom.de/t5/Telefonie-Internet/PPPOE-Einwahl-ueber-einen-Router-herstellen/ta-p/3654990)

<span class="value--2my2u phx-t5"><0024132305875511305135410001@t-online.de></span>

[<span class="value--2my2u phx-t5">Quelle Youtube</span>](https://www.youtube.com/watch?v=XmNAiLk9_To)

# Plugins

DHCP Server:

Statische IPs einstellen/prüfen:

\- KNX Gateway

\- Harmonyhub

[IP-Liste](https://nextcloud.trance-port.de/apps/onlyoffice/30329?filePath=%2FTechnik%2FNetzwerk%2F%23Heimnetz.xlsx)

# Crowdsec

#### AllowLists

You can create a new AllowList using `cscli`:

```
cscli allowlist create my_allowlist -d 'created from the docs'
```

To add entries to the AllowList, provide the name and the value you want to allow:

Single IP:

```
cscli allowlist add my_allowlist 192.168.1.1

```

<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" id="bkmrk-"><div class="codeBlockContent_QJqH"><div class="buttonGroup_M5ko">  
</div></div></div>CIDR range:

```
cscli allowlist add my_allowlist 192.168.1.0/24

```

<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" id="bkmrk--1"><div class="codeBlockContent_QJqH"><div class="buttonGroup_M5ko">  
</div></div></div>A key benefit of using AllowLists is that changes take effect immediately—no need to restart CrowdSec.

To view the contents of an AllowList, run:

```
cscli allowlist inspect my_allowlist

```

<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" id="bkmrk--2"><div class="codeBlockContent_QJqH"><div class="buttonGroup_M5ko">  
</div></div></div>Example output:

```
──────────────────────────────────────────────
 Allowlist: my_allowlist
──────────────────────────────────────────────
 Name                my_allowlist
 Description         created from the docs
 Created at          2025-05-13T14:10:12.668Z
 Updated at          2025-05-13T14:12:30.177Z
 Managed by Console  no
──────────────────────────────────────────────

───────────────────────────────────────────────────────────────
 Value           Comment  Expiration  Created at
───────────────────────────────────────────────────────────────
 192.168.1.0/24           never       2025-05-13T14:10:12.668Z
───────────────────────────────────────────────────────────────
```

Quelle:  
[https://docs.crowdsec.net/u/getting\_started/post\_installation/whitelists/](https://docs.crowdsec.net/u/getting_started/post_installation/whitelists/)