M
M
MainNika2010-10-13 20:27:11
linux
MainNika, 2010-10-13 20:27:11

Windows Port Forwarding

It is necessary in Windows 7 to forward the port to the virtual machine that is running in it. Google issued a couple of programs - one loops and loads the processor, the other resets the settings after a restart, another one cannot read its configuration file, the other asked to pay. Can anyone suggest any solution?

The details are as follows:
The computer (Windows 7 Pro) is accessible from the Internet, connected to the Internet via VPN, running Vmware Player with a HostOnly network and Linux OS. It's running some server which is Linux Only. It is necessary when accessing from the Internet to port 12345, a connection was created to port 12345 in this virtual machine.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
U
umcherrel, 2010-10-14
@MainNika

you can use standard tools, without additional programs.
Launch command prompt as administrator and execute the following:

C:\Windows\system32>netsh
netsh>interface
netsh interface>portproxy
netsh interface portproxy>add v4tov4 listenport=12345 connectaddress=192.168.0.2 connectport=22 listenaddress=0.0.0.0

netsh interface portproxy>dump

#============================
# Proxy port configuration
#============================
pushd interface portproxy

reset
add v4tov4 listenport=12345 connectaddress=192.168.0.2 connectport=22


popd

# End proxy port configuration


Thus, we get port forwarding 12345 to 192.168.0.2:22

P
Pavel7, 2010-10-13
@Pavel7

You can try rinetd under Windows: codewut.de/Port-Redirection-with-Windows . Worked great on winxp.

M
mitnlag, 2010-10-13
@mitnlag

install kerio winroute firewall - two users or devices for free, you can not buy a license. You can do whatever you want there. Most likely, by the way.
there is an implementation of ipfw for Windows, if you are a red-eyed person, you can handle it.
wipfw.sourceforge.net/
if you want even more perversions, manage to install ISA on windows 7. this is a challenge.

G
Gasoid, 2010-10-13
@Gasoid

and even simpler)) 3proxy or the included tcppm utility 3proxy.ru/0.6.1/3proxy-0.6.1.zip
is a
very small and indispensable console program for Windows, the
config file 3proxy.cfg will look like: 3proxy is installed as a service in Windows, You just need to set it to start automatically. everything is on the developer's site.
tcppm 12345 192.168.1.101 12345
#где 192.168.1.101 ip на который перенаправлять

S
Sergey, 2010-10-13
@bondbig

Option 1 - forward through Windows ICS (RRAS? I don't know what it's called in the seven)
Option 2 - install vmware workstation/server and forward it using tools.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question