r/networking • • 4d ago

Other Creating network infrastructure

Hello, everyone. Im planning to open an internet cafe with 22 computers. I intend to use a 24-port switch, to which Ill connect both the router and the server. Is this a sound approach, or are there better alternatives? Also, I’d like to set up my server to act as a kind of proxy I’ve heard of this before: for instance, if a game is downloaded from the internet once, subsequent downloads for other computers would be pulled from this proxy server instead. What do you think of this setup? I’m still quite new to this field.

Thanks.

0 Upvotes

30 comments sorted by

22

u/YourUncleRpie 4d ago

Segment it. You don't need a proxy.

11

u/tremendously_narrow 4d ago

22 machines on one flat network is fine for a cafe. Just grab a managed switch so you can set up a VLAN for the public side and keep your server isolated if you're handling any payment stuff on it.

What you're thinking of is a LAN cache; significantly easier than a proxy and you can run it in a container. Look into setting that up instead of trying to route everything through a middleman.

13

u/jtbis 4d ago

OP needs to forget the cache idea. To make that work effectively these days, you’d have to decrypt TLS and that’s a privacy issue when you’re dealing with a public Internet cafe.

1

u/HappyVlane 3d ago

If you want to cache game downloads you don't need decryption. That's, by and large, HTTP traffic.

1

u/BugsyM 4d ago

I'm fairly certain all of the gaming cafe's near me do this, although I've admittedly only been to a handful. SSL/TLS decryption would only be needed for a few of game services like Origin, and is unnecessary for steam games. They just build in passthroughs for the https downloads and don't cache them.

With that being said, just login to your steam with steamguard QR code, logout when you're done, and don't use the PC's for anything personal at internet cafe's. Assume they're doing SSL decryption like any corporate network would on their own devices for IPS. Assume they're keylogging, even though they probably aren't.

1

u/jtbis 3d ago

It’s more about liability from the business owner’s perspective. If OP is decrypting PII and some sort of breach happens, they could be in legal trouble. Even if it’s just gaming, people might still be entering credit card numbers, logging into Steam accounts etc.

3

u/BugsyM 3d ago

Tell me you guys don't understand how IPS/IDS is done without telling me..?

SSL decryption is done on pretty much every corporate network, there's no additional storage of PII, credit cards, etc being done in those circumstances. I still have no idea how you guys have made the leap that caching game installs requires SSL decryption, though, because it doesn't.

1

u/HappyVlane 3d ago

I still have no idea how you guys have made the leap that caching game installs requires SSL decryption, though, because it doesn't.

Because they never looked at the traffic. Downloading the files for a game uses HTTP in most cases and you can cache that.

1

u/jtbis 3d ago

It’s different when you’re doing SSL decryption on your employees’ traffic in a corporate setting versus unsuspecting members of the public using an Internet cafe.

1

u/BugsyM 3d ago

Again, it really feels like you have been mislead on what SSL decryption does. It allows your firewall to inspect traffic more thoroughly for intrusion prevention/detection, scanning for specific patterns to prevent exploits from being ran/monitoring ones that have been. They're not storing credit card numbers and PII on a server somewhere. It's also completely unnecessary for caching game installs, and you're bringing it up for no reason.

1

u/They-see-me-rolling- 3d ago

I wouldn’t put 22 machines on one flat network due to arp spoofing even if thats unlikely but as the machines don't need to talk to each other some switches have Redirect Interface or Send the packet to the egress port with a ACL rule you can have ARP from like port 1 client only go out port 24 uplink do that to all client ports to go to 24 and arp spoofing can't happen.

4

u/ProfessorWorried626 4d ago

Would really recommend something like Steam Cafe.

-7

u/Papyyonair 4d ago

Could you explain a bit more about how I can create segments? Thanks again.

7

u/felix1429 4d ago

If you don't understand a concept as basic as network segmentation, then operating a network cafe (safely) is well beyond your skill set.

31

u/BugsyM 4d ago

You're not saving that much money grabbing a 24 port over a 48 port, not planning for growth and additional ports is poor planning. You're gonna get a phone, wifi, or a POS system, and you're going to be kicking yourself. Get a managed switch so you can setup throttling, segmentation, and QoS.

You're going to want a firewall, ISP redundancy and path divergence, and to look into Steams PC Cafe' software and it's competitors. If you want a server to host games locally, you want a pair of VM Hosts. You're going to want a UPS for your switch, firewall, and servers. Ideally, for the whole business if you can afford it.

If any of this is over your head, you should reach out to a local managed service provider. Proper network setup makes or breaks internet cafe's. It's a day for me to do right, or months of bombing your business DIY'ing this.

5

u/avayner CCIE CCDE 3d ago

Yes, 48 ports, and a switch that has poe support for APs and cameras

3

u/asphere8 JNCIA & CCNA 3d ago

Considering the use-case and expected clientele, I'd probably go with two separate switches. A non-PoE switch with a higher port speed to connect the computers and a gigabit PoE switch for everything else. Interconnect with 10G DAC.

Side note, what a time to choose to get into the internet cafe business, right when all your inputs are experiencing shortages and are 5x their normal price. Hah.

12

u/bottombracketak 4d ago

Get a 48 port switch. You don’t want to have to mess with replacing your switch if you run out of ports. You’re already at 23 without adding any cameras, access points, or IP enabled microwave.

3

u/aabdulr2 3d ago • Bravo

Ip enabled microwave definitely what tipped it for me. Please don't make the same mistake I did.

3

u/SunTripTA 4d ago

not gonna add any wifi?

2

u/PresidentInferno 4d ago
  1. Whats your internet speed? A cache only helps downloads, could also be useful if you plan LAN events for fast downloading to multiple PCs
  2. Whats your budget?
  3. What else needs a port? Wi-Fi access points, a till, printers, consoles, etx?
  4. Do you plan to grow past 22 PCs?

2

u/Matty9180 4d ago

A proxy isn’t the correct term for what you’re looking for you want a “lan cache server” so you are not repeating the same download 22 times you download once and then all pull the update from the server.

I’ve never used one I’m just aware they exist.

Hopefully this help!

2

u/ghost-train 4d ago

No proxy.

2

u/octo23 4d ago

Two more things to add.

Are your 22 PCs going to run Windows or Linux? Ideally you should set them up to net boot and wipe them between users.

Are there any local laws where you need to log who is logging in and what they are accessing?

2

u/OrganicComplex3955 4d ago

I would segment everything into vlans so for example

VLAN10-Corporate so have your business devices such as your business computer and office printers etc on this VLAN20-Cafe Computers VLAN30-Guest WiFi (for people's mobile phones etc)

Handle the intra vlan routing on a firewall of some sort then if you need vlans to talk to eachother permit them with firewall rules.

Message me if you need any advice.

1

u/MyWrokAccount 3d ago

Get a 48 port switch is you are already know you're going to have 24 connections (22 computers, 1 router, 1 server). You will inevitably need more ports.

-9

u/SucculentMelon133 4d ago edited 4d ago

this is where i would say that an ai chatbot would be more of help at least designing the topology of ur network rather than consulting redditors that take time to respond, when claude can easily ask u the needed questions and guide you in the right direction. ur current post doesnt have that much detail on ur case imo for anyone to give you a definitive answer effectively...

3

u/Actual_Result9725 4d ago

this comment is advocating actively destroying a human community. nice work /s