For many cruisers, staying online is no longer a luxury. You may need the internet to work remotely, download weather forecasts, keep in touch with family or simply plan the next anchorage. Marina and waterfront WiFi signals are often too weak to reach a boat at anchor with a phone or laptop, but a long-range WiFi system with an external antenna can pick up networks from much farther away.

This guide shows how to build and install a simple, affordable long-range WiFi system using an outdoor omnidirectional antenna, a Ubiquiti Bullet radio and an ordinary WiFi router, and how to configure it so every device on board can share the connection.

Diagram of how a long-range WiFi system on a boat works

How the System Works

The outdoor antenna and the Bullet radio act as a powerful WiFi client. They connect to a distant shore-based hotspot, such as a marina or café network. The Bullet then passes that connection by Ethernet cable to a router inside the boat, which creates your own private WiFi network. Your phones, tablets and laptops connect to your onboard router as they would at home.

Mounting the radio directly at the base of the antenna keeps the antenna cable as short as possible, which minimizes signal loss compared with systems that run a long coaxial cable from the antenna down to a radio inside the boat. Only an Ethernet cable runs into the cabin, carrying both data and power.

Graph showing long-range WiFi signal path from shore hotspot to boat

Parts List

  • Outdoor omnidirectional WiFi antenna for 2.4 GHz with an N-type connector. A mid-gain antenna (around 8 to 12 dBi) is a good all-round choice on a moving boat.
  • Ubiquiti Bullet radio (the original project used a Bullet 2HP for 2.4 GHz), which screws directly onto the antenna’s N-type connector.
  • Power over Ethernet (PoE) injector that matches the voltage your radio needs. Bullet M-series radios use 24V passive PoE; on a 12V boat, choose a PoE injector or converter that runs on 12V DC.
  • Outdoor-rated Cat 5e or Cat 6 Ethernet cable, ideally UV-resistant and shielded.
  • WiFi router for inside the boat. A 12V-compatible travel or marine router is ideal; a household router works if you can power it safely from 12V.
  • 12V-to-5V (or appropriate voltage) DC converter if your router runs on low-voltage DC (optional).
  • RJ45 connectors and a crimp tool (optional, but makes cable runs much easier).
  • Waterproof cable gland for taking the cable through the deck or cabin top (optional).

Step 1: Mount the Antenna

Choose a mounting spot that is clear of other metal fittings, antennas and obstructions. A stern rail, arch or the frame of the bimini top are common choices. We mounted ours aft, on the bimini frame.

Higher is usually better for line of sight to shore, so the masthead might seem ideal. The trade-off is motion: the top of the mast swings through a large arc as the boat rolls, which can make the signal drop in and out. A higher-gain omni antenna has a flatter, narrower beam vertically, so if you mount high, a lower-gain antenna (with a wider beam but slightly less range) may work better.

Most antennas come with U-bolts that fit a standard 1-inch stainless rail. If you mount on the mast, use appropriate stainless fasteners and seal the holes properly. Keep the antenna away from your VHF antenna and radar where possible.

Step 2: Attach the Bullet and Run the Cable

  1. Screw the Bullet directly onto the antenna’s N-type connector.
  2. Plug the Ethernet cable into the base of the Bullet and fit the weatherproof cover over the connection. You may need to run the cable through the cover before fitting a connector, which also makes it easier to pass the cable through the deck.
  3. Seal the connector with self-amalgamating tape for extra protection against salt and moisture.
  4. Route the cable into the boat through a waterproof cable gland, keeping it away from sources of chafe.
  5. Once inside, crimp a new RJ45 connector onto the cable end if you cut it.

Step 3: Install the Router and Wire the Power

Mount the router in a dry, ventilated place inside the cabin, ideally near your chart table or electrical panel. You will need a fused 12V supply.

Instead of running the router from an inverter, which wastes power, we wired the PoE injector and the router to the same breaker on the DC panel. One switch then turns on the whole system. If your router runs on 5V, power it through a 12V-to-5V converter. Check the router’s input voltage and current rating before buying a converter, use correctly sized wire, and fuse every circuit. If you are not confident with marine DC wiring, ask a marine electrician to help. See how to charge a sailboat battery for more on managing your power budget.

Boat WiFi network configuration with antenna, Bullet radio, PoE injector and router

Step 4: Configure the Router

Set up the router following the manufacturer’s instructions, usually through a web page or app. When you are done, you should have:

  • Given your network a unique name (SSID).
  • Enabled modern security: WPA2 or WPA3. Avoid WEP, which is obsolete and easy to break.
  • Changed the router’s default admin password and recorded the new one somewhere safe.

Then connect the router’s internet/WAN port to the LAN (network) port of the PoE injector.

Step 5: Configure the Bullet

The Bullet is configured through its web interface (airOS) from a laptop connected directly to it by cable. Menu names vary slightly between firmware versions and operating systems, but the steps are the same.

Connect Your Laptop

  1. Connect the Bullet to your laptop’s Ethernet port through the PoE injector.
  2. Temporarily turn off your laptop’s WiFi.
  3. Open your network adapter settings and set a static IPv4 address on the wired connection in the same range as the Bullet. Bullet M-series radios ship with the default address 192.168.1.20, so use 192.168.1.21 for your laptop, subnet mask 255.255.255.0 and 192.168.1.20 as the gateway.
Network adapter settings on a laptop for configuring a boat WiFi radio
Static IP settings for connecting to the Ubiquiti Bullet radio

Set Up airOS

  1. Open a web browser and go to 192.168.1.20. The Bullet’s status lights should show power and a network connection.
  2. Log in with the default username and password (ubnt / ubnt on older firmware). Newer firmware asks you to create new credentials straight away; otherwise set a new username and password on the System tab. Do not leave the default login in place.
  3. On the Network tab, set the network mode to Router, with the WAN side obtaining its address by DHCP. On the LAN side, give the Bullet an address on a different subnet, for example 192.168.100.20 with netmask 255.255.255.0, enable NAT, and enable the DHCP server with a range such as 192.168.100.100 to 192.168.100.200. Click Change, but do not click Apply yet.
  4. On the Advanced tab, enable noise immunity and set the distance or ACK timeout to auto-adjust. Click Change.
  5. On the Wireless tab, set the wireless mode to Station and adjust the output power (maximum is fine for most uses, but stay within local regulatory limits). Click Change and then Apply.
  6. The Bullet now lives at its new address (192.168.100.20 in this example), so your laptop will lose the connection. Set your laptop’s wired connection back to obtain an IP address and DNS automatically.

If you applied the settings too early and lost the connection, set your laptop to a static address on the new subnet (for example 192.168.100.21) and log in again at 192.168.100.20.

Step 6: Connect Everything and Find a Network

  1. Disconnect the laptop and plug the router into the PoE injector as described in Step 4.
  2. Power up the system and connect your phone, tablet or laptop to your onboard WiFi network. At this point you are connected to your router but not yet to the internet.
  3. Open a browser and go to the Bullet’s new address (192.168.100.20) and log in.
  4. On the Wireless tab, click Select next to the SSID field to open the site survey. It lists the networks in range with their signal strength and encryption.
  5. Signal strength is shown in negative dBm: the closer to zero, the stronger. For example, -60 dBm is much better than -85 dBm.
  6. Select a network, enter its password if it is secured, click Change and then Apply. Once connected, every device on your boat’s network has internet access.

From now on, whenever you arrive somewhere new, just log in to the Bullet, run the site survey and pick the best network available. If a network requires a login page (a captive portal), open any website on your device to bring it up. Only connect to networks you have permission to use: buy access from the marina, or ask the café ashore for the password over a coffee.

Security Tips

  • Treat public hotspots as untrusted. Use HTTPS websites and consider a VPN for sensitive work.
  • Keep the firmware on your router and Bullet up to date.
  • Use strong, unique passwords for the router and the Bullet.

Other Ways to Get Online on a Boat

Long-range WiFi is cheap to run and great in marinas and busy anchorages, but it depends on there being a hotspot in range. Many cruisers combine it with a cellular router and an external antenna for coastal areas with mobile coverage, and satellite internet systems now offer broadband speeds even offshore, although at a higher cost. For more about life on board, see our tips for living on a sailboat and our guide to cruising sailboat equipment essentials.

Long-Range Boat WiFi: Summary

A long-range WiFi system with an external omni antenna, a Bullet radio mounted at the antenna and an onboard router lets you pick up shore-based hotspots from much farther away and share the connection with every device on your boat. Mount the antenna clear of obstructions, keep the radio close to the antenna, wire the power safely from your 12V system, secure the network properly, and you will be able to work, check the weather and stay in touch from many anchorages.