# Vigor DrayTek compatibility with GenieACS

**URL:** <https://forum.genieacs.com/t/vigor-draytek-compatibility-with-genieacs/717>\
**Category:** Uncategorized\
**Created:** [April 20, 2020, 8:10am UTC](https://forum.genieacs.com/t/vigor-draytek-compatibility-with-genieacs/717 "2020-04-20T08:10:16Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![gdepeyrot](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/gdepeyrot/32/201_2.png) [@gdepeyrot](https://forum.genieacs.com/u/gdepeyrot)\
**Post date:** [April 20, 2020, 8:10am UTC](https://forum.genieacs.com/t/vigor-draytek-compatibility-with-genieacs/717/1 "2020-04-20T08:10:16Z")

</div>

Hi,  
I am trying to integrate DrayTek Vigor VPN routers into GenieACS. I have installed a STUN server alongside GenieACS and CPE informing of GenieACS works fine with STUN server enabled. I have also opened the UDP and TCP ports for GenieACS access to the CPE.  
However, access to the CPE by GenieACS is not working.

Among the parameters informed by the CPE, I have:  
InternetGatewayDevice.ManagementServer.UDPConnectionRequestAddress 151.x.x.x:46838  
InternetGatewayDevice.ManagementServer.ConnectionRequestURL [http://192.168.100.246:8069/cwm/CRN.html](http://192.168.100.246:8069/cwm/CRN.html)

The connection request URL is the WAN address of the router on the LAN of the internet connection modem. The UDP connection address is the public IP address of the internet connection.

## And in the debug.yaml file, when I try to refresh the parameters of the CPE, I find (identifiers hidden with x):

event: outgoing UDP message  
timestamp: 2020-04-20T07:15:03.613Z  
remoteAddress: 151.x.x.x  
deviceId: 001DAA-Vigor2133ac-XXXXXXXXXXXX  
remotePort: 46838  
body: "GET  
[http://151.x.x.x:46838?ts=1587366903&id=2342349152&un=001DAA-Vigor2133ac-X](http://151.x.x.x:46838?ts=1587366903&id=2342349152&un=001DAA-Vigor2133ac-X)  
XXXXXXXXXXX&cn=xxxxxxxxxxxxxxxx&sig=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx  
HTTP/1.1\r

Host: 151.x.x.x:46838\r

## \r\n"

event: outgoing HTTP request  
timestamp: 2020-04-20T07:15:05.612Z  
remoteAddress: 192.168.100.246  
deviceId: 001DAA-Vigor2133ac-XXXXXXXXXXXX  
connection: null  
remotePort: “8069”  
method: null  
url: /cwm/CRN.html  
headers:  
host: 192.168.100.246:8069  
error: socket hang up

What do I need to change so that the WAN IP address of the CPE in the connection request URL is replaced by the public IP address of the internet connection ?

Thanks,  
Gilles

---

<div class="post-metadata">

**Author:** ![zaidka](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/zaidka/32/9_2.png) [@zaidka](https://forum.genieacs.com/u/zaidka)\
**Post date:** [April 26, 2020, 7:56pm UTC](https://forum.genieacs.com/t/vigor-draytek-compatibility-with-genieacs/717/2 "2020-04-26T19:56:44Z")

</div>

> [@gdepeyrot](#):
>
> What do I need to change so that the WAN IP address of the CPE in the connection request URL is replaced by the public IP address of the internet connection ?

The ACS should use the reported IP as-is. So that sounds like something that needs to be fixed somewhere else in the stack.

---

<div class="post-metadata">

**Author:** ![gdepeyrot](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/gdepeyrot/32/201_2.png) [@gdepeyrot](https://forum.genieacs.com/u/gdepeyrot)\
**Post date:** [April 27, 2020, 4:00pm UTC](https://forum.genieacs.com/t/vigor-draytek-compatibility-with-genieacs/717/3 "2020-04-27T16:00:08Z")

</div>

Ok. So what you mean is that the CPE is incorrectly reporting its connection request URL even though STUN detection is configured and enabled ?

---

<div class="post-metadata">

**Author:** ![zaidka](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/zaidka/32/9_2.png) [@zaidka](https://forum.genieacs.com/u/zaidka)\
**Post date:** [May 1, 2020, 10:55pm UTC](https://forum.genieacs.com/t/vigor-draytek-compatibility-with-genieacs/717/4 "2020-05-01T22:55:40Z")

</div>

The regular connection requests are indipendant from any STUN configuration. IIRC the CPE should make use of UPnP to discover what IP to use for connection requests. I may be wrong though. Check the TR-069 spec. Please report back if you find your solution.

---

<div class="post-metadata">

**Author:** ![gdepeyrot](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/gdepeyrot/32/201_2.png) [@gdepeyrot](https://forum.genieacs.com/u/gdepeyrot)\
**Post date:** [May 19, 2020, 4:24pm UTC](https://forum.genieacs.com/t/vigor-draytek-compatibility-with-genieacs/717/5 "2020-05-19T16:24:22Z")

</div>

Hi, I figured out what was not correctly setup (a question of authorisations in the CPE) and have succeeded in summoning it and updating some parameter branches.

When I try to update the InternetGatewayDevice branch, I get a “Too many RPC requests” error. I have found in the forum a reference to making a change in the source code to work around this error. Is this the correct way to proceed?

Thanks!

---

<div class="post-metadata">

**Author:** ![dooley](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dooley](https://forum.genieacs.com/u/dooley)\
**Post date:** [August 23, 2020, 8:38am UTC](https://forum.genieacs.com/t/vigor-draytek-compatibility-with-genieacs/717/6 "2020-08-23T08:38:45Z")

</div>

Hi gdepeyrot,

What did you use in the url of the ACS server for thr draytek to contact the ACS?

---

<div class="post-metadata">

**Author:** ![gdepeyrot](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/gdepeyrot/32/201_2.png) [@gdepeyrot](https://forum.genieacs.com/u/gdepeyrot)\
**Post date:** [August 25, 2020, 11:58am UTC](https://forum.genieacs.com/t/vigor-draytek-compatibility-with-genieacs/717/7 "2020-08-25T11:58:05Z")

</div>

Hi,

I simply used the URL http://:7547

---

<div class="post-metadata">

**Author:** ![Harvey](https://avatars.discourse-cdn.com/v4/letter/h/96bed5/32.png) [@Harvey](https://forum.genieacs.com/u/Harvey)\
**Post date:** [January 26, 2024, 8:09am UTC](https://forum.genieacs.com/t/vigor-draytek-compatibility-with-genieacs/717/8 "2024-01-26T08:09:19Z")

</div>

Hi gdepeyrot:  
Could you share the way to solve this issue?

Br.

---

<div class="post-metadata">

**Author:** ![gdepeyrot](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/gdepeyrot/32/201_2.png) [@gdepeyrot](https://forum.genieacs.com/u/gdepeyrot)\
**Post date:** [January 26, 2024, 9:22am UTC](https://forum.genieacs.com/t/vigor-draytek-compatibility-with-genieacs/717/9 "2024-01-26T09:22:55Z")

</div>

Hi,

I don’t remember ever solving this issue. We have moved away from DrayTek devices.

Best,  
Gilles

---

<div class="post-metadata">

**Author:** ![Harvey](https://avatars.discourse-cdn.com/v4/letter/h/96bed5/32.png) [@Harvey](https://forum.genieacs.com/u/Harvey)\
**Post date:** [January 29, 2024, 9:34am UTC](https://forum.genieacs.com/t/vigor-draytek-compatibility-with-genieacs/717/10 "2024-01-29T09:34:11Z")

</div>

It’s Okay, thank you
