# Proxy Forwarding Capability

**URL:** <https://dmap-community.ductus.global/t/proxy-forwarding-capability/4083>\
**Category:** NETCONF\
**Created:** [May 12, 2022, 5:12am UTC](https://dmap-community.ductus.global/t/proxy-forwarding-capability/4083 "2022-05-12T05:12:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![grybydr](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@grybydr](https://dmap-community.ductus.global/u/grybydr)\
**Post date:** [May 12, 2022, 5:12am UTC](https://dmap-community.ductus.global/t/proxy-forwarding-capability/4083/1 "2022-05-12T05:12:35Z")

</div>

Hi,

I wanted to implement proxy forwarding in confd. I have 2 netconf servers (namely “netconf-proxy-server” and “netconf-server”). I edited confd.conf to enable proxy forwarding (according to docs) with corresponding target (“netconf-server” in our case). I observed that the decision to initiate forwarding can only be done from client with forward rpc call. My questions are:

1. Can we initiate proxy forwarding inside “netconf-proxy-server” without any rpc call but just when it boots up it automatically forwards?

2. In our use case we will also have some configurational data inside netconf-proxy-server and we would like to access and manipulate this data too. So is there a way to access data inside “netconf-proxy-server” and also “netconf-server” at the same time?

3. If second question is not possible, Is there a way to stop proxy forwarding without disconnecting/closing the session to access data inside “netconf-proxy-server”?

4. Overall can we synchronize same data with same names in both servers with this feature?

Thanks in advance  
Güray

---

<div class="post-metadata">

**Author:** ![mvf](https://yyz2.discourse-cdn.com/flex010/user_avatar/dmap-community.ductus.global/mvf/32/182_2.png) [@mvf](https://dmap-community.ductus.global/u/mvf)\
**Post date:** [May 17, 2022, 6:39am UTC](https://dmap-community.ductus.global/t/proxy-forwarding-capability/4083/2 "2022-05-17T06:39:33Z")

</div>

Some of your requirements can be implemented, but I don’t see how to make all of them work with proxy forwarding (or with proxy forwarding alone). Maybe some other ConfD features can be used for your needs, HA looks like it might be a good fit; or perhaps a “custom HA” - a lot of what you write fits to what was discussed in [this thread](http://dmap-community.ductus.global/t/is-partial-data-replication-possible/1657).

---

<div class="post-metadata">

**Author:** ![cohult](https://yyz2.discourse-cdn.com/flex010/user_avatar/dmap-community.ductus.global/cohult/32/221_2.png) [@cohult](https://dmap-community.ductus.global/u/cohult)\
**Post date:** [May 17, 2022, 8:00am UTC](https://dmap-community.ductus.global/t/proxy-forwarding-capability/4083/3 "2022-05-17T08:00:29Z")

</div>

This simple demo seems to meet the requirements that you describe:

> **[ConfD-Demos/confd-sync-py at master · ConfD-Developer/ConfD-Demos](https://github.com/ConfD-Developer/ConfD-Demos/tree/master/confd-sync-py)**
>
> master/confd-sync-py

---

<div class="post-metadata">

**Author:** ![cohult](https://yyz2.discourse-cdn.com/flex010/user_avatar/dmap-community.ductus.global/cohult/32/221_2.png) [@cohult](https://dmap-community.ductus.global/u/cohult)\
**Post date:** [May 20, 2022, 3:21pm UTC](https://dmap-community.ductus.global/t/proxy-forwarding-capability/4083/4 "2022-05-20T15:21:33Z")

</div>

Updated the confd-sync-py demo to support Debian 11 and ConfD 7.8

---

<div class="post-metadata">

**Author:** ![grybydr](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@grybydr](https://dmap-community.ductus.global/u/grybydr)\
**Post date:** [May 26, 2022, 5:51am UTC](https://dmap-community.ductus.global/t/proxy-forwarding-capability/4083/5 "2022-05-26T05:51:45Z")

</div>

Thank you, it looks like we can customize the demo for our purposes (syncing just some leafs and so on) mentioned above, will look at this.
