How safe is a fixed IP directed to home Pc

xrapidx

Honorary Master
Joined
Feb 16, 2007
Messages
42,219
Reaction score
4,062
Location
Cape Town
Currently using a dynamic IP via ISP - how safe would it be getting a static IP for my home and hosting a service over SSL? (not for commercial or internet traffic - purely for my own access to house services / automation).

Dynamic IP is not ideal as its blocked on various networks.
 
I wouldn't do it. In fact I restart my modem every couple of days just so I can get a new IP.

The problem with a static IP is that if someone is interested in gaining access to your network, he has months to do it
 
Yeh - that's my concern as well - wasn't too keen on having a site hosted either, but its proven quite useful.
 
Personally, I won't do it. DuckDNS + OpenVPN.

You have the added benefit that you can connect to your home VPN and route your internet traffic via your home server when using dodgy open public WiFi
 
It is as safe as you want it to be.
Almost all routers now days have some kind of firewall feature.
Put server into a DMZ with no access rules to any of the "home" network
then the only thing that can be compromised is the server.

Also note, some ISP's on home packages have issues with you hosting sites, just double check their T&C's
 
Personally, I won't do it. DuckDNS + OpenVPN.

You have the added benefit that you can connect to your home VPN and route your internet traffic via your home server when using dodgy open public WiFi

How would this allow other people to see his site, they would all need to vpn in then. My understanding is he wants to host a site towards the internet
 
How safe is a fixed IP directed to home Pc

How good is your firewall ?

But yes: Good firewall with server in DMZ
 
Personally, I won't do it. DuckDNS + OpenVPN.

You have the added benefit that you can connect to your home VPN and route your internet traffic via your home server when using dodgy open public WiFi

That's what I currently do and doesn't meed the requirement.

It is as safe as you want it to be.
Almost all routers now days have some kind of firewall feature.
Put server into a DMZ with no access rules to any of the "home" network
then the only thing that can be compromised is the server.

Also note, some ISP's on home packages have issues with you hosting sites, just double check their T&C's

That won't work - the server needs access to the IoT devices.

How would this allow other people to see his site, they would all need to vpn in then. My understanding is he wants to host a site towards the internet

Exactly - but its not for other peoples use - purely personal use, allows for interaction with IoT device, home automation, etc - some of the devices require access from the outside in via the site.

Basically hosting https://home-assistant.io - but with various customization which require it available from the internet.
 
Slap an Nginx in front of it,run the connection over a non-standard port via https,should help mitigate many concerns
 
How would this allow other people to see his site, they would all need to vpn in then. My understanding is he wants to host a site towards the internet

He stated "purely for my own access to house services / automation"?
 
Static IP is no more or less secure than a Dynamic one.

Your problem is that it's generally less secure to have your WAN IP directly assigned to your device. Why are you doing that exactly?

Have you IP assigned to a Router and then Port Forward only what you need. Preferably a router with some intelligence to block repeated requests against a given port and so on.


tldr; You are already less secure as it stands and that won't change with a Static IP.

If you absolutely must do this and it's a Linux box then fail2ban works well enough to add some security on ports that must be open.
 
Last edited:
The device is not assigned the static IP address, the router is, with port forwarding.

The issue, as stated, is it's easier to hit as the IP address is a constant.
 
The device is not assigned the static IP address, the router is, with port forwarding.

The issue, as stated, is it's easier to hit as the IP address is a constant.
Well then it's no less or more safe but certainly better than the alternative.

For all intents and purposes if it was in DYNDNS it would be much the same really.
 
Have to disagree on that.
Foolish, false sense of security: It is as much secure as secure your firewall is.

Disable IPv6. Block all incoming ports TCP, UDP, ICMP. For the last one you may have an option "Disable WAN ping", it is the same. It can be more firewall options for ICMP, the only right one is 'drop'. It creates a blackhole for all unexpected incoming traffic. The other option is like answering "No, I am not here" to the question "Are you here?", quite foolish if you really want to hide. :)

Disable UPnP on the WAN interface, it is important, people forget about. You can change firewall to the more strict type (like cone vs. symmetric on Huawei LTE routers). Symmetric is more strict, you will have to manually setup trigger rules. It doesn't brings much improvements in security and there is more work to do, so maybe forget it. ;)

If you open some incoming ports, additional meassure is adviced, see post above. By setting up firewall to respond only to the specific incoming IP address you will ignore all unexpected visitors. If it applies to your environment, you are very safe. If it is not possible, use non-standard ports. Do not reply to this port directly, but trigger opening another port and verify protocol, request type before forwarding packets to the LAN.

Verify that your router is not on the list of unpatched devices for known backdoors.
 
Last edited:
The device is not assigned the static IP address, the router is, with port forwarding.

The issue, as stated, is it's easier to hit as the IP address is a constant.

Oh no, let me cancel my vumatel fibre as once you get a dynamically assigned IP it never changes.

No hacker is going to spend days never mind weeks to get into your silly home network. If they really want to get in they will be in within a few minutes, static or dynamic IP, that does not matter. All depends on your your firewall setup in the end
 
Top
Sign up to the MyBroadband newsletter
X