Birras, vpn y ponys

tags: proxyvpnnetworksTordeep weeb

beer diagram

Beers in Spanish (actual converstion)

Salgo del curro reventado. El día, un coñazo. Pero bueno, lo bueno de los martes es que tocan birras con Xabi y Diego. Ellos ya están en la mesa del fondo del bar, con una pinta delante y ese rollo de que han estado debatiendo sobre algo que no entienden. Me acerco y, antes de sentarme, Xabi suelta:

—Tío, tenemos una duda. A ver si nos aclaras.

—¿Qué queréis ahora? —digo mientras dejo la mochila en el suelo y hago un gesto al camarero para que me traiga lo de siempre.

—Mi madre quiere ver Netflix cuando está en el pueblo, pero no le sale lo mismo que en casa. ¿Eso cómo coño se arregla?

—Fácil. Necesitáis montar un servidor VPN en su casa. Con una Raspberry Pi, por ejemplo.

—¿Una qué? —salta Diego, ya medio perdido.

—Una Raspberry Pi, tío, un miniordenador de esos. Básicamente, montas una VPN en su casa, y así, aunque esté en Cuenca o en Japón, puede conectarse a la red de su casa y ver Netflix como si estuviera en el sofá del salón.

—A ver, a ver... —dice Xabi, ya confundido—. Empieza desde el principio. ¿Qué coño es una VPN?

—Vale, hagamos esto fácil. Piensa que el Internet de tu señora madre es como una carretera, ¿vale? Todo lo que pasa por ahí lo puede ver el ISP, el proveedor de Internet, como si fuese un peaje. Una VPN es como un túnel que haces dentro de esa carretera. Lo que pasa por ahí no lo ve ni Dios, ni el ISP ni Netflix.

—¿Y qué tiene que ver el Netflix? —pregunta Diego.

—Netflix ve desde qué dirección IP te conectas. Es como la matrícula de tu coche en esa carretera. Si tu madre está en el pueblo, Netflix ve que la matrícula no es de su casa y le bloquea cosas. Con la VPN, haces que parezca que siempre está en su casa.

Xabi asiente, pero con esa cara de “no estoy entendiendo una mierda”. Diego, por su parte, va a lo práctico:

—¿Y cómo se hace eso del túnel?

—Pues instalando WireGuard en la Raspberry Pi. Es un programa que te monta la VPN. Luego le dices al router que mande el tráfico a la Pi, y listo. Desde cualquier lado del mundo te conectas como si estuvieras en su casa.

—¿Router? —interrumpe Xabi—. ¿Eso es el aparato que está junto a la tele con las lucecitas?

—Sí, eso mismo. Pero aquí hay un problema: si tu madre tiene CG-NAT, os vais a joder.

—¿CG-qué? —pregunta Diego, frunciendo el ceño.

—CG-NAT. Es una mierda que hacen las compañías de Internet porque se están quedando sin direcciones IP. Básicamente, en vez de darte una dirección IP pública para ti solo, te meten en una especie de red compartida con otros clientes. Y claro, así no puedes hacer que nadie desde fuera entre a tu red.

—Entonces, ¿qué hacemos si tiene eso? —pregunta Xabi, medio desanimado.

—Llamas al proveedor y le dices que te saque de ahí. Igual te cobran, pero bueno, es lo que hay.

DGNAT

De Netflix a la Deep Web

Xabi se queda pensando mientras le da un trago largo a su cerveza. Diego, que ya tiene cara de haberse aburrido del tema, cambia de tercio:

—Vale, y esto de la Deep Web, ¿cómo va?

—Joder, no tiene nada que ver con lo de antes, pero bueno. Para eso necesitas Tor.

—¿El dios del trueno? —bromea Xabi, levantando la ceja.

—No, gilipollas, Tor, el navegador. Básicamente, lo que hace es mandar tu conexión por varios nodos por todo el mundo para que no sepan quién eres ni desde dónde te conectas. Es como jugar al escondite, pero con tu conexión.

—¿Y eso es seguro? —pregunta Diego, intrigado.

—Seguro no hay nada, pero es bastante difícil que te pillen. Además, si lo combinas con proxychains, añades más capas de anonimato.

—¿Proxychains? —pregunta Xabi.

—Sí, es como una cadena de intermediarios. Imagina que quieres mandar una carta, pero antes pasa por cinco oficinas de correos diferentes, y cada una la reescribe. Así, nadie sabe de dónde salió la carta originalmente.

proxychains —Vale, pero ¿cómo sabe Tor a dónde ir si nadie sabe nada? —pregunta Diego.

—Eso lo resuelve con los servidores DNS. Esos son como las agendas de Internet. Tú escribes "google.com", y el DNS te dice cuál es la dirección IP de Google para que puedas conectarte. Tor lo hace todo dentro de su red para que nadie de fuera se entere.

diagram fuente: https://buymeacoffee.com/politictech/howto-anonymous-internet-with-proxychains-tor

Poniéndolo todo en contexto

Xabi me mira, ya con cara de cachondeo:

—Vale, todo esto está muy guapo, pero ¿qué coño se puede encontrar en la Deep Web?

—De todo, tío. Información rara, foros chungos, mercados ilegales… Pero también cosas absurdas.

—¿Cómo qué? —dice Diego, riendo.

—Pues… hay una web de “My Little Pony” donde te puedes descargar todos los capítulos de la serie. Gratis y pirata, claro.

Xabi casi escupe la cerveza.

—¿En serio? ¿Ponis ilegales en la Dark Web?

—Te lo juro. La gente está fatal.

Nos echamos a reír mientras brindamos. Entre VPNs, proxys y ponis, la conversación se fue perdiendo en gilipolleces, como siempre. Eso sí, Xabi acabó diciendo que algún día montaríamos la VPN para su madre… aunque lo más probable es que terminemos buscando los putos ponis por pura curiosidad.

Ingles

Beers, VPNs, and Illegal Ponies

I was wrecked after work. The day had been a drag. But hey, the good thing about Tuesdays is beers with Xabi and Diego. They were already at the usual table in the back of the bar, each with a half-empty pint and that look that said they’d been arguing about something they didn’t understand.

As soon as I sat down, Xabi came at me:

“Dude, we’ve got a question. You’re the only one who can clear this up.”

“What do you want now?” I asked, dropping my backpack on the floor and signaling the bartender for my usual.

“My mom wants to watch Netflix when she’s at the village house, but it doesn’t show the same stuff she gets at home. How the hell do we fix that?”

“Easy. You need to set up a VPN server at her house. Use a Raspberry Pi or something.”

“A what?” Diego asked, already looking lost.

“A Raspberry Pi, man, it’s like a tiny computer. You set up a VPN at her place so that no matter if she’s in the middle of nowhere or Japan, she can connect to her home network, and Netflix will think she’s still on her couch.”

“Wait, wait…” Xabi said, clearly confused. “Start from the beginning. What the fuck is a VPN?”

“Alright, let’s keep it simple. Think of your mom’s Internet as a highway, okay? Everything traveling on it can be seen by the ISP—the Internet Service Provider. They’re like a toll booth. A VPN is like building a tunnel on that highway. Whatever travels through the tunnel, no one can see—not the ISP, not Netflix.”

“And what does Netflix have to do with this?” Diego asked.

“Netflix sees the IP address you’re connecting from. It’s like the license plate of your car on that highway. If your mom’s at the village house, Netflix sees that the license plate isn’t from her home and blocks certain stuff. With a VPN, it always looks like she’s at home.”

Xabi nodded, but his face screamed, “I don’t get it.” Diego, on the other hand, cut straight to the practical stuff:

“So how do you build this tunnel?”

“By installing WireGuard on the Raspberry Pi. It’s a program that sets up the VPN. Then you tell the router to send the traffic to the Pi, and boom, done. From anywhere in the world, you connect as if you were at her house.”

“The router?” Xabi interrupted. “Is that the thing next to the TV with all the blinking lights?”

“Yeah, that. But here’s the catch: if your mom’s got CG-NAT, you’re screwed.”

“CG-what?” Diego asked, frowning.

“CG-NAT. It’s this crap Internet companies do because they’re running out of IP addresses. Instead of giving you a unique public IP address, they put you in a shared network with other customers. And that means no one from outside can connect to your network.”

“So, what do we do if she has that?” Xabi asked, already looking defeated.

“You call the ISP and ask them to take you out of CG-NAT. They might charge you for it, but it’s the only way.”

DGNAT

From Netflix to the Deep Web

Xabi sat there, thinking it over while taking a long swig of his beer. Diego, already bored of the topic, decided to switch gears:

“Alright, and what about the Deep Web? How does that work?”

“Jesus, that’s a whole other thing. But okay, for that you need Tor.”

“Tor? Like the Norse god?” Xabi joked, raising an eyebrow.

“No, you idiot, Tor the browser. What it does is bounce your connection through several nodes all over the world so no one knows who you are or where you’re connecting from. It’s like playing hide-and-seek with your connection.”

“And is it safe?” Diego asked, clearly intrigued.

“Nothing’s 100% safe, but it’s damn hard to track you. Plus, if you combine it with proxychains, you add even more layers of anonymity.”

“Proxychains?” Xabi asked.

“Yeah, it’s like a chain of middlemen. Imagine you want to send a letter, but it goes through five different post offices first, and each one rewrites the address. That way, no one knows where it originally came from.”

proxychains

“Okay, but how does Tor know where to go if no one knows anything?” Diego asked.

“Good question. That’s where DNS servers come in. They’re like the address book of the Internet. When you type ‘google.com,’ the DNS tells you Google’s IP address so you can connect. Tor handles all that internally so no one outside can see.”

diagram fuente: https://buymeacoffee.com/politictech/howto-anonymous-internet-with-proxychains-tor

Wrapping It Up with Ponies

Xabi looked at me, smirking now.

“Alright, all this is cool and all, but what the fuck can you actually find on the Deep Web?”

“Everything, man. Weird forums, shady marketplaces, illegal stuff… But also some truly stupid shit.”

“Like what?” Diego asked, laughing.

“Well… there’s a ‘My Little Pony’ website where you can download every single episode of the show. For free. Pirated, of course.”

Xabi nearly spat out his beer.

“Seriously? Illegal ponies on the Dark Web?”

“I swear. People are insane.”

We all burst out laughing and raised our glasses for a toast. Between VPNs, proxies, and ponies, the conversation drifted off into nonsense like it always does. Though knowing us, Xabi will probably drag us into setting up his mom’s VPN one day… or worse, we’ll end up looking for those damn ponies out of sheer curiosity.