Daniel-RUS
(Daniel Rus)
October 18, 2023, 5:04am
1
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
The goal is to make Server Manager reachable again without knowing the right commands. A possible solution:
Say in /etc/motd that network-recovery is the command for you if you’re in trouble with the network connection
Implement the network-recovery command that asks for a temporary IP, netmask, gateway, dns
It clears up firewall and IP configuration on all ethernet cards
It creates a bridge brdef with all ethernet cards
It applies the temporary IP configuration.
By default it runs signal-e…
https://docs.nethserver.org/projects/nethserver-devel/en/latest/nethserver-base.html
Daniel-RUS
(Daniel Rus)
October 18, 2023, 6:47am
2
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
davidep
(Davide Principi)
October 18, 2023, 7:06am
3
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.
robb
(Rob Bosch)
October 18, 2023, 2:58pm
4
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