# Connecting to a Router behind a Server

**URL:** <https://forum.ansible.com/t/connecting-to-a-router-behind-a-server/28582>\
**Category:** Ansible Project\
**Created:** [September 16, 2018, 5:02pm UTC](https://forum.ansible.com/t/connecting-to-a-router-behind-a-server/28582 "2018-09-16T17:02:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohamed\_ibrahim](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@mohamed\_ibrahim](https://forum.ansible.com/u/mohamed_ibrahim)\
**Post date:** [September 16, 2018, 5:02pm UTC](https://forum.ansible.com/t/connecting-to-a-router-behind-a-server/28582/1 "2018-09-16T17:02:14Z")

</div>

Hi,

I’m trying to create a playbook that connect to Cisco router and get some statistics. The issue faces me that the router is accessible via a server .

Mean that when I want to login to the router via SSH or Telnet I first connect to the SERVER via SSH then from SERVER to ROUTER.

If anyone have an idea to handle this using ansible please share it 🙂

BR  
Mohamed Ibrahim
