Hi @Frafeffeu86

oh of course - it’s a different interface. aaalso - since openvpn manages the tun0 interface, we have to let openvpn do this..

1. Return /etc/network/interfaces to its original state.

2. in /etc/openvpn/server.conf:

route 192.168.2.0 255.255.255.0 10.198.101.2

add.

3. Restart the openvpn server with systemctl restart openvpn.

4. Fingers crossed 😉

LG

r00t

Show original language (German)

4b 65 69 6e 65 20 4d 61 63 68 74 20 64 65 72 20 6c 65 67 61 63 79 20 49 50 21

@r00t 👌👌👌👍👍👍🕺📣🥳🎉

Yipeeee!! It works! You are a genius!

Thank you very much for your help!

One last question: Where are the address settings for the Ethernet port?

Apparently he doesn’t care about the entries in /etc/network/interfaces…

LG Fritz

Show original language (German)
  • r00t has responded to this post.

    Hi Frafeffeu86

    It doesn’t matter - it’s on DHCP by default, the addresses below are intended as a “fall-back” in case DHCP goes wrong.

    DietPi even offers you a tutu for this 😉

    dietpi-config

    7: Network Options: Adapters > Ethernet: Available | [On] | Connected

    Then set mode to [STATIC], adjust address and GW, then click Apply.

    r00t_0-1694762343675.png

    LG

    r00t

    Show original language (German)

    4b 65 69 6e 65 20 4d 61 63 68 74 20 64 65 72 20 6c 65 67 61 63 79 20 49 50 21