User-Profile-Image
hankin
  • 5
  • 首页
  • 分类
    • Windows
    • Web
    • VoIP
    • Virtualization
    • Trading
    • Smart Home
    • SEO
    • Security
    • Python
    • Program
    • PHP
    • OSX
    • OS
    • OpenSource
    • Nginx
    • MySQL
    • Mood
    • Linux
    • Life
    • Injection
    • Hosting
    • Finance
    • Exploits
    • CDN
  • 页面
    • About
  • 友链
    • 维酷科技
Help?

Please contact us on our email for need any support

Support
  • 首页
    首页   ›   OS   ›   Windows   ›   正文
Windows

Windows自带工具实现端口转发-netsh

2016-08-19 19:18:30
2777  0 0

window2003 和 windows2008 包含XP 和在内都可以用命令实现端口转发:

一、设置对192.168.1.100的 22端口 访问请求数据转发到 192.168.1.101的2000端口命令如下:
netsh interface portproxy add v4tov4 listenport=22 listenaddress=192.168.1.100 connectport=2000 connectaddress=192.168.1.101


二、取消端口转发命令如下:
netsh interface portproxy delete v4tov4 listenport=22 listenaddress=192.168.1.100

三、查询端口转发列表:
netsh interface  portproxy show  v4tov4

四、关键的来了,2003 和 XP如果没有安装IPV6是不能成功转发的,安装了可以不启用,命令如下:
netsh interface  ipv6 install

评论 (0)

Click here to cancel reply.

欢迎您 游客  

    ProdigYu
    181文章 17评论 4点赞 615364浏览
    随机文章
    神奇的AMD ATI显卡驱动停止响应
    11年前
    Telnet命令测试服务器网络端口
    6年前
    CentOS删除文件/bin/rm: argument list too long错误处理
    6年前
    Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’
    15年前
    网站广告投放策略研究 (一) 轮播以及效用最大化
    14年前
    Tags
    Apache CentOS CMD DDOS Debian DNS Docker FastCGI Google IIS IP iptables Linux Mac MySQL Nginx Opensource PHP Python Skill SSH Ubuntu Vim VMware VPN web.py Windows 删除 命令 命令提示符 安装 开源 技巧 插件 漏洞 百度 系统 组件 终端 缓存 网络电话 脚本 自建 详解 错误
    Meta
    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    Copyright © 2025
    主页
    页面
    • About
    博主
    ProdigYu 管理员
    Something about myself
    181 文章 17 评论 615364 浏览
    测试
    测试