How to build a long-distance WiFi bridge yourself

Establishing a wireless connection between two remote sites is a task that requires precision and an understanding of the physical processes of radio wave propagation. Often, laying fiber optic cable is impossible due to difficult terrain, high-cost excavation work, or the lack of rights to lay cable across unauthorized territory. In such cases, the only reasonable solution is to create a directional radio channel, commonly known as a "WiFi bridge."

Implementing such a project yourself is entirely feasible for someone with basic computer networking knowledge and the ability to carefully install equipment at height. The key factor in success here is not so much the transmitter power as the quality of the antennas and, most importantly, their precise alignment. Line of sight between the points is the foundation, without which the whole undertaking is doomed to failure, since radio waves in the 2.4 and 5 GHz ranges practically do not bend around obstacles.

In this article, we'll cover all the steps involved in creating a long-range communication channel: from selecting the right equipment and calculating the Fresnel zone to fine-tuning security and speed protocols. You'll learn why the 5 GHz frequency is preferable for long distances, how to protect antennas from lightning, and what to do if trees partially block your view. Building your own bridge will save you significant costs over the provider's "last mile" connection.

Choosing Equipment: Why 5 GHz is Better for Long Range

The first thing to decide before starting work is the operating frequency range. For bridges spanning distances of 1 kilometer and above, the de facto standard frequency 5 GHzUnlike the congested 2.4 GHz band, where microwaves, Bluetooth headsets, and neighbors' routers operate, the 5 GHz band offers cleaner air and wider data transmission channels. This is critical for ensuring stable speeds, especially if the channel will be used for video surveillance or VoIP telephony.

When choosing devices, pay attention to the MIMO (Multiple Input Multiple Output) option. Modern access points use this technology. 2x2 MIMO or 3x3 MIMO, which allows for the transmission of multiple data streams simultaneously, increasing channel capacity. For a bridge 3-5 kilometers long, devices with a transmitting power of 23-27 dBi are sufficient. Purchasing high-power industrial antennas for a summer cottage is often unnecessary, as they are more difficult to accurately adjust, and excess power can lead to intermodulation distortion.

⚠️ Attention: Make sure the equipment you choose is certified for use in your country. Some regions have strict limits on maximum power output in the 5 GHz band, and using illegal boosters can result in fines from regulatory authorities.

Antenna polarization is also important to consider. Most modern bridging devices use vertical or dual polarization. If you're connecting devices from different manufacturers, ensure their antenna systems are compatible; otherwise, signal loss can reach 20 dB, which translates to a tens-fold reduction in range.

📊 What frequency range are you planning to use?
2.4 GHz (for short ranges only)
5 GHz (optimal for bridges)
60 GHz (for ultra-short and fast links)
I don't know, I need help

Physics of Radio Waves: The Fresnel Zone and Line of Sight

Many beginners make the mistake of assuming that simply "seeing" the receiving antenna with the eye is enough for the bridge to work. However, radio waves do not propagate like a narrow laser beam, but in the form of an ellipsoid, known as Fresnel zoneFor a stable connection, this ellipsoid must be at least 60% clear of obstacles (trees, buildings, hills). If tree branches fall within the Fresnel zone, the signal will be scattered and reflected, causing periodic speed drops.

The radius of the Fresnel zone depends on the wavelength and the distance between the antennas. At 5 GHz, the Fresnel zone is narrower than at 2.4 GHz, which is an advantage because it requires less free space. However, at longer distances, even a small tree can become a critical obstacle. Before installation, be sure to use tools such as Google Earth with the construction of an elevation profile or specialized link calculators (Link Budget Calculator) to assess the situation.

If obstacles are unavoidable, such as treetops, consider mounting antennas on higher masts. Raising the antenna by 2-3 meters often solves the problem of signal attenuation in foliage. Keep in mind that leaves saturated with water after rain absorb 5 GHz radio waves much more strongly than dry branches in winter.

Formula for calculating the radius of the first Fresnel zone

The radius of the first Fresnel zone (in meters) is calculated using the formula: R = 17.32 sqrt(d / (4 f)), where d is the distance in kilometers and f is the frequency in GHz. For a distance of 5 km at 5 GHz, the radius is approximately 8.6 meters. This means that there should be no obstacles within 8.6 meters of the straight line between the antennas.

Antenna installation and lightning protection

Installing antennas on masts is the most critical step, requiring safety precautions. Antennas must be securely fastened to prevent wind gusts from causing them to swing, which could lead to a broken connection. Use stainless steel clamps and lightning rods. An antenna mounted on a roof or elevated surface is an ideal target for lightning, and a lack of grounding can destroy not only the equipment but also all wiring in the house.

To protect your equipment, use lightning arrestors (lightning arrestors) installed in the cable running from the antenna to the router. One end of the arrestor is connected to the antenna cable, and the other to a good ground. It's also recommended to run the Ethernet cable running indoors through a surge protector or fiber optic converter to prevent high potential transfer via the twisted pair.

  • 🛠️ Fasteners: Use brackets that allow for wide antenna tilt and rotation adjustment. Ensure the bracket is securely mounted to prevent vibration from disturbing the antenna's settings.
  • Grounding: The ground loop resistance should be kept to a minimum. Use a copper busbar and deep ground electrodes.
  • 💧 Waterproofing: All outdoor connectors (N-type or RP-SMA) must be carefully sealed with electrical tape and heat shrink or special caps. Moisture entering the connector will cause corrosion and a sharp drop in signal strength (SWR).

☑️ Check before climbing the mast

Completed: 0 / 5

Setting up equipment and selecting protocols

After physical installation, it's time for software configuration. Most modern devices (Ubiquiti AirMAX, MikroTik, TP-Link CPE) have a web interface for configuration. The first step is always changing the default administrator password and updating the firmware to the latest version. To establish a bridge, you need to put the devices into bridging mode. Bridge (Bridge). One point will operate in Access Point (AP) mode, and the second in Station (Client) mode.

The most important parameter is channel width. For maximum range and stability, it's best to choose a channel width 20 MHz or 40 MHzAlthough the 802.11ac standard allows for 80 MHz, over long distances in noisy environments, a narrow channel will provide better signal strength (SNR) and lower susceptibility to interference. It is also recommended to disable all unnecessary features, such as NAT, DHCP (client-side), and unused wireless interfaces, to reduce the load on the device's processor.

⚠️ Attention: Settings interfaces and menu item names may vary depending on the firmware version and manufacturer. Always consult the official documentation (Wiki) for your specific device model before changing critical settings.

To encrypt your traffic, be sure to use the protocol WPA2-AES or WPA3Using outdated WEP or an open network is unacceptable, as it allows anyone to intercept your traffic or use your connection for illegal activities. Set a strong password in your security settings and, if possible, bind the connection by MAC address (MAC Filtering) for additional protection.

Precise antenna pointing (Alignment)

The most difficult step is precisely aligning the antennas. The radiation pattern of sector antennas is very narrow at long distances, and even a half-degree misalignment can result in complete signal loss. You need to start with rough alignment using a compass or map, then move on to fine-tuning. For this, you'll need a second person with a radio (or phones) and access to the receiving end's web interface.

You need to focus not only on the signal level (RSSI), but also on the parameter CCQ (Client Connection Quality) or SNR (Signal-to-Noise Ratio). A high signal level with a low CCQ indicates strong interference or reflections. Move the antenna slowly, 1-2 mm at a time, waiting 10-15 seconds for the statistics to update. Record the position when the readings reach their maximum.

The table below shows approximate signal strength values ​​for different distances that you should aim for under ideal conditions:

Distance Expected signal level (dBm) Communication Quality (CCQ) Recommended channel width
1 km -35... -45 95-100% 40-80 MHz
3 km -50... -60 90-98% 20-40 MHz
5 km -60... -70 85-95% 20 MHz
10 km+ -70... -80 80-90% 10-20 MHz

After securing the antennas, be sure to tighten all mounting bolts again. Temperature changes can cause the mast metal to expand or contract, causing micro-shifts. It's recommended to recheck the signal strength a week after installation, as trees may have grown or the fasteners may have loosened.

Troubleshooting and Speed ​​Optimization

Even a perfectly tuned bridge can encounter problems during operation. Interference from new sources or vegetation growth is a common cause of instability. If you notice a drop in speed, run the built-in Spectrum Analyzer tool. It will show which frequencies are hosting unwanted signals and allow you to switch your channel to a clearer frequency.

Polarization is also worth paying attention to. If you're using dual-polarized antennas, make sure they're mounted identically on both sides (for example, both horizontally or both vertically). Cross-polarization (one horizontally, the other vertically) will result in a 20 dB signal attenuation, which will effectively "kill" the link.

  • 📉 Speed ​​drop: Check if your ISP or equipment settings have enabled a rate limit. Make sure the duplex is set correctly (Auto or Full).
  • 🌲 Influence of nature: Tree foliage close to the antenna can "breathe" in the wind, causing periodic signal fading. In this case, raising the antenna above the tree canopy will help.
  • 🔌 PoE issues: If your equipment reboots intermittently, check the power supply and cable. Over long distances (>80 meters), voltage drop in the cable can be critical. Use a cable with a cross-section of at least 0.5 mm² (24 AWG or thicker).

In conclusion, building a WiFi bridge is a fascinating engineering project that gives you independence from ISPs. Following installation guidelines, carefully selecting equipment, and patience during setup will guarantee fast and stable internet even in the most remote locations.

What to do if trees completely block visibility?

If raising the antennas higher is not feasible and cutting down trees is unavoidable, consider using a repeater at an intermediate point with visibility. Alternatively, you can try using the 900 MHz frequency (if the equipment allows it and licenses are available), which has better obstacle avoidance but has a much lower throughput.

Is it possible to use regular routers with antennas to create a bridge?

Technically possible, but highly not recommended for distances greater than 300-500 meters. Standard routers lack highly directional antennas, their reception power is lower, and their software isn't optimized for long-distance bridging (TDMA protocols). Dedicated access points (CPEs) provide stability unmatched by consumer routers.

What cable is best to use to connect the antenna?

To connect outdoor antennas, you must use a specialized cable with low attenuation, for example, RG-6 double shielded or professional LMR-400 (or its 50-ohm equivalent). A standard twisted-pair network cable indoors is unsuitable for carrying radio frequency signals, and a standard 75-ohm television cable will create impedance mismatches and signal loss.

Do I need to register a WiFi bridge with Roskomnadzor?

In the Russian Federation, using equipment in the 2.4 GHz and 5 GHz bands with a radiated power of up to 100 mW (20 dBi) and antennas with a gain of up to 6 dBi does not require registration. However, if you use powerful antennas (e.g., 24 dBi) and transmitters, the total power may exceed the permitted unlicensed limit. In such cases, a permit is formally required, although in practice, monitoring of private connections is rarely carried out unless they interfere with intelligence agencies.

Why does the bridge work during the day but collapse at night or in fog?

This may be due to thermal deformation of the masts (the sun heats them during the day, causing the mast to bend, then cool and return to its original position at night). Also, in fog or rain, the 5 GHz signal attenuates more due to absorption by water droplets. If this problem persists, installing antennas with a higher gain or switching to a lower frequency may be necessary.