I have installed a software in a Ubuntu Server 14.04.
I need this server to be only accesible within LAN network, for security reasons I want it to be no way accesible from outside. Also, I need to give it a static IP address.
This is what I have done:
sudo vi /etc/network/interfaces
And I have set up the following
auto eth0
iface eth0 inet static
address 192.168.1.109
netmask 255.255.255.0
network 192.168.1.1
broadcast 192.186.1.255
Is any of these unnecesary? Do I need anything else? Can I somehow set something up here to prevent my server from being accesible from the internet?
Thank you very much for your answers.
ifconfigdoes not show gateway, you must be missing something here.. – heemayl Oct 15 '15 at 01:33