I
I
Igor Petrov2019-02-05 20:20:00
Computer networks
Igor Petrov, 2019-02-05 20:20:00

How to forward RDP port through computer to LAN?

Good evening!
We have a computer running Windows 7.
2 network cards are installed:
1 network card looks to the Internet - white IP address
2 network card - to the local network.
The task is to forward RDP to manage local computers.
Without radmin and teamviewers. There will also be no router.
Decision:

netsh interface portproxy add v4tov4 listenport= XXXX listenaddress= XXX.XXX.XXX.XXX connectport= YYYY connectaddress= XXX.XXX.XXX.XXX
where:
" listenport is a required parameter. Specifies the IPv4 port to listen on by port number or name service;
" listenaddress - specifies the IPv4 address to listen on. The IP address, NetBIOS name, or DNS name of the computer can be entered. If the address is not set, the local computer is used by default;
" connectaddress - Specifies the IPv4 address to connect to. The computer's IP address, NetBIOS name, or DNS name can be entered. If no address is specified, the local computer is used by default;
" connectport - Specifies the IPv4 port to connect to, either by port number or service name. If connectport is not specified, the default is listenport on the local machine.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2019-02-05
@tamerline

For any VPN and PPPoE, Windows has settings - in connection sharing - additional settings - services (maybe it even works). And if the ip is assigned to the card itself, you will need some kind of program - such as a proxy that can forward ports - 3proxy.
You can also dig through the netsh utility.

netsh interface portproxy add v4tov4 listenport=4422 listenaddress=192.168.1.111 connectport=80 connectaddress=192.168.0.33

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question