<?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: ProfiDE</title>
    <description>The latest articles on DEV Community by ProfiDE (@profide).</description>
    <link>https://dev.to/profide</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%2F3984477%2F1ea855ec-a26e-4bea-b729-5b60c73458e0.jpg</url>
      <title>DEV Community: ProfiDE</title>
      <link>https://dev.to/profide</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/profide"/>
    <language>en</language>
    <item>
      <title>Turn any PHP host into a gateway to your local network with host2gateway</title>
      <dc:creator>ProfiDE</dc:creator>
      <pubDate>Mon, 15 Jun 2026 00:07:04 +0000</pubDate>
      <link>https://dev.to/profide/turn-any-php-host-into-a-gateway-to-your-local-network-with-host2gateway-7b0</link>
      <guid>https://dev.to/profide/turn-any-php-host-into-a-gateway-to-your-local-network-with-host2gateway-7b0</guid>
      <description>&lt;p&gt;Ever wanted to turn a simple PHP host into a gateway for your local network?&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;host2gateway&lt;/strong&gt; to do exactly that.&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/ProfiDE" rel="noopener noreferrer"&gt;
        ProfiDE
      &lt;/a&gt; / &lt;a href="https://github.com/ProfiDE/host2gateway" rel="noopener noreferrer"&gt;
        host2gateway
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Uses a PHP host or web server to create a gateway that securely allows access to clients through it.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;host2gateway&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;host2gateway&lt;/strong&gt; is a tool designed to provide access from a web server (Gateway) to a client &lt;strong&gt;without requiring static IP addresses, port forwarding, changing firewall rules, or other complex configurations&lt;/strong&gt;. It is written in PHP and can be deployed on most hosting provider environments.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Features&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;No need for static IP or port forwarding:&lt;/strong&gt; There is no requirement to modify your firewall or router settings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Platform-independent:&lt;/strong&gt; Works anywhere PHP 8.2 or higher is supported, making it suitable for most shared hosting services.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lightweight and simple:&lt;/strong&gt; Minimal dependencies and easy deployment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Strong encryption built-in:&lt;/strong&gt; Uses a powerful encryption mechanism that secures all communication, even if SSL/TLS is not available on the hosting provider. Your data is protected at all times, regardless of your environment.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;How It Works&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;The client establishes an outbound connection to a Gateway server that is accessible from the internet (a PHP-enabled web host). Both sides communicate…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/ProfiDE/host2gateway" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  🔥 What is host2gateway?
&lt;/h2&gt;

&lt;p&gt;It's a lightweight tool that transforms any server running PHP into a gateway that can route traffic, manage requests, and act as a bridge between your local network and external services.&lt;/p&gt;

&lt;p&gt;No heavy dependencies. No complex configs. Just PHP, Cron and a network interface.&lt;/p&gt;

&lt;h2&gt;
  
  
  🧠 Why I built this
&lt;/h2&gt;

&lt;p&gt;Most gateway solutions are bulky, written in Go or Rust, and require root access and system-level changes. But what if you only have:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A shared hosting account&lt;/li&gt;
&lt;li&gt;A basic VPS with PHP enabled&lt;/li&gt;
&lt;li&gt;A Raspberry Pi running a PHP server&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;host2gateway fills that gap. It gives you gateway-like capabilities using the tools you already have.&lt;/p&gt;

&lt;h2&gt;
  
  
  🛡️ Use cases
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Use Case&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Local network bridge&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Connect isolated parts of your network&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Traffic inspection&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Log and monitor requests passing through&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Development tunneling&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Expose local services through a PHP host&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Learning networking&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Understand how gateways work with readable PHP code&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  🔗 What you need to know
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Written in &lt;strong&gt;pure PHP&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Works with &lt;strong&gt;PHP 7.4+&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;No database required&lt;/li&gt;
&lt;li&gt;Compatible with &lt;strong&gt;Linux&lt;/strong&gt; and any system that runs PHP-CLI&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🚀 Ready to try it?
&lt;/h2&gt;

&lt;p&gt;I won't bore you with setup steps here — everything is documented in the repository.&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/ProfiDE/host2gateway" rel="noopener noreferrer"&gt;github.com/ProfiDE/host2gateway&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Inside you'll find:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Installation instructions&lt;/li&gt;
&lt;li&gt;Configuration guide&lt;/li&gt;
&lt;li&gt;How to contribute (good first issues available!)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🤝 Open Source Needs You
&lt;/h2&gt;

&lt;p&gt;host2gateway is still young. If you're into:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;PHP&lt;/li&gt;
&lt;li&gt;Networking&lt;/li&gt;
&lt;li&gt;Cybersecurity&lt;/li&gt;
&lt;li&gt;Or just love tinkering&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;...come take a look. Open an issue. Submit a PR. Or just star the repo ⭐&lt;/p&gt;

&lt;p&gt;Every contribution helps. &lt;/p&gt;

</description>
      <category>php</category>
      <category>showdev</category>
      <category>opensource</category>
      <category>networking</category>
    </item>
  </channel>
</rss>
