# How to configure BGP neighborship behind firewall

**URL:** <https://forum.networklessons.com/t/how-to-configure-bgp-neighborship-behind-firewall/13619>\
**Category:** ASA\
**Created:** [February 14, 2021, 9:32pm UTC](https://forum.networklessons.com/t/how-to-configure-bgp-neighborship-behind-firewall/13619 "2021-02-14T21:32:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kisangap](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/k/da6949/32.png) [@kisangap](https://forum.networklessons.com/u/kisangap)\
**Post date:** [February 14, 2021, 9:32pm UTC](https://forum.networklessons.com/t/how-to-configure-bgp-neighborship-behind-firewall/13619/1 "2021-02-14T21:32:47Z")

</div>

Despite the fact that tcp 179 has been allowed through the ASA firewall, BGP neighborship is still not establishing. Is there a reason? There is still no connection between both BGP neighbors. What could the reason be? What is the solution?

---

<div class="post-metadata">

**Author:** ![lagapidis](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/lagapidis/32/4949_2.png) [@lagapidis](https://forum.networklessons.com/u/lagapidis)\
**Post date:** [February 17, 2021, 6:21am UTC](https://forum.networklessons.com/t/how-to-configure-bgp-neighborship-behind-firewall/13619/2 "2021-02-17T06:21:02Z")

</div>

Hello Patrice

The first thing that comes to mind is that if you are trying to establish an eBGP connection through a firewall, you must enable ebgp multihop, since you are adding a hop between the two devices. I’m assuming the devices for which you are creating the BGP neighbor adjacency are one behind the firewall and one in front of it… Take a look at this lesson:

> **[EBGP Multihop](https://networklessons.com/bgp/ebgp-multihop)**
>
> eBGP uses a TTL of 1 by default which means that neighbors should be directly connected. This lesson explains how you can change this on Cisco IOS.

Try this out, and if that’s not it, give us some more information about your topology so that we can help you investigate further.

I hope this has been helpful!

Laz
