sudo vim /etc/network/interfaces
#loopback
auto lo
iface lo inet loopback
# eth0 - wan
auto eth0
iface eth0 inet static
address xxx.xxx.xxx.xxx. #ip-ul public de la erdeesh
netmask 255.255.255.0 #netmask, tot de la ei
network xxx.xxx.xxx.0
broadcast xxx.xxx.xxx.255
salvati si apoi
vim /etc/resolv.conf
nameserver xxx.xxx.xxx.xxx #serverul...