this post was submitted on 30 Dec 2023
261 points (94.2% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54462 readers
267 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
261
Me vs my ISP (lemmy.dbzer0.com)
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

So I was looking into getting port forwarding set up and I realized just how closed-off the internet has gotten since the early days. It's concerning. It used to be you would buy your own router and connect it to the internet, and that router would control port-forwarding and what-have-you.

Now, your ISP provides your router, which runs their firmware, which (in my case) doesn't even have the option to enable port forwarding.

It gets worse - because ISPs are choosing NATs over IPv6, so even if you install a custom firmware on your router without it getting blacklisted by your ISP, you still can't expose your server to the internet because the NAT refuses to forward traffic your way. They even devise special NAT schemes like symmetric NAT to thwart hole punching.

Basically this all means that I have to purchase my web hosting separately. Or relay all the traffic through an unnecessary third party, introducing a point of failure.

It's frustrating.

I like to control my stuff. I don't like to depend on other people or be in a position where I have to trust someone not to fuck with my shit. Like, if the only thing outside my apartment that mattered to my website was a DNS record, I'd be really happy with that.

Edit: TIL ISPs in the US don't have NATs

Edit 2: OMG so much advice. My knowledge about computers is SO clearly outdated, I have a lot of things to read up on.

Edit 3: There's definitely a CGNAT involved since the WAN ip in the router config is not the same as the one I get when I use a website that echos my IP address. Far as I can tell ~~my devices don't get unique IPv6 addresses either~~. (funnily enough, if I check my IP address on my phone using roaming data, there's no IPv6 address at all). It's a router/modem combo, at least I think since there's only one device in my apartment (maybe there's a modem managing the whole complex or something?). And it doesn't have a bridge mode, except for OTT. Might try plugging my own router into it, but it feels like a waste of time and money from what I'm seeing. Probably best to just host services over a VPN or smth.

Edit 4: Devices do get unique IPv6 addresses, but it's moot since I can't do anything but ping them. I guess it wouldn't be port forwarding but something else that I would have to do that my router doesn't support

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 32 points 10 months ago (5 children)

I bought my own cable modem and router for less than what my ISP would charge to rent them to me. They control nothing on my end.

[–] [email protected] 3 points 10 months ago

Same, never use their equipment if possible, cheaper and you are in control.

load more comments (4 replies)
[–] [email protected] 27 points 10 months ago (1 children)

Apologies if you've answered this elsewhere but I'm assuming there's a reason you haven't bought your own router?

[–] [email protected] 1 points 10 months ago (1 children)

Is that possible with something like T-Mobile Home Internet?

[–] [email protected] 5 points 10 months ago

idk that's why I asked

[–] [email protected] 19 points 10 months ago (2 children)

And this is why I'm unlikely to change isp. I have a /29 ipv4 block and /48 ipv6 block. No extra charge. Grandfathered features from over a decade ago.

[–] [email protected] 23 points 10 months ago (1 children)

HOLY SHIT YOU HAVE A /29 IPV4 BLOCK???

That's like having a change jar with copper pennies or something, nice

[–] [email protected] 8 points 10 months ago (1 children)

Yep. The ISP doesn't offer it any more. They stopped, I think when RIPE officially "ran out" of new net blocks. But I've moved address twice so far and have kept the allocation. Well, on the last move they messed up and gave new a new single IP. I complained, and they asked why it matters so much to have my old IP. I pointed out I had a netblock, and they fixed it up pretty quickly.

Pretty soon, full fibre will be in my area and available on the same ISP. So, hoping for a smooth transition to keep it for a bit longer.

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago)

How does it feel hoarding IPs from 7 other people who want one?

[–] [email protected] 1 points 10 months ago

That's fucking awesome.

[–] [email protected] 10 points 10 months ago

I had a fun little issue a while back where my isp replaced our fiber modem to one that didn't allow for port forwarding. The settings were missing but when I set up dmz host on that to allow our equipment to work again, I noticed it was behind some nat in their system. I found out I could call them to get functionality restored for a fee, but instead I plugged in the old box and still keep an external ip with port forwarding enabled and no nat. To be honest the old one has been a lot less stubborn as it doesn't drop every 10th packet on the network. I switched back about 6 months ago, and I've not had any issues, so we'll see when they call demanding me to plug in the new one. Their explanation for switching systems was that their old one wasn't powerful enough for gigabit speeds, even though both have interfaces for gigabit sfp. After some testing, the old one was more capable and stable at those speeds. I assume they wanted to switch systems due to some licensing thing, or to get more money from the .5% of people who care about these features.

[–] [email protected] 6 points 10 months ago

In my country we just buy a router and ask the ISP to set the modem/router in bridge mode

[–] [email protected] 6 points 10 months ago

In my country, the ISP rents you a modem and router. I told them I had my own modem and router during setup and my monthly cost is slightly less than their advertised price.

I am fortunate that my ISP gives me a routable address, but it is still only dynamic and may change a couple times a year. I would have to pay for a commercial plan if I want a static IP. Some other local ISPs use carrier grade NAT, but you can still request a publicly routable static IP with a business plan. Maybe you can ask your ISP for that?

[–] [email protected] 5 points 10 months ago (1 children)

Cheapest vps plus "sshuttle" may work, host everything on your home server but have dedicated ip of your vps

[–] [email protected] 5 points 10 months ago (1 children)

First time hearing about sshuttle, thanks! What I did some time ago is to order small VPS in Linode, hosted wireguard server and let my router connect to it. Since connection is established - I've port-forwarded all ports (except 22) from VPS to my router via established wireguard connection.

Then all I have to do is to manage port forwarding on my router, but if I want to connect to my router from outside - I must use VPS IP.

Worked great, except the fact that I used to have mobile internet and as a rule of thumb - upload speed of mobile internet suck ass...

[–] [email protected] 5 points 10 months ago (1 children)

You can't get your own router?

[–] [email protected] 2 points 10 months ago (1 children)

You can. But it then has to route through their modem+router single piece unit.

E.g. I have my own router which handles everything I need. But I switched ISPs recently to save 70$ per month, and the new company router has parts of its functionality, like turning off the wifi, built into their smartphone app and disabled in the admin panel.

Also the username and password for the unit is, by default, admin/admin. In 2023.

load more comments (1 replies)
[–] [email protected] 4 points 10 months ago* (last edited 10 months ago) (2 children)

why not bridge the router and use your own?

the router doesn't have one?

which ISP is it?

[–] [email protected] 8 points 10 months ago (3 children)

No matter how much you think you know, there's always something everyone knows that you've never heard of...

That said, if bridge mode is something that you can enable in the config (going to 192.168.0.1 in web browser and all that) then it's not possible.

It's through China Mobile

[–] [email protected] 5 points 10 months ago* (last edited 10 months ago)

You could get an ONU like this

https://www.aliexpress.us/item/3256804134894710.html

Use it to clone every bit of authentication from ur current ONU to it, the realtek chip in it is very customizable.

https://github.com/Anime4000/RTL960x

https://hack-gpon.org/

[–] [email protected] 1 points 10 months ago

Sometimes it’s configurable through the web interface, sometimes it requires a call to the ISP if you’re using their locked-down modem.

I’m not familiar with IT norms in China though.

[–] [email protected] 1 points 10 months ago

I'm honestly amazed the internet isn't locked down even more for you then. I was under the impression that the Golden firewall would be complemented with strict local network rules

[–] [email protected] 2 points 10 months ago (1 children)

sounds like his router is locked down, and even then, if the isp puts him behind nat, there isnt much he can do on his side even if he could theoretically forward those ports.

[–] [email protected] 3 points 10 months ago (1 children)

yes, cgnat is very common in many countries due to IPv4 shortage, bypassing the ISP Router and using your own along with a self hosted VPN Server (for China, Hong Kong or Tokyo works great) is the best choice.

[–] [email protected] 2 points 10 months ago

ipv6 is nice to use too if they dont also NAT it (which looks rare?)

[–] [email protected] 3 points 10 months ago

It's really shitty. My isp offers a static ip plan but it costs a lot more, so I try using tailscale and it works ok. It's a shame though

[–] [email protected] 3 points 10 months ago (1 children)

Standard IPv4 NAT or CGNAT?

Are you using their modem AND router? Or just their modem? If it's a modem router combo, can you place it in bridge/passthrough mode?

Even if it's CGNAT and no bridge mode, their are solutions available.

Are you looking to host private services like NextCloud? Or public services like a website?

[–] [email protected] 1 points 10 months ago

Far as I can tell there's no bridge mode, and there's only one device in the space that connects me to the internet. Pretty sure it's a CGNAT, and I wanna host a website

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago)

On the flip side, direct open ports to your home network isn't really a great idea anyway.

At one time it wasn't as bad, but today I'd be hesitant because of the number and capability of bad actors and I'm not a network security expert (though I have a lot of training in networks, just shy of that kind of expertise).

In a way, these restrictions have promoted the use of even more secure approaches, like using Cloudflare tunnels, VPS's with VPN connections to your network, or things like Wireguard/Tailscale, which provide a virtual (encrypted) network layered on top of the public (untrusted) network.

All of these can provide an externally controlled (secured and encrypted) access to specific resources within your own network. As mentioned, VPS with VPN, Cloudflare tunnels, or Tailscale Funnel or Share.

[–] [email protected] 3 points 10 months ago

Use cloudflare tunnel.

[–] [email protected] 2 points 10 months ago

I don’t know what you mean by ISPs in the US don’t have NATs. They most certainly do NAT at the gateway device. But they also typically provide a way to DMZ to your own router instead. I don’t have to deal with double NAT simply because I effectively have my ISP gateway in bridge mode (forwarding all traffic to a specific device, in this case, my personal router).

Note: I have gigabit FTTH from AT&T. I left cable internet the moment fiber service was made available.

[–] [email protected] 2 points 10 months ago

Are you trying to offer a port for peer sharing (XDCC/BT)? I've never tried using it like this but I think Tailscale Funnel could work.

It's a sort of reverse VPN, I guess you could call it. Tailscale maintains the public IP and when someone connects to your advertised port they tunnel it to you through (encrypted) WireGuard. It passes through NAT because connections are outgoing to their servers.

The catch is that wireguard is easily detectable through deep packet inspection so if your ISP is a real asshole they can kill the connections, but if they go that far then NAT traversal is the least of your worries.

[–] [email protected] 2 points 10 months ago

Might not be ideal but perhaps simpler, do you have the ability to upgrade your service to business class? Usually the business tiers allow such things and they will support self hosting and open up the ports for you if you ask. It will likely cost more for the same speed you currently have. Another option to consider

[–] [email protected] 1 points 10 months ago

Here in Germany I get a "real" (non-shared) IPv4 address and a /48 IPv6 subnet I think. With Telekom at least. Vodafone is another story. I think the user must be able to use their own router because of some EU law.

[–] [email protected] 1 points 10 months ago

Yes CGNAT is used quite a lot, but consider 95% of customers don't care what their public address is and that "saves" the carrier address space.

We are the 5% that do care and if you call your ISP they likely have an option to exclude you from cgn and get an actual public IP.

[–] [email protected] 1 points 10 months ago

Did you contact your ISP about this? Most of them can adjust a setting for you to remove the NAT part, the feature is usually called dual-stack. If you are in the EU, you even have a fundamental right to use your own router, you just have to register your MAC with them.

[–] [email protected] 1 points 10 months ago

Can't switch ISPs? I'd tell them exactly why I'm switching.

[–] [email protected] 0 points 10 months ago (1 children)

Is your service fiber? Is your router a combined ONT and router? If its not and you have an ONT serving ethernet to the router, you can just plug your own router in.

You said it's through china mobile so is it a cell modem/router?

[–] [email protected] 1 points 10 months ago (1 children)

Just checked, it looks like it's fiber. Definitely has something plugged into the wall anyway - I'm kinda afraid of unplugging it and ruining my internet access.

[–] [email protected] 1 points 10 months ago

Idk how it works in china, is the wire coming from the wall a thin sorta stiff wire? or is it a thicker wire(5-10mm across) that is bendy?

If the latter, you can just plug that ethernet cable into your own router.

If its a fiber cable then I dont know if you can have your own ONT.

load more comments
view more: next ›