<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Networking on Jose Castrillo</title>
    <link>https://jose.castrillo.eu/tags/networking/</link>
    <description>Recent content in Networking on Jose Castrillo</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Sun, 19 Nov 2023 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://jose.castrillo.eu/tags/networking/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Como configurar un router neutro</title>
      <link>https://jose.castrillo.eu/post/router-spain-vlan/</link>
      <pubDate>Sun, 19 Nov 2023 00:00:00 +0000</pubDate>
      <guid>https://jose.castrillo.eu/post/router-spain-vlan/</guid>
      <description>&lt;h3 id=&#34;-actualizado-022024&#34;&gt;📣 Actualizado 02/2024&lt;/h3&gt;
&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://castrillo.gitlab.io/figaro/router1.png&#34; alt=&#34;&#34;  /&gt;
&lt;/p&gt;
&lt;p&gt;Continuando con mi post &lt;a href=&#34;https://www.linkedin.com/pulse/neutralidad-de-la-red-y-tu-derecho-usar-router-en-espa%2525C3%2525B1a-castrillo-q1yyf%3FtrackingId=MoVK%252FVSBS6i9hYlPBP0ptg%253D%253D/?trackingId=MoVK%2FVSBS6i9hYlPBP0ptg%3D%3D&#34;&gt;anterior&lt;/a&gt; explico como realizar una conexion directa con tu propio router, en mi caso tengo un router &lt;a href=&#34;https://www.gl-inet.com&#34;&gt;gl.inet&lt;/a&gt;; puedes usar otro router que disponga la configuración de VLAN.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Dependiendo de tu proveedor de servicio, necesitamos ir a la siguiente &lt;a href=&#34;https://wiki.bandaancha.st/Identificadores_VLAN_operadores_FTTH&#34;&gt;pagina&lt;/a&gt; y busca tu VLAN, &lt;em&gt;Leer con atencion las notas dejadas en la pagina&lt;/em&gt;!. En mi caso tengo Orange aunque a en mi zona llega por &lt;a href=&#34;https://wiki.bandaancha.st/Nuevo_servicio_Ethernet_de_Banda_Ancha&#34;&gt;NEBA&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to switch 3053 to 53 on Gl.inet</title>
      <link>https://jose.castrillo.eu/post/router-glinet-adguard/</link>
      <pubDate>Mon, 06 Jun 2022 00:00:00 +0000</pubDate>
      <guid>https://jose.castrillo.eu/post/router-glinet-adguard/</guid>
      <description>&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://castrillo.gitlab.io/figaro/adguard.png&#34; alt=&#34;&#34;  /&gt;
&lt;/p&gt;
&lt;p&gt;For those who has a Gl.inet router featured with Adguard on it, you should being facing a issue at Adguard when it activated at first time, from clients list the only client listed is &amp;ldquo;localhost&amp;rdquo;, the reason it&amp;rsquo;s due &lt;a href=&#34;https://linux.die.net/man/8/dnsmasq&#34;&gt;dnsmasq&lt;/a&gt; is runing on port 53 in the other hand adguard by default on port 3053, in order to solve it you have to switch them. This entry is a forward post by the workaround explained by &lt;strong&gt;chao-chao&lt;/strong&gt; from &lt;a href=&#34;https://forum.gl-inet.com/t/gl-mv1000-with-adguard-all-clients-show-as-localhost/13664/13&#34;&gt;gl-inet-forum&lt;/a&gt; I did it and it&amp;rsquo;s working from my side, below is a little summary of the steps I did:&lt;/p&gt;</description>
    </item>
    <item>
      <title>setup auto mount smb v1.0</title>
      <link>https://jose.castrillo.eu/post/smb-fedora-v1/</link>
      <pubDate>Fri, 27 May 2022 00:00:00 +0000</pubDate>
      <guid>https://jose.castrillo.eu/post/smb-fedora-v1/</guid>
      <description>&lt;p&gt;In any case you still having a device that works with smb v1.0 you can use the following way in order to mount it on your Fedora host:&lt;/p&gt;
&lt;p&gt;Path: /etc/NetworkManager/dispatcher.d/smb-setup.sh&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;#!/bin/sh -e
# Script to dispatch NetworkManager events
# more over: https://stackoverflow.com/questions/16848021/linux-networkmanagers-etc-networkmanager-dispatcher-d-test-script-does-not
# Runs ifupdown scripts when NetworkManager fiddles with interfaces.
# See NetworkManager(8) for further documentation of the dispatcher events.

INF=&amp;#34;$1&amp;#34; # your current interface name such as eth0, wlp4s0 and so on
STA=&amp;#34;$2&amp;#34; # status such as UP or DOWN

# Send message to /var/log/messages
logger -s &amp;#34;$0 called for interface named $INF with $STA ...&amp;#34;

if [ &amp;#34;$INF&amp;#34; == &amp;#34;eno1&amp;#34; ]
then
mount -t cifs -o vers=1.0,username=admin,password=Tr3x_1986,uid=1000,gid=1000,forceuid,forcegid //10.34.1.1/1fea-6abb /home/jose/homedisk
fi
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;more info:&lt;/p&gt;</description>
    </item>
    <item>
      <title>OpenVPN usando Raspberry Pi3 &#43; Noip</title>
      <link>https://jose.castrillo.eu/post/openvpn-raspberrypi/</link>
      <pubDate>Wed, 15 Jul 2020 00:00:00 +0000</pubDate>
      <guid>https://jose.castrillo.eu/post/openvpn-raspberrypi/</guid>
      <description>&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://castrillo.gitlab.io/figaro/openvpn-raspberry.png&#34; alt=&#34;&#34;  /&gt;
&lt;/p&gt;
&lt;p&gt;Requisitos:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;RaspberryPi &amp;ndash;&amp;gt; &lt;a href=&#34;https://www.raspberrypi.org/downloads/raspberry-pi-os/&#34;&gt;https://www.raspberrypi.org/downloads/raspberry-pi-os/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;OpenVPN &amp;ndash;&amp;gt; &lt;a href=&#34;https://pivpn.io/&#34;&gt;https://pivpn.io/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Cuenta abierta &amp;ndash;&amp;gt; &lt;a href=&#34;https://www.noip.com/&#34;&gt;https://www.noip.com/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Una IP Estatica en tu Raspberry &amp;ndash;&amp;gt; Router manual&lt;/li&gt;
&lt;li&gt;Router con capacidad de tunel VPN &amp;mdash;&amp;gt; IPsec, PPTP, L2TP.&lt;/li&gt;
&lt;li&gt;Public IP &amp;mdash;&amp;gt; &lt;a href=&#34;https://www.whatismyip.net/&#34;&gt;https://www.whatismyip.net/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Pasos:&lt;/p&gt;
&lt;h3 id=&#34;1-crear-dns-record-a-en-noip&#34;&gt;1. Crear DNS Record A en Noip&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Apunta tu &lt;a href=&#34;https://www.whatismyip.net/&#34;&gt;IP publica&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Abre tu sesion con tus credenciales en &lt;a href=&#34;https://www.noip.com/&#34;&gt;Noip&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Dentro del Dashboard ve al apartado &lt;strong&gt;&amp;ldquo;Dynamic DNS &amp;gt; Create Hostname&amp;rdquo;&lt;/strong&gt; rellena:
&lt;ul&gt;
&lt;li&gt;hostname, ejemplo: &lt;em&gt;test&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Domain, ejemplo: &lt;em&gt;ddns.net&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;IPv4 address: &lt;strong&gt;Tu IP publica&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Click en &lt;strong&gt;Crear&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://castrillo.gitlab.io/figaro/openvpn-noip.png&#34; alt=&#34;&#34;  /&gt;
&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to set your Domain name in Linux</title>
      <link>https://jose.castrillo.eu/post/domain-name-linux/</link>
      <pubDate>Sun, 31 May 2020 00:00:00 +0000</pubDate>
      <guid>https://jose.castrillo.eu/post/domain-name-linux/</guid>
      <description>&lt;p&gt;Resume to set a domain name in Linux&lt;/p&gt;
&lt;p&gt;concepts:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;FQDN&lt;/strong&gt; (Fully Qualified Domain Name)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;eg:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;hostname&lt;/strong&gt; = server1 //
&lt;strong&gt;FQDN&lt;/strong&gt; = server1.example.com&lt;/p&gt;
&lt;h3 id=&#34;1-first-add-fqdn-to-your-hostname-in-etchosts-file&#34;&gt;1. First add FQDN to your hostname in /etc/hosts file.&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# cat /etc/hosts
10.120.68.23 server1.example.com server1
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;confirm the FQDN issue the following command:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# hostname -f
server1.example.com
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;21-configure-domain-name-red-hat-rhel-fedora-and-centos&#34;&gt;2.1. Configure domain name (Red Hat RHEL, Fedora and CentOS)&lt;/h3&gt;
&lt;p&gt;From these path add the parameters needs&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;vi /etc/sysconfig/network
DOMAINNAME=&amp;lt;domainname&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;vi /etc/sysctl.conf
kernel.domainname = &amp;lt;domainname&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;22-figure-domain-name--ubuntu-debian&#34;&gt;2.2. figure domain name ( Ubuntu, Debian)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;#vi /etc/hostname
server1
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Then restart the service:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Closing opened ports on Linux (Fedora 29)</title>
      <link>https://jose.castrillo.eu/post/ports-networking-linux/</link>
      <pubDate>Sun, 05 May 2019 00:00:00 +0000</pubDate>
      <guid>https://jose.castrillo.eu/post/ports-networking-linux/</guid>
      <description>&lt;p&gt;Using the &lt;strong&gt;Nmap&lt;/strong&gt; to list our opened port in our machine, how described the &lt;a href=&#34;https://nmap.org/&#34;&gt;official website&lt;/a&gt;: Nmap &amp;ldquo;..is an utility for network discovery and security auditing..&amp;rdquo;&lt;/p&gt;
&lt;p&gt;Regarding &lt;strong&gt;CUPS&lt;/strong&gt; from the &lt;a href=&#34;https://www.cups.org/&#34;&gt;official website&lt;/a&gt;: &amp;ldquo;is an open source printing system developed by Apple Inc. for macOSÂ® and other UNIXÂ®-like operating systems. CUPS uses the Internet Printing Protocol (IPP) to support printing to local and network printers.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;By default we have the cups service running in the system&amp;rsquo;s startup we could check out issue the following commands:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
