search
HomeOperation and MaintenanceLinux Operation and MaintenanceVirtual machine implementation of port forwarding example
Virtual machine implementation of port forwarding exampleJun 20, 2017 am 09:33 AM
useaccomplishportvirtualForward

1. Application scenarios

  • #Breakthrough Internet access restrictions (such as restricting access to external networks within the company, but opening certain ports , you can use certain open ports to implement port redirection)

  • Remote desktop redirection

  • NC redirection to obtain Shell

2. Experimental environment

  • virtualbox virtual machine

  • Windows XP (as a firewall subnet client, Host -Only, ip: 1.1.1.10)

  • Firewall (two virtual network cards, one using bridge to connect to the physical network, and the other using Host-Only, ip: 1.1.1.1)

  • Kali Linux (install rinetd as a traffic forwarding station, bridge network, ip: 192.168.43.164)

  • Windows 2003 (as Server, bridge network, ip:192.168.43.149)

3. Experimental process

  • Configure fire protection rules

Enter the address http://1.1.1.1 in the XP browser, manage the firewall, and set the firewall rules to only port 53 for communication

  • In the card Install and configure rinetd (use the rinetd command to open it manually before use, and pkill rientd to end the process at the end)

Installation command: apt-get install rinetd

Configuration : Open the configuration file /etc/rinetd.conf, find # bindadress bindport connectaddress connectport, and use rinetd by setting these four parameters.

bindaddress: binding address (here refers to the address of kali)

bindport: binding port

connectaddress: the address to which traffic is forwarded (here refers to windows 2003)

Connectport (break through Internet access restrictions and forward to port 80, remote desktop forwarded to port 3389)

 

  • Access

If you want to break through the Internet restrictions, enter http://192.168.43.164:53 in the XP address bar to access the Windows 2003 page

  • Remote Desktop Management

Enter mstsc in the XP side running command to open the remote desktop management tool and enter 192.168.43.164:53, which will eventually remote desktop to Windows On server

  

The above is the detailed content of Virtual machine implementation of port forwarding example. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
微信语音怎么转发 微信的语音信息怎么转发微信语音怎么转发 微信的语音信息怎么转发Feb 22, 2024 pm 05:30 PM

只需要将语音转成笔记再发给别人即可。教程适用型号:iPhone13系统:iOS15.5版本:微信8.0.7解析1首先把语音信息添加到收藏,然后在收藏页面打开语音。2在语音界面点击右上角的三个点。3接着在下方的列表中点击转存为笔记。4最后在笔记界面点击发送给朋友即可。补充:微信语音怎么转文字1首先在微信聊天界面长按要转化的语音。2然后在弹出的窗口中点击转文字。3最后语音就被转换成文字了。总结/注意事项微信语音信息不能直接进行转发,需要先转成笔记的形式。

微信语音怎么转发?微信语音转发的方法微信语音怎么转发?微信语音转发的方法Mar 07, 2024 am 09:00 AM

微信,作为一款功能丰富的社交软件,支持多种通讯方式,包括文字、语音和视频等。其中,语音消息为用户提供了便捷的沟通方式。然而,微信原生并不支持直接转发语音消息。但可以通过其他方法实现,微信语音转发的方法有多种,以下提供两种常见方式:如收藏转发或录屏转发。微信语音怎么转发?微信语音转发的方法第一种方法,收藏转发1、长按需要转发的微信语音消息,直到出现多选菜单。2、勾选需要转发的语音消息,然后点击屏幕下方的【收藏】按钮。3、进入微信【我】的页面,点击【收藏】选项,找到刚才收藏的语音消息。4、点击语音消

在Windows PC上检测到Soundbar作为显示器屏幕[修复]在Windows PC上检测到Soundbar作为显示器屏幕[修复]Feb 19, 2024 pm 11:42 PM

在WindowsPC上,有用户发现将Soundbar连接到HDMI端口时会被识别为显示器的问题。这可能会导致一些困扰,但解决方案并非唯一。Soundbar如何通过HDMI连接到PC大多数音棒使用HDMI、光学或3.5mm音频连接。如果您的音棒只支持HDMI连接,那么必须将其连接到带有HDMIARC标签的HDMI端口。许多电视或显示器通常配备多个HDMI端口,其中一个端口应该支持符合HDMI标准的ARC协议。换句话说,HDMI是用于传输音频和视频的接口,如果设备没有HDMI端口,可以考虑使用显示器

linux 怎么查看远程服务器端口是否开放linux 怎么查看远程服务器端口是否开放Mar 21, 2023 am 09:50 AM

linux查看远程服务器端口是否开放的方法:1、通过“nmap ip -p port”命令检测端口是否打开,具体命令如“nmap 172.17.193.18 -p 5902”;2、通过“nc -v ip port”命令检测端口是否打开,具体命令如“如nc -v 172.17.193.18 5902”。

com1和com2是什么端口com1和com2是什么端口Aug 25, 2022 am 10:53 AM

com1和com2是串行通讯端口,简称串口;一块主板一般带有两个com串行接口,通常用于连接鼠标即通讯设备,串行接口是指数据一位一位的顺序传送,特点是通信线路简单,只要一对传输线就可以实现双向通信。

Win11怎样关闭445端口Win11怎样关闭445端口Jul 04, 2023 pm 12:17 PM

  Win11怎样关闭445端口?445号端口是一个TCP端口,是一个共享文件夹和打印机端口,在局域网内提供文件或打印机共享服务。近期有部分Win11用户想要关闭445端口,那么应该如何操作呢?很多小伙伴不知道怎么详细操作,小编下面整理了Win11关闭445端口的详细操作,如果你感兴趣的话,跟着小编一起往下看看吧!  Win11关闭445端口的详细操作  1、首先,按Win+S组合键,或点击底部任务栏上的搜索图标,打开的Windows搜索窗口,顶部输入Windows防火墙,然后点击系统给出的最佳

如何关闭端口如何关闭端口Jan 17, 2024 pm 02:07 PM

关闭端口的方法:1、使用防火墙关闭端口;2、使用系统配置关闭端口;3、使用第三方软件关闭端口;4、修改注册表关闭端口;5、使用路由器关闭端口;6、手动停止服务关闭端口;7、使用命令行关闭端口;8、使用安全软件关闭端口;9、修改应用程序配置关闭端口;10、使用网络设备关闭端口。详细介绍:1、使用防火墙关闭端口,打开“控制面板”,选择“Windows Defender防火墙”等等。

微博怎么快转_微博快转教程微博怎么快转_微博快转教程Mar 30, 2024 pm 03:51 PM

1、首先进入手机微博,点击推荐选项。2、然后选择微博,点击分享图标。3、接着点击快转选项。4、最后可查看微博快转发送成功。

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Atom editor mac version download

Atom editor mac version download

The most popular open source editor