# How set management throw WAN port TR-069

**URL:** <https://forum.genieacs.com/t/how-set-management-throw-wan-port-tr-069/388>\
**Category:** Uncategorized\
**Created:** [October 24, 2019, 1:49pm UTC](https://forum.genieacs.com/t/how-set-management-throw-wan-port-tr-069/388 "2019-10-24T13:49:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@alex](https://forum.genieacs.com/u/alex)\
**Post date:** [October 24, 2019, 1:49pm UTC](https://forum.genieacs.com/t/how-set-management-throw-wan-port-tr-069/388/1 "2019-10-24T13:49:25Z")

</div>

I created it

> declare(“InternetGatewayDevice.X\_HW\_Security”, {value: now});  
> declare(“InternetGatewayDevice.X\_HW\_Security.AclServices.WanAccess.\*”, null, {path: 1});  
> declare(“InternetGatewayDevice.X\_HW\_Security.AclServices.WanAccess.1”, {value: now});  
> declare(“InternetGatewayDevice.X\_HW\_Security.AclServices.WanAccess.1.Enable”, {value: now}, {value: 1});  
> declare(“InternetGatewayDevice.X\_HW\_Security.AclServices.WanAccess.1.Protocol”, {value: now}, {value: “HTTP”});  
> declare(“InternetGatewayDevice.X\_HW\_Security.AclServices.WanAccess.1.WanName”, {value: now}, {value: “wan1.1.ip1”});

but when I reboot it missing. Why?

How I can refresh key by script.  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![alex](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@alex](https://forum.genieacs.com/u/alex)\
**Post date:** [October 24, 2019, 2:20pm UTC](https://forum.genieacs.com/t/how-set-management-throw-wan-port-tr-069/388/2 "2019-10-24T14:20:14Z")

</div>

when restart I get message

> CPE fault; acsRequestId=“sdfsdf” cpeFaultCode=“9005” cpeFaultString=“Invalid parameter name”

---

<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:** [October 25, 2019, 8:40pm UTC](https://forum.genieacs.com/t/how-set-management-throw-wan-port-tr-069/388/3 "2019-10-25T20:40:57Z")

</div>

> [@alex](#):
>
> declare(“InternetGatewayDevice.X\_HW\_Security.AclServices.WanAccess.\*”, null, {path: 1});

Supply a timestamp object here instead of null (e.g. {path: Date.now()}) to force refreshing the available instances from the CPE.
