<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Davis8988</title>
    <description>The latest articles on DEV Community by Davis8988 (@davis8988).</description>
    <link>https://dev.to/davis8988</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F892144%2F7bff5e97-b79f-4841-bc1c-32f8bf9462a9.png</url>
      <title>DEV Community: Davis8988</title>
      <link>https://dev.to/davis8988</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/davis8988"/>
    <language>en</language>
    <item>
      <title>How to Secure a Segment of TCP Tunnel with TLS Using Gost?</title>
      <dc:creator>Davis8988</dc:creator>
      <pubDate>Mon, 19 May 2025 20:51:01 +0000</pubDate>
      <link>https://dev.to/davis8988/how-to-secure-a-segment-of-tcp-tunnel-with-tls-using-gost-240m</link>
      <guid>https://dev.to/davis8988/how-to-secure-a-segment-of-tcp-tunnel-with-tls-using-gost-240m</guid>
      <description>&lt;p&gt;I’m trying to create a multi-hop TCP tunnel using 2 &lt;a href="https://github.com/go-gost/gost.git" rel="noopener noreferrer"&gt;Gost&lt;/a&gt; app instances, where packets travel from point A → B → C → D, and back.&lt;br&gt;
    • A → B: plain TCP&lt;br&gt;
    • B → C: needs to be secured using TLS with a certificate&lt;br&gt;
    • C → D: plain TCP&lt;/p&gt;

&lt;p&gt;Both B and C are running instances of the Gost application, and A &amp;amp; D are my own written applications.&lt;br&gt;
I want to secure only the B → C (and vice versa) segment using TLS with a certificate.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt;&lt;br&gt;
What is the correct Gost command to run on both B and C to achieve this setup?&lt;br&gt;
Please provide example command lines for both instances.&lt;/p&gt;

</description>
      <category>help</category>
      <category>go</category>
      <category>networking</category>
      <category>security</category>
    </item>
  </channel>
</rss>
