Need network recovery

NethServer Version: 7.9.2009
Module: network

Hello. I have a VPS server. I created DMZ Zone for IP Provider.
It was a mistake. The site is no longer available.
I can’t understand how to configure eth0 into working condition.
Or how to start the recovery process.

https://wiki.nethserver.org/doku.php?id=virtual_network_interface&s[]=dummy

https://docs.nethserver.org/projects/nethserver-devel/en/latest/nethserver-base.html

I completely reinstalled the server. Here is the correct configuration for VPS servers:

dummy0=ethernet
    ipaddr=192.168.10.2
    netmask=255.255.255.0
    role=green
eth0=ethernet
    bootproto=none
    gateway=95.182.120.1
    ipaddr=95.182.121.17
    netmask=255.255.252.0
    role=red
ppp0=xdsl-disabled
    AuthType=auto
    FwInBandwidth=
    FwOutBandwidth=
    Password=
    name=PPPoE
    provider=xDSL provider
    role=red
    user=
1 Like

I’m happy you sorted it out!

I just want to point out that in case of a VPS the network-recovery command does not fit well

Direct link means you want to access NS7 from its green network, and that’s not the case of Internet.

I do not know what VPS you use. In case of contabo, you will always be able to connect through VNC whenever you misconfigure network or loose root access.
I can recommend it. Cheap and reliable. (I don’t have any stocks/bonds ;), just 5 year+ satisfied customer)

1 Like