# Quick how-to for firewall bouncer on Ubiquity EdgeRouter

**URL:** <https://discourse.crowdsec.net/t/quick-how-to-for-firewall-bouncer-on-ubiquity-edgerouter/361>\
**Category:** crowdsec\
**Created:** [November 25, 2021, 7:13pm UTC](https://discourse.crowdsec.net/t/quick-how-to-for-firewall-bouncer-on-ubiquity-edgerouter/361 "2021-11-25T19:13:56Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![modem7](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/modem7/32/298_2.png) [@modem7](https://discourse.crowdsec.net/u/modem7)\
**Post date:** [January 29, 2023, 5:37am UTC](https://discourse.crowdsec.net/t/quick-how-to-for-firewall-bouncer-on-ubiquity-edgerouter/361/21 "2023-01-29T05:37:50Z")

</div>

Do we know if this works on the UDMP?

---

<div class="post-metadata">

**Author:** ![PhilBro](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/philbro/32/653_2.png) [@PhilBro](https://discourse.crowdsec.net/u/PhilBro)\
**Post date:** [August 10, 2023, 12:15pm UTC](https://discourse.crowdsec.net/t/quick-how-to-for-firewall-bouncer-on-ubiquity-edgerouter/361/22 "2023-08-10T12:15:19Z")

</div>

Thank you so much, this worked wonderfully on my EdgeRouterX. The only change I had to make was to install a newer version of Golang GO because 1.15 was installed when following this guide.

---

<div class="post-metadata">

**Author:** ![IronBeardKnight](https://avatars.discourse-cdn.com/v4/letter/i/f19dbf/32.png) [@IronBeardKnight](https://discourse.crowdsec.net/u/IronBeardKnight)\
**Post date:** [November 26, 2023, 12:52pm UTC](https://discourse.crowdsec.net/t/quick-how-to-for-firewall-bouncer-on-ubiquity-edgerouter/361/23 "2023-11-26T12:52:45Z")

</div>

Hey Guys if your having issues and want to do this for the UDMP then some information that may be of help.

If you are building a Go application for a Quad-core ARM® Cortex®-A57 architecture, you can set the `GOARCH` environment variable accordingly. The appropriate value for ARM architecture would be `arm64` for 64-bit ARM architecture. Here’s how you can modify the commands:

* * *

## export GOOS=linux export GOARCH=arm64 # Set to arm64 for Quad-core ARM® Cortex®-A57 make

This assumes that your Go toolchain is configured to cross-compile for ARM64. Make sure that you have the necessary toolchain installed for ARM64 compilation.

These commands instruct Go to build the application for the Linux operating system (`GOOS=linux`) and the ARM64 architecture (`GOARCH=arm64`). The resulting binary can then be executed on a system with a Quad-core ARM® Cortex®-A57 processor.

Make sure to adjust the commands based on your specific requirements and the toolchain available on your development machine.

To set up the Go toolchain for cross-compiling to ARM64, you’ll generally need to make sure that you have the appropriate Go environment variables and, if necessary, the required ARM64 toolchain. Below are the general steps:

1. **Install ARM64 Toolchain (if not already installed):**

- On Linux, you may need to install the ARM64 cross-compiler toolchain. For example, on Ubuntu, you can install it with:

* * *

## sudo apt-get update sudo apt-get install gcc-aarch64-linux-gnu

1. **Set Environment Variables:**

- Set the `GOOS` and `GOARCH` environment variables to specify the target operating system and architecture. For ARM64, you would set:

* * *

## export GOOS=linux export GOARCH=arm64

---

<div class="post-metadata">

**Author:** ![iiAmLoz](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/iiamloz/32/386_2.png) [@iiAmLoz](https://discourse.crowdsec.net/u/iiAmLoz)\
**Post date:** [November 27, 2023, 11:25am UTC](https://discourse.crowdsec.net/t/quick-how-to-for-firewall-bouncer-on-ubiquity-edgerouter/361/24 "2023-11-27T11:25:28Z")

</div>

Locking issue as stale and there is multiple answers on how to achieve it

---

<div class="post-metadata">

**Author:** ![iiAmLoz](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/iiamloz/32/386_2.png) [@iiAmLoz](https://discourse.crowdsec.net/u/iiAmLoz)\
**Post date:** [November 27, 2023, 11:25am UTC](https://discourse.crowdsec.net/t/quick-how-to-for-firewall-bouncer-on-ubiquity-edgerouter/361/25 "2023-11-27T11:25:31Z")

</div>

Closed on November 27, 2023, 11:25am UTC



[Previous page](https://discourse.crowdsec.net/t/quick-how-to-for-firewall-bouncer-on-ubiquity-edgerouter/361.md?page=1)
