<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[LAN to VLAN ssh access]]></title><description><![CDATA[<p dir="auto">I've setup a separate VLAN as a Kubernetes playground but having an odd issue.  From my workstation I can ping the kub-master but can't SSH to it and tcpdump and packet capture on the pfsense says it isn't routing from one interface to the other.</p>
<p dir="auto">Setup:<br />
[192.168.1.0/24 LAN] &lt;-&gt; pfsense (3100 23.09-RELEASE) &lt;-&gt; [192.168.107.0/24 KUB]<br />
.1 on either network is the pfsense.</p>
<p dir="auto">LAN 1st rule: PASS ipv4+6 allow any to any<br />
KUB 1st rule: PASS ipv4+6 allow any to any</p>
<p dir="auto">I have disabled the firewall on the kub-master (ufw disable).  tcpdump port 22 shows no packets.</p>
<p dir="auto">On LAN (mvneta1.4091) - capturing port 22:</p>
<pre><code>Running packet capture:
/usr/sbin/tcpdump -ni mvneta1.4091 -c '1000' -U -w - '((port 22)) or ((vlan))'
06:30:44.784510 IP 192.168.1.18.35960 &gt; 192.168.107.10.22: tcp 0
06:30:47.562469 IP 192.168.1.18.38238 &gt; 192.168.107.1.22: tcp 52
06:30:47.562537 IP 192.168.107.1.22 &gt; 192.168.1.18.38238: tcp 0
06:30:47.562668 IP 192.168.107.1.22 &gt; 192.168.1.18.38238: tcp 28
06:30:47.562948 IP 192.168.1.18.38238 &gt; 192.168.107.1.22: tcp 0
</code></pre>
<p dir="auto">On KUB_NETWORK (mvneta1.107) - capturing port 22:</p>
<pre><code>Running packet capture:
/usr/sbin/tcpdump -ni mvneta1.107 -c '1000' -U -w - '((port 22)) or ((vlan))'

&lt;no activity&gt;
</code></pre>
]]></description><link>https://forum.netgate.com/topic/187805/lan-to-vlan-ssh-access</link><generator>RSS for Node</generator><lastBuildDate>Sat, 10 Oct 2026 17:29:27 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/187805.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 28 Apr 2024 06:35:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LAN to VLAN ssh access on Sun, 28 Apr 2024 16:27:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/viragomann">@<bdi>viragomann</bdi></a> I honestly didn't even check internet but no. Doesn't seem to have access.</p>
<p dir="auto">kub-master can ping the vmnic on the portgroup which means it is leaving the ESXi server, but then either the ubiquiti or the tp-link is not carrying the packets up to the pfsense.</p>
<p dir="auto">The ubiquiti says all vlans are being forwarded on the 4 ports connected to the ESXi (all 4 are uplink ports on the port group)</p>
<p dir="auto"><img src="/assets/uploads/files/1714321473015-f3e0c98e-da2e-4574-b57d-8d60da53de75-image.png" alt="f3e0c98e-da2e-4574-b57d-8d60da53de75-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">TP-Link has all the ports as tagged:<br />
<img src="/assets/uploads/files/1714321572433-0543e803-2186-4ef4-9e08-83695694aef7-image.png" alt="0543e803-2186-4ef4-9e08-83695694aef7-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I even tried them as untagged just in case and no change.</p>
<p dir="auto">I'm at a loss where to look next.</p>
]]></description><link>https://forum.netgate.com/post/1165850</link><guid isPermaLink="true">https://forum.netgate.com/post/1165850</guid><dc:creator><![CDATA[aram535]]></dc:creator><pubDate>Sun, 28 Apr 2024 16:27:53 GMT</pubDate></item><item><title><![CDATA[Reply to LAN to VLAN ssh access on Sun, 28 Apr 2024 14:47:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/aram535">@<bdi>aram535</bdi></a> said in <a href="/post/1165823">LAN to VLAN ssh access</a>:</p>
<blockquote>
<p dir="auto">ESXi - vSwitch (standard, 1 host) - portgroup 107 (vlan) ... where all of kub vms exist -&gt; Unifi USW 24 PoE -&gt; trunk port -&gt; TP-Link T1600G-28TS 3.0 -&gt; Kub network on Switch as Untagged ports ] -&gt; Pfsense and Workstation.</p>
</blockquote>
<p dir="auto">So there are some devices in between the KUB devices and the router. Can you even access the internet from this subnet?<br />
Can you ping pfSense from the kub-master or the other way round?</p>
]]></description><link>https://forum.netgate.com/post/1165831</link><guid isPermaLink="true">https://forum.netgate.com/post/1165831</guid><dc:creator><![CDATA[viragomann]]></dc:creator><pubDate>Sun, 28 Apr 2024 14:47:17 GMT</pubDate></item><item><title><![CDATA[Reply to LAN to VLAN ssh access on Sun, 28 Apr 2024 14:24:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/viragomann">@<bdi>viragomann</bdi></a> It's a flat network so there is no other routing other than on the PfSence (unless VLANs are getting ignored).</p>
<p dir="auto">Network design:</p>
<p dir="auto">ESXi - vSwitch (standard, 1 host) - portgroup 107 (vlan) ... where all of kub vms exist -&gt; Unifi USW 24 PoE -&gt; trunk port -&gt; TP-Link T1600G-28TS 3.0 -&gt; Kub network on Switch as Untagged ports ] -&gt; Pfsense and Workstation.</p>
<p dir="auto">workstation (192.168.1.18).  Can ping it's own gateway 192.168.1.1 and the 192.168.107.1 (pfsence vlan interface).<br />
However, it cannot ping kub-master (192.168.107.10).</p>
<p dir="auto">workstation:</p>
<pre><code>$ netstat -nr 
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 ens192
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 ens192

$ ping 192.168.107.1
PING 192.168.107.1 (192.168.107.1) 56(84) bytes of data.
64 bytes from 192.168.107.1: icmp_seq=1 ttl=64 time=0.301 ms
64 bytes from 192.168.107.1: icmp_seq=2 ttl=64 time=0.435 ms

$ sudo tcpdump -n icmp and net 192.168.107.0/24
dropped privs to tcpdump
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on ens192, link-type EN10MB (Ethernet), snapshot length 262144 bytes
10:09:21.179729 IP 192.168.1.18 &gt; 192.168.107.1: ICMP echo request, id 17, seq 1, length 64
10:09:21.179995 IP 192.168.107.1 &gt; 192.168.1.18: ICMP echo reply, id 17, seq 1, length 64
10:09:22.224486 IP 192.168.1.18 &gt; 192.168.107.1: ICMP echo request, id 17, seq 2, length 64
10:09:22.224855 IP 192.168.107.1 &gt; 192.168.1.18: ICMP echo reply, id 17, seq 2, length 64
10:09:23.248402 IP 192.168.1.18 &gt; 192.168.107.1: ICMP echo request, id 17, seq 3, length 64
10:09:23.248687 IP 192.168.107.1 &gt; 192.168.1.18: ICMP echo reply, id 17, seq 3, length 64
10:09:25.115966 IP 192.168.1.18 &gt; 192.168.107.10: ICMP echo request, id 18, seq 1, length 64
10:09:26.128484 IP 192.168.1.18 &gt; 192.168.107.10: ICMP echo request, id 18, seq 2, length 64
10:09:27.152498 IP 192.168.1.18 &gt; 192.168.107.10: ICMP echo request, id 18, seq 3, length 64
10:09:28.176534 IP 192.168.1.18 &gt; 192.168.107.10: ICMP echo request, id 18, seq 4, length 64
10:09:29.200461 IP 192.168.1.18 &gt; 192.168.107.10: ICMP echo request, id 18, seq 5, length 64
10:09:30.224490 IP 192.168.1.18 &gt; 192.168.107.10: ICMP echo request, id 18, seq 6, length 64
10:09:31.248498 IP 192.168.1.18 &gt; 192.168.107.10: ICMP echo request, id 18, seq 7, length 64
</code></pre>
<p dir="auto">The kub-master routing is a bit more complicated:</p>
<pre><code>$ netstat -nr 
Destination                 Gateway              Genmask                    Flags      MSS Window      irtt Iface 
0.0.0.0                         192.168.107.1      0.0.0.0                        UG               0 0                     0 ens160 
10.107.65.0                 192.168.107.11    255.255.255.0            UG               0 0                      0 tunl0
10.107.66.0                 192.168.107.12    255.255.255.0            UG               0 0                      0 tunl0
10.107.75.0                 192.168.107.13    255.255.255.0            UG               0 0                      0 tunl0
10.107.103.0                0.0.0.0                 255.255.255.0            U                  0 0                     0 *
192.168.107.0              0.0.0.0                 255.255.255.0            U                  0 0                     0 ens160 

$ cat /etc/netplan/00-static.yaml 
network: 
  version: 2
  renderer: networkd 
  ethernets:
    myinterface:
       match:
         name: ens*
      dhcp4: false
      dhcp6: false
      addresses: [192.168.107.10/24]
      nameservers:
        addresses: [192.168.107.1]
      routes:
        - to: default
          via: 192.168.107.1
</code></pre>
]]></description><link>https://forum.netgate.com/post/1165823</link><guid isPermaLink="true">https://forum.netgate.com/post/1165823</guid><dc:creator><![CDATA[aram535]]></dc:creator><pubDate>Sun, 28 Apr 2024 14:24:11 GMT</pubDate></item><item><title><![CDATA[Reply to LAN to VLAN ssh access on Sun, 28 Apr 2024 13:24:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/aram535">@<bdi>aram535</bdi></a><br />
Do you have any port forwarding on LAN?</p>
<p dir="auto">I'm wondering, why the LAN capture is showing SSH access from your computer to the KUB interface, which is obviously responding then:</p>
<blockquote>
<p dir="auto">06:30:44.784510 IP 192.168.1.18.35960 &gt; 192.168.107.10.22: tcp 0<br />
<strong>06:30:47.562469 IP 192.168.1.18.38238 &gt; 192.168.107.1.22: tcp 52</strong><br />
<strong>06:30:47.562537 IP 192.168.107.1.22 &gt; 192.168.1.18.38238: tcp 0</strong><br />
<strong>06:30:47.562668 IP 192.168.107.1.22 &gt; 192.168.1.18.38238: tcp 28</strong><br />
<strong>06:30:47.562948 IP 192.168.1.18.38238 &gt; 192.168.107.1.22: tcp 0</strong></p>
</blockquote>
<p dir="auto">Any explanation on this?</p>
<p dir="auto">I guess, 192.168.107.10 is the kub-master. So I'm expecting to see only this IP as destination, if you don't have any other SSH connection concurrently.</p>
<p dir="auto">Capture the ping on both interfaces to see if the packets are routed properly.<br />
Remember that ICMP is not a stateful protocol. So the reason could be asymmetric routing.</p>
]]></description><link>https://forum.netgate.com/post/1165813</link><guid isPermaLink="true">https://forum.netgate.com/post/1165813</guid><dc:creator><![CDATA[viragomann]]></dc:creator><pubDate>Sun, 28 Apr 2024 13:24:37 GMT</pubDate></item></channel></rss>