# Netconf bastion host settings

**URL:** <https://forum.ansible.com/t/netconf-bastion-host-settings/27934>\
**Category:** Ansible Project\
**Created:** [July 2, 2018, 8:00pm UTC](https://forum.ansible.com/t/netconf-bastion-host-settings/27934 "2018-07-02T20:00:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathon\_Woods](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@Jonathon\_Woods](https://forum.ansible.com/u/Jonathon_Woods)\
**Post date:** [July 2, 2018, 8:00pm UTC](https://forum.ansible.com/t/netconf-bastion-host-settings/27934/1 "2018-07-02T20:00:33Z")

</div>

I have a jumphost/bastion set up for a lot of Cisco routers. It works great, now I’m trying to get Juniper devices working. When I specify transport=cli, so it uses network\_cli, the bastion works fine. When I use netconf connections the bastion is not used. I have upgraded to 2.5.4 to try and fix this, and found this page which seems to indicate this should work, [https://docs.ansible.com/ansible/2.5/network/user\_guide/platform\_junos.html](https://docs.ansible.com/ansible/2.5/network/user_guide/platform_junos.html).

Has anyone got this working?

Thank you,

---

<div class="post-metadata">

**Author:** ![Venu\_Devannagari1](https://avatars.discourse-cdn.com/v4/letter/v/439d5e/32.png) [@Venu\_Devannagari1](https://forum.ansible.com/u/Venu_Devannagari1)\
**Post date:** [July 27, 2020, 6:12am UTC](https://forum.ansible.com/t/netconf-bastion-host-settings/27934/2 "2020-07-27T06:12:39Z")

</div>

Hi @Jono do u get it for cisco routers

Can you please help me to get rid of this problem.

For cisco routers also I am getting issues.

Can you please show how your configuration looks like with sample values like .ssh/config,ansible.cfg,host file and playbook.

Thanks in advance.
