# Run BGP Across a Firewall

DevFeed: [Run BGP Across a Firewall](<https://devfeed.tech/articles/run-bgp-across-a-firewall-11133.md>)

Original publisher: [Read original article](<https://blog.ipspace.net/2025/02/bgp-labs-ebgp-multihop/>)

Published: 2025-02-21T07:29:00Z

Content type: tutorial

Language: en

Sources: [ipSpace.net blog](<https://devfeed.tech/sources/ipspace-net-blog.md>)

Topics: [BGP](<https://devfeed.tech/topics/bgp.md>), [Firewall](<https://devfeed.tech/topics/firewall.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [GitHub](<https://devfeed.tech/topics/github.md>)

Tags: [bgp](<https://devfeed.tech/tags/bgp.md>), [firewall](<https://devfeed.tech/tags/firewall.md>), [github](<https://devfeed.tech/tags/github.md>), [linux](<https://devfeed.tech/tags/linux.md>), [netlab](<https://devfeed.tech/tags/netlab.md>)

## AI overview

This tutorial presents a lab exercise for establishing an EBGP multihop session across a layer-3 firewall simulated by a Linux host. It explains how to launch the lab in a browser with GitHub Codespaces and start it with netlab.

## Source excerpt

When I asked my readers what they would consider a good use case for EBGP multihop (thanks again to everyone who answered!), many suggested running BGP across a layer-3 firewall (Running BGP across a "transparent" (bump-in-the-wire) firewall is trivial). I turned that suggestion into a lab exercise in which you have to establish an EBGP multihop session across a "firewall" simulated by a Linux host. If you haven't set up your own lab infrastructure, click here to start the lab in your browser using GitHub Codespaces. After starting your codespace, change the directory to basic/e-ebgp-multihop and execute netlab up.