> For the complete documentation index, see [llms.txt](https://yall.yassrobotics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yall.yassrobotics.com/documentation/how-to-guides/how-do-i-forward-usb-ports.md).

# How do I forward USB ports?

Limelight 3A/3G units connected over USB (rather than the robot network) need port forwarding through the roboRIO before their web interface or video stream is reachable from a driver station laptop.

## Set up forwarding once, at robot init

```java
@Override
public void robotInit() {
    Limelight.setupPortForwardingUSB(0); // first USB-connected Limelight
}
```

For a second USB-connected Limelight, use index `1`, and so on. Each index maps to its own IP (`172.29.<index>.1`) and port block.

## Accessing the web UI

| USB index | IP forwarded from      | Web UI URL                             |
| --------- | ---------------------- | -------------------------------------- |
| `0`       | `172.29.0.1:5800-5809` | `http://roboRIO-<team>-FRC.local:5801` |
| `1`       | `172.29.1.1:5810-5819` | `http://roboRIO-<team>-FRC.local:5811` |

The port offset within each block (`+1` for the web UI) matches the Limelight's own documented port layout — `setupPortForwardingUSB` just forwards the whole 10-port block per camera.

## See Also

* Limelight#setupPortForwardingUSB


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://yall.yassrobotics.com/documentation/how-to-guides/how-do-i-forward-usb-ports.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
