Static ipv4 address

🎮 Gaming

I've had the same ipv4 address for about a week so I tried to do some direct port forwarding and some upnp forwarding. Both worked! Nat type shows open on xbox right now, and plex is finally reachable without ngrok.

Posted Dec 8, 2021, 12:01 AM UTC

2132
noxbos•

Static IP Address is not the correct designation.

You are still assigned a Dynamic IP Address, but, as is the case with most ISPs, a constant on connection is typically going to keep the same ip address as it renews the lease.

11
randomname72OPBeta Tester•

Understood, thanks for the correction

3
StumbleNOLA•

I have a non-static ip that hasn’t changed in two years. There no real incentive for them to change so unless you have a power outage, and the station does as well, at the same time, you may keep it for a long time. When you pay for a static ip it’s just guaranteed.

3
Guitarax•

Seems relevant to repost this here: I'm using an Edgerouter Pro, but the same will apply to a lot of linux routers with a CLI (I imagine)

To get around this, I have found a VPN service which allows me to port forward. More specifically, a service which is in close proximity to my StarLink uplink. In my case, StarLink and my VPN server are both in NYC. This provider simply passed me an OpenVPN config. From there I followed this guide to get the config added to my router as a virtual interface.

https://www.ovpn.com/en/guides/edgeos#:~:text=Install%20OVPN%20on%20an%20Edgerouter%20%28EdgeOS%29%201%20SSH,be%20able%20to%20browse%20the%20internet%20safely.%20

The public IP comes to that interface from the VPN service’s DHCP. I’ll get around the changing IPs using an FQDN and DDNS from CloudFlare. Given that I won’t be using my StarLink public IP (as it doesn’t exist) I have elected to change the WAN interface in the port-forwarding gui to vtun0. This is specifically how I chose to handle port forwarding. My 0.0.0.0 route is going through the StarLink interface directly without using the VPN. This keeps the latency down on normal traffic. Only specific incoming traffic will use the VPN and Public IP.

5
kolonukBeta Tester•

Out of curiosity, who is the provider?

1
Guitarax•

PrivateVPN

1
SethFruenBeta Tester•

If this is true I'm looking forward to running a server this winter break

1
[deleted]•

[deleted]

1
randomname72OPBeta Tester•

I could be out of the loop. I haven't been paying a ton of attention to my ip recently.

1
wingjamesBeta Tester•

Mine is definitely still NAT. 100.x address

1
SEJeff•

Do you mean 10.x? 100.x is publicly routable.

-1
noxbos•

https://en.wikipedia.org/wiki/Carrier-grade_NAT#Shared_address_space

100.64.0.0/10 is designated as a Shared IP Address space similar to the RFC1918 addresses.

6
SEJeff•

TIL: 100.64.0.0/10 is similar to RFC1918, thanks!

1
dat_empennage•

Just set up my service (Gen2 router/square dishy). What kind of IP should I be seeing on the WAN interface? Is this actually a change toward having a real, publicly-routable IP?

1
noxbos•

Anything that starts with 10.X, 172.16-31.Y, 192.168.Z, 100.64-127.A are likely to be non-routable / internet inaccessible addresses.

RFC 1918 and RFC 6598

1
randomname72OPBeta Tester•

That's interesting, mine right now is 98.x

1
noxbos•

That's a public IP Address. You can verify by going to icanhazip.com

If your Router WAN address matches what shows up, it's routable and internet accessible.

If it doesn't match, it's being NAT'd (or proxied) somewhere along the path.

1
crashjBeta Tester•

curl ipinfo.io

1
Cynxee•

How did you port forward with starlink?

1
randomname72OPBeta Tester•

I'm not using the starlink router. I have dishy directly into a ubiquiti usg.

6
crashjBeta Tester•

You don't. It's not supported with a Starlink-shipped router because Starlink uses carrier grade NAT. (They run NAT in their peering uplinks before it ever reaches your router)

Dynamic IPv4's are in very limited testing and Starlink's support site says "not yet" available

1

Total noob here, is there anyone who can explain to me what this means, the benefits of a static versus non-static ip address, and how it could affect me? Please and thank you.

1
kolonukBeta Tester•

Static means you can access your internal devices remotely easily, but needs care to stop everyone else doing the same. Think running your own web server or minecraft server.

Dynamic means either CGNAT or a random IP just for you. This way it is harder to get remote access, but requires a very particular set of skills.

(I now have Liam Neeson in my head!)

Alternatively, think of an IP address like a phone number. Except it keeps changing. You can call people, but no one can call you. Unless you get a special upgrade which keeps your number the same, only then granny can call you and complain about her varicose veins very easily.

2
all_my_toads•

This is pretty interesting. What are the advantages/disadvantages of having a static IP? What's the difference between static/dynamic?

1
randomname72OPBeta Tester•

Like u/noxbos said above, static isn't the correct term. What I've got is a public ip, one that is directly accessible from the internet. It comes with some security concerns but makes running servers or accessing any of your devices when you're not home easier.

2
noxbos•

A static ip is one that is specifically assigned to you. It will never be re-assigned to anyone else as long as you are getting service from the provider.

A dynamic ip is one that is assigned to you "temporarily" as long as your service is on. If your connection goes offline for an extended period, you may receive a new IP when you reconnect. The way DHCP (the service that hands out IPs) works, as long as nothing changes (network config, your hardware, extended offline), you will normally get the same IP Address from the ISP.

2
JasparigusBeta Tester•

Same here, have had a 98.X for a while now. Figured this out when my ubiquiti point to point that was hooked directly to Dishy stole my wan ip and exposed it's web UI to the internet

1
randomname72OPBeta Tester•

Oh that's a good point. I have a USG but I probably need to look into security more.

1
NelsonMinarBeta Tester•

The other news here is that Starlink is supporting UPnP! I guess that's something their router is doing?

I'm still in CGNAT. My router has a 100.64.0.0/10 address. My external IP from Northern California is in 206.214.236.192/27 but presumably that's shared with others.

1
randomname72OPBeta Tester•

Yeah sorry, that's my router. I'm not using the starlink router anymore.

2
NetoriusDuke•

I take that this is not PPPoE, is it just DHCP Client?

1
crashjBeta Tester•

Correct

2
Machine156•

I've had service for 3 weeks, in the last week my camera system started being accessible from the outside

0