An ASN and a BGP session are only needed to announce address space yourself. Most people who want a public IPv4 address just want it to work, and there are two practical ways to get one without touching a registry at all.
Either ask whoever already hosts the server, or route one through a tunnel when nobody is hosting it for you yet. This guide covers both, with the actual setup steps and the mistakes that make a routed address look configured while it still fails.
Your server already has a host
A VPS, dedicated server, or cloud instance sits on a network the host already announces. Adding another public IPv4 there is normally a support ticket or a panel click, never a registry transaction.
| Host | How to get another IP |
|---|---|
| AWS | Allocate an Elastic IP and associate it with the instance. |
| Hetzner | Order an additional IPv4 from the server's panel. |
| DigitalOcean | Create a Reserved IP and assign it to the droplet. |
None of this touches BGP. The host already announces its space, so adding an address just extends what it routes to the account.
Rent a public IPv4 without an ASN
A home connection, a machine with no host willing to hand out more addresses, or a server that needs an address independent of its current provider all share the same gap: nobody is announcing a route on its behalf. A routed-tunnel provider closes that gap. It keeps the announcement on its own network and delivers the address to the server over a tunnel.
wg0, and replies leave the same way.Checking whether this applies takes a minute: compare the address the router shows with what a public IP checker reports from outside. A mismatch, or a router address inside 100.64.0.0/10, means CGNAT is in the way. The full check is in Why CGNAT stops you hosting a server at home.
Choosing a tunnel protocol
All three protocols can carry a routed address. They differ in what they need from the connection on the customer's end.
| Protocol | Encrypted | Behind CGNAT | Best for |
|---|---|---|---|
| GRE | No | Only with a stable public IP on one side | Lowest overhead, simple networks |
| IPsec | Yes | Yes, with NAT-T | Interop with existing firewalls or routers |
| WireGuard | Yes | Yes, the server initiates outbound | Home connections and CGNAT |
Most home and CGNAT setups end up on WireGuard for that third row. The full protocol comparison, MTU and key management included, is in GRE vs. WireGuard.
Setting it up in five steps
- Confirm the problem is real. Compare the router's WAN address with a public IP checker before configuring anything.
- Pick a protocol. WireGuard for most CGNAT connections, GRE when the server already has a stable public IP to tunnel from.
- Order the tunnel and the address. A routed-tunnel provider issues both together, with no registry membership or ASN involved.
- Configure the tunnel and the return route. The server needs a policy route so traffic sourced from the new address leaves through the tunnel, not the default connection. The command-by-command version is in How to get a public IP for a home server.
- Test from outside the network. A phone on mobile data, not a laptop on the same Wi-Fi, is the only test that actually proves the address is reachable.
Mistakes that make it look broken
- No return route. The tunnel accepts inbound traffic but replies leave through the regular connection instead, so nothing ever comes back.
- No keepalive on the CGNAT side. WireGuard's NAT mapping expires when the tunnel sits idle, and the next inbound connection has nowhere to land.
- Testing from inside the same network. A local test can succeed over the LAN while the public path is still broken.
- A firewall rule scoped to the wrong interface. The service port has to be open on the tunnel interface specifically, not just on the one the server used before.
- Assuming the address moves itself. A routed address stays where the tunnel points it. Changing servers or providers means repointing the tunnel, not editing DNS.
Getting the address itself
Several companies route addresses this way, compared in full in Best IPv4 providers in 2026. Taipan Transit is one of them, listing routed IPv4 at €0.70 per address per month with no minimum count, on tunnels from €2 a month, cheaper than the cloud and dedicated-hosting rates compared in What an IPv4 address costs in 2026. Every announcement carries a signed ROA, and a Letter of Authorization is available on request.
Order a GRE, IPsec, or WireGuard tunnel and a routed IPv4 address, no ASN and no registry step required.
Frequently asked questions
Can I get a public IPv4 address without an ASN?
Yes. A hosting provider can assign an address from its own space, and a routed-tunnel provider can announce an address from its space and deliver it to your server over a tunnel. Neither requires an ASN, because the provider does the announcing.
Do I need BGP to route a public IPv4 address?
No. BGP is how a network announces its own address space to the internet. When a hosting provider assigns an address, or a tunnel provider routes one to your server, the provider runs that announcement. BGP only becomes relevant if you plan to announce address space yourself.
Does my home router need a port forward for a routed tunnel?
No, when the server initiates the tunnel. A WireGuard tunnel started from the home server creates an outbound UDP session, and a keepalive keeps that session open, so the ISP router never needs an inbound port forward or a public WAN address.
Which tunnel protocol should I use behind CGNAT?
WireGuard, for most home and CGNAT connections, because the server can initiate it outbound and it carries its own encryption. GRE is simpler and lower-overhead but expects a stable public IPv4 on at least one side. IPsec suits environments that need to interoperate with existing firewall or router equipment.
Sources and related guides
- AWS: Elastic IP addresses
- DigitalOcean: Reserved IPs
- RFC 6598: shared address space for CGNAT
- WireGuard: Quick Start
- Taipan Transit: GRE vs. WireGuard
- Taipan Transit: how to get a public IP for a home server
- Taipan Transit: why CGNAT stops you hosting a server at home
- Taipan Transit: best IPv4 providers in 2026
- Taipan Transit: what an IPv4 address costs in 2026
