# How to add AWS Load balancer host in Pritunl route

**URL:** <https://forum.pritunl.com/t/how-to-add-aws-load-balancer-host-in-pritunl-route/1488>\
**Category:** Pritunl VPN\
**Tags:** pritunl\
**Created:** [October 20, 2023, 7:35am UTC](https://forum.pritunl.com/t/how-to-add-aws-load-balancer-host-in-pritunl-route/1488 "2023-10-20T07:35:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anujscanova](https://forum.pritunl.com/user_avatar/forum.pritunl.com/anujscanova/32/623_2.png) [@anujscanova](https://forum.pritunl.com/u/anujscanova)\
**Post date:** [October 20, 2023, 7:35am UTC](https://forum.pritunl.com/t/how-to-add-aws-load-balancer-host-in-pritunl-route/1488/1 "2023-10-20T07:35:04Z")

</div>

I’m using a self-hosted Pritunl server.

As of now, the only route configured is `0.0.0.0/0` which allows all internet traffic to go through the VPN.

I want to allow only production server traffic through Pritunl which is using AWS Load Balancer, which only gives DNS, not IP address

```auto
example-876782983.us-west-2.elb.amazonaws.com

```

Same as ALB, I also want to allow traffic to the production database on AWS RDS, which also provides only a DNS address same as ALB.

How can I configure the route in these scenarios?

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [October 25, 2023, 10:29am UTC](https://forum.pritunl.com/t/how-to-add-aws-load-balancer-host-in-pritunl-route/1488/2 "2023-10-25T10:29:39Z")

</div>

Domains can’t be added to the routes. The `0.0.0.0/0` route would need to be removed and the IP address for the domain can be added.
