Removing a server from the internet

Caporegime
Joined
25 Jul 2003
Posts
40,341
Location
FR+UK
I want to lock down a server and remove any internet access to it, whilst maintaining lan access. Is it easiest to do this on the router (eg blacklist its mac address)?
 
Assuming your not forwarding ports to it from the router, just remove its gateway IP address on the server.

I'm allocating the IP addresses by mac reservation, and setting the ip dynamically on the server so it picks up its gateway automatically.
 
This does depend if you want to block inbound or outbound.

Adjust the firewall rules on the server and by default your router shouldn't allow inbound connections. Id just put a block on the router saying block the IP from making outbound connections.
 
This does depend if you want to block inbound or outbound.

Adjust the firewall rules on the server and by default your router shouldn't allow inbound connections. Id just put a block on the router saying block the IP from making outbound connections.

Both really, I want it completely isolated from the internet. I'll have a play with the firewall.
 
Removing the gateway IP address deals with the issue at the source whilst using the firewall is a block.

There is nothing wrong with doing both, in fact learning to use your firewall is a good thing but changing to a static IP minus gateway is the first starting point. If at some point you replace your router, you wont accidentally allow it back on the internet.
 
i would give it a static ip address i wouldld also say its poor practise to have a server on a dynamic ip.
and then i would do as sugested dont put a gateway in.
unless its a dns server then it will need internet access.
 
Do you not need windows updates? (assuming it is windows based)
I'll probably use WSUS, but yes this is a consideration.

i would give it a static ip address i wouldld also say its poor practise to have a server on a dynamic ip.
and then i would do as sugested dont put a gateway in.
unless its a dns server then it will need internet access.

Aye I just preferred doing that, as the server isn't providing dhcp, so it's not a case that if the server goes down the routing goes down. Still, as its best practice I'll probably switch it over tonight.
 
Back
Top Bottom