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.
-
Download
-
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 -
Assign
- Open the node admin page
http://YOUR_NODE_IP:1991and sign in with the administrator credentials set at startup. - Under “IP/Port Management,” confirm the public IP is in the pool. If not, select “Add IP” and enter it.
- Go to “User Management” and select “Add User.” Choose the public IP, add the ports to expose, then create the user.
- Copy the generated connection password. If the gateway is stopped, start it from “Dashboard.” Enter the node's public IP and password in the LAN command below.
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.
- Open the node admin page
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.
-
Download
-
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 -
Verify
ifconfig | grep omyIf 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?
| Endpoint | Supported Linux distributions |
|---|---|
| WAN (Public node) | |
| LAN (Private network) |
Feedback
Found a bug or have a suggestion? Write it down; we read submissions on the server.