D
D
doranych2013-02-20 22:55:16
Computer networks
doranych, 2013-02-20 22:55:16

Setting up port forwarding/direct IP?

Background:
There is a certain server on win 2k8 r1. It has one external connection, but with two IP addresses (for example: 5.5.5.1 (primary) and 5.5.3.2 - secondary), and 2 network cards for internal networks.
Question:
How to assign port forwarding to several ports coming to one of the external IP addresses (for example 5.5.3.2) on a computer in LAN.
PS Ideally, there would be a direct, dedicated (white) IP setting on the specified computer in the local network.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
WEBIVAN, 2013-02-21
@doranych

If it is port forwarding, then for example, you can transfer 5.5.3.2:22 to 192.168.0.1:23 through the console like this

netsh
netsh>interface
netsh interface>portproxy
netsh interface portproxy>add v4tov4 listenport=22 connectaddress=192.168.0.2  connectport=23 listenaddress=5.5.3.2

View Forwarded Ports
netsh interface portproxy>dump

V
Vladimir Dubrovin, 2013-02-20
@z3apa3a

By native means, this is done through the NAT settings in RRAS - add the Network Route and Access Server role, start RRAS, select the NAT server configuration, configure:
technet.microsoft.com/en-us/library/dd469812.aspx
further configure the NAT external interface properties port forwarding in Services and Ports or a full match between addresses in the Address Pool.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question