Assign a public IP to the network interface of a Linux device on your private network, so its services are accessible from the internet.

Get started
$ ifconfig

eth0     inet 192.168.1.10

omy0  inet 123.45.67.89

Features

  • Free forever, no account registration

    Deploy your own node, create a client user in its admin console, then connect with the node address and password.

  • Public IP directly on your interface

    The public IP is configured on the omy0 TUN interface and can be checked with ifconfig or ip addr.

  • Supports TCP / UDP and more

    TCP and UDP services on assigned ports work out of the box; the node administrator can enable ICMP.

  • Web console, easy IP and port allocation

    Manage your node in a browser: assign public IPs and ports, create users, and get connection passwords for a more intuitive setup.

  • Self-hosted nodes, secure traffic

    Deploy the node on your own Linux server with a public IP. Traffic passes through your server, so you control the node and data path.

  • Secure and worry-free, easy to use

    A single executable with Docker deployment support and no extra dependencies. Deploy the node first, then download and run the client on x86-64, arm64, x86 (32-bit), or arm32 Linux devices.

Step 1: Deploy the node (WAN)

Deploy the node on a Linux server with a public IP, then connect your client.

Bandwidth: ohmyip-wan nodes come with a base bandwidth allocation by default. Recharge cards can be purchased to increase node bandwidth.

  1. Download

    Download node

    ohmyip-wan-2.0-x64.tar.gz15.3 MBSHA-256 a8ea9987efbd1a8fac0227a69218cc56b9d045c8f267e69c0b9b63cb9b5f1d48

  2. Run

    tar -xzf ohmyip-wan-2.0-x64.tar.gz
    
    chmod +x ohmyip-wan
    
    sudo ./ohmyip-wan --tunnel-listen 1991 \
      --web-listen 0.0.0.0:1991 \
      --admin-user admin --admin-pass 'admin123' \
      --try
  3. Assign

    Find [Try] password=... in the node's terminal logs, or open http://YOUR_NODE_IP:1991 and sign in to the Web admin page. Under “User Management,” find the user and click the eye icon to reveal or “Copy” to copy its connection password.

Step 2: Connect a private-network Linux device (LAN)

Once your node is running, download and run the LAN connection program on your private-network Linux device.

  1. Download

    Download LAN connection program

    ohmyip-lan-2.0-x64.tar.gz7.0 MBSHA-256 eac6ed8455da51353d0782cf28a8dbc9fc7970066110a47b2bd59ff00f32a9b6

  2. Run

    tar -xzf ohmyip-lan-2.0-x64.tar.gz
    
    chmod +x ohmyip-lan
    
    sudo ./ohmyip-lan \
      -server YOUR_NODE_IP:1991 \
      -password YOUR_PASSWORD
  3. Verify

    ifconfig | grep omy

    If the assigned IP shows up, you're done.

FAQ

Does the public IP really show up in ifconfig?

Yes. The client configures the assigned address on a newly created virtual network interface whose name starts with omy. You can check it with ifconfig or ip addr. With a cloud EIP mapping, the interface may show the corresponding private address.

What can I serve?

SSH, websites and any TCP / UDP service on assigned ports. The node administrator can also enable ICMP. FTP active mode is not supported.

Where does the traffic go?

Through the public node, over a ChaCha20-Poly1305 encrypted UDP tunnel. Speed depends on bandwidth and latency at both ends.

What are recharge cards for, and how do I use them?

Recharge cards provide bandwidth entitlements for a node. The node administrator imports a .vpcard file in the management console. Bandwidth from multiple active cards adds up, with each card valid until its own expiry date; actual speed still depends on server bandwidth and network conditions. Client devices connect using the credentials created by the node administrator.

How does it compare with frp, Tailscale, and ZeroTier?

frp focuses on exposing local services through port forwarding. Tailscale and ZeroTier focus on connecting devices in a virtual network. oh my ip focuses on configuring the node-assigned IP on the Linux omy0 interface, making TCP / UDP services publicly reachable on assigned ports. Choose based on whether you need port forwarding, device networking, or public access to services.

Will it affect services already running on the public-facing WAN side?

No. Unassigned ports stay with the host, and the node automatically skips TCP ports already in use at startup. For UDP services or anything started later, just add them under “Reserved Ports” in the admin page.

Does this make the internal server less secure?

It can be, if left unprotected. Traffic allowed by WAN rules reaches your server directly, exposing any service listening on 0.0.0.0 or omy0. Since ohmyip-lan doesn't set up a firewall, only assign the ports you need, restrict access with iptables or nftables, and bind internal-only services to 127.0.0.1 or your private IP.

Can it support servers that dynamically allocate media/relay ports, such as Asterisk, FreeSWITCH, and coturn?

Yes. Assign the needed port range (or the entire public IP) in the WAN admin page, then configure the service to use that range and listen on—and advertise—the public IP on omy0.

How is oh my ip different from a VPN?

A VPN connects devices into a private network, so visitors usually need the VPN client too. oh my ip puts a public IP directly on your LAN server's omy0 interface, letting anyone on the internet reach your services on assigned ports without installing a VPN.

Which Linux distributions and versions are supported on WAN and LAN?
EndpointSupported Linux distributions
WAN (Public node)
  • Arch Linux
  • CentOS 8+
  • Debian 11+
  • Ubuntu 22+
  • musl (e.g. Alpine)
LAN (Private network)
  • CentOS 7+
  • Debian 9+
  • Ubuntu 14+
  • musl (e.g. Alpine)
Feedback