Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Using virtualbox virtual machine to realize port forwarding

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

The virtualbox virtual machine implements port forwarding, as shown below

1. Application scenario

Break through Internet restrictions (for example, restrict access to external networks within the company, but some ports are open, and some open ports can be used for port redirection)

Remote Desktop Redirect

NC redirect to get Shell

two。 Experimental environment

Virtualbox virtual machine Windows XP (as fire wall subnet client, Host-Only,ip:1.1.1.10) firewall (virtual two network cards, one using bridging to the physical network and one using Host-Only,ip:1.1.1.1) Kali Linux (installing rinetd as traffic forwarding relay station, bridging network, ip:192.168.43.164) Windows 2003 (as Server, bridging network, ip:192.168.43.149)

3. Experimental process

1). Configure fire prevention rules

Enter the address http://1.1.1.1 on the XP browser, manage the firewall, and set the firewall rule to communicate only on port 53

2) install and configure rinetd on the card (start it manually using the rinetd command before use, and end the process with pkill rientd 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.

Bindadress: binding address (in this case, the address of kali)

Bindport: binding port

Connectaddress: address to which traffic is forwarded (in this case, windows 2003)

Connectport (breaks the Internet limit and forwards to port 80 and remote desktop to port 3389)

3), visit

If you want to break the Internet restrictions, type http://192.168.43.164:53 in the address bar of XP Liu Anqi to access the page of Windows 2003

4), remote Desktop Management

Enter mstsc in the XP run command to open the remote Desktop Management tool. Enter 192.168.43.164 53, and the remote desktop will eventually be transferred to the Windows server.

The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report