反向TELNET

原文地址::http://blog.sina.com.cn/s/blog_4a023ebb010005gc.html


相关文章

1、反向telnet配置 (留着自己以后用 呵呵)----http://blog.csdn.net/sorrowegg/article/details/5774147

2、反向Telnet  ----http://mzhehome.blog.163.com/blog/static/207728820112805253826/

3、Reverse(反向) telnet----http://www.clnchina.com.cn/professional_certs/2011/0627/11301.shtml



反向tenlnet 是借助其他的设备 在tenlent到别的设备上去
具体的说就是 你先tenlnet到一台设备上 在从那台设备上再tenlnet到另外其他的设备上
这就是反向tenlnet
因为 一台设备可以如果接口够的话 可以接多台设备
这样可以给我们现实当中带了很多的方便的之处

网上的资料:
The term reverse Telnet means that you are initiating a Telnet session out the asynchronous line, instead of accepting a connection into the line (which is a forward connection).

Establishing a Reverse Telnet Session to a Modem To establish a reverse Telnet session to a modem, determine the IP address of your LAN (Ethernet) interface, then enter a Telnet command to port 2000 + n on the access server, where n is the line number to which the modem is connected. For example, to connect to the modem attached to line 1, enter the following command from an EXEC session on the access server:

router# telnet 172.16.1.10 2001
Trying 172.16.1.10, 2001 ... Open

then Test the Modem Connection

at
OK
.......
.......

Suspend and Terminate Telnet Sessions

Step 1 Suspend the Telnet session by entering Ctrl-Shift-6 x:

- suspend keystroke -
router#

Step 2 To disconnect (completely close) a session, issue the disconnect EXEC command:

router# disconnect line 1
Closing connection to 172.16.1.10 [confirm] y

router#
-------------------------------
总结: 反向Telnet 就是使网络上的用户能够通过服务器登录到没有直接连在Ethernet网络上的计算机或设备。 这里的服务器就是 路由器,设备就是 MODEM。

不过我看了还是有点头蒙,这样做的目的是什么?

vilian
2006-03-27, 10:33
最 近做了一个CISCO实验室,用到了反向telnet,用一台2610上NM-32A模块,配合CAB-OCTAL-ASYNC线缆,连接其它交换路由设 备的配置口,在2610上做反向telnet,而其余设备不做任何配置,就可以管理其它的交换路由设备,免去了来回插拔配置线的麻烦。
2610上的配置如下:
2610#sh run
Building configuration...

Current configuration : 1756 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname 2610
!
boot-start-marker
boot-end-marker
!
enable password cisco
!
no network-clock-participate slot 1
no network-clock-participate wic 0
no aaa new-model
ip subnet-zero
ip cef
!
!
!
ip host jg4-fw 2060 172.16.1.1
ip host jg1-r1 2033 172.16.1.1
ip host jg1-r2 2034 172.16.1.1
ip host jg1-r3 2035 172.16.1.1
ip host jg1-j1 2036 172.16.1.1
ip host jg1-j2 2037 172.16.1.1
ip host jg1-j3 2038 172.16.1.1
ip host jg2-r1 2041 172.16.1.1
ip host jg2-r2 2042 172.16.1.1
ip host jg2-r3 2043 172.16.1.1
ip host jg2-fw 2044 172.16.1.1
ip host jg2-j1 2045 172.16.1.1
ip host jg2-j2 2046 172.16.1.1
ip host jg2-j3 2047 172.16.1.1
ip host jg3-r1 2049 172.16.1.1
ip host jg3-r2 2050 172.16.1.1
ip host jg3-r3 2051 172.16.1.1
ip host jg3-2610 2052 172.16.1.1
ip host jg3-j1 2053 172.16.1.1
ip host jg3-j2 2054 172.16.1.1
ip host jg3-j3 2055 172.16.1.1
ip host jg4-r1 2057 172.16.1.1
ip host jg4-r2 2058 172.16.1.1
ip host jg4-r3 2059 172.16.1.1
ip host jg4-j1 2061 172.16.1.1
ip host jg4-j2 2062 172.16.1.1
ip host jg4-j3 2063 172.16.1.1
no ftp-server write-enable
!
!
!
!
interface Loopback1
ip address 172.16.1.1 255.255.0.0

!interface FastEthernet0/0
description to-jg3-j1-fa0/7
ip address 192.168.41.2 255.255.255.0
duplex auto
speed auto
!
router rip
version 2
network 172.16.0.0
network 192.168.41.0
!
ip default-gateway 192.168.41.1
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.41.1
ip http server
!
!
line con 0
exec-character-bits 8
transport preferred all
transport output all
line 33 64
session-timeout 1
exec-timeout 0 0
no exec
transport input all
line aux 0
line vty 0 4
password cisco
login
!
!
!
end

2610#
那你的八爪鱼的线要很长很长,呵呵
反向telnet主要是用在调试设备的时候
因为一台还未做任何配置的设备是无法进行telnet等其他远程登录手段在一台终端对其进行控制的,唯一的方法就是使用console或者aux口进行配置,但是每一个设备有一个控制口,在配置联调过程中非常麻烦,要来回拔插console线缆或者使用多个终端。
通过使用一台2509或者2511或者使用NM-32A这种模块,下联八爪鱼,每个line对应不同设备的控制口,可以在一台设备上实现对多台设备的配置访问,这样省去了不少麻烦。当然在实际工作中的时候,用的不多,没有必要研究很透,知道怎么配置就ok

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
您好!关于Nginx反向代理不跳转的问题,您可以尝试以下方法来解决: 1. 检查Nginx配置文件:确认您的Nginx配置文件中是否正确配置了反向代理。您可以通过查看Nginx配置文件(通常位于/etc/nginx/nginx.conf或者/etc/nginx/conf.d/目录下)来确认反向代理的配置是否正确。 2. 检查代理目标的IP地址和端口:确保您配置的代理目标IP地址和端口是正确的。您可以通过ping或telnet等工具来检查代理目标是否可达。 3. 检查代理目标的协议:确认您的代理目标服务器是通过HTTP还是HTTPS协议进行通信。如果代理目标使用HTTPS,请确保您的Nginx配置文件中启用了SSL/TLS相关设置。 4. 检查代理头部设置:有时候,代理请求可能会由于未正确设置请求头部而导致跳转。您可以尝试在Nginx配置文件中添加以下指令来禁用或修改请求头部: proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 5. 检查其他可能的因素:有时候,代理目标服务器的响应头部也可能会引起跳转。您可以使用浏览器开发者工具或curl命令来查看代理目标服务器的响应头部,以确定是否有需要调整的设置。 请注意,以上的解决方法只是一些常见的排查步骤,具体的解决方案可能因您的具体情况而异。如果问题仍然存在,建议您提供更多详细信息,以便我能够给出更准确的帮助。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值