Hi,
after two weeks spent googling and testing I ask for your help: you guru of
win2k3 networking
I want to NAT a public Address/Port to a private Address/Port using win2k3
Routing And Remote Access (a quite simple task) so I set up this test
enviroment:
Let's imagine I was given this public ip address range:
207.46.10.1/255.255.255.248(example address: don't know whom this address
belongs to).
1st box (win2k3 server std edition w SP2) The NAT/Router :
- NIC a: 192.168.0.1 (private)
- NIC b: 207.46.10.2 (public)
2nd box (win2k3 server std edition w SP2) Running some custom apps
- NIC a: 192.168.0.20 (GateWay 192.168.0.1)
# custom application listening on TCP port 7020
# custom application listening on TCP port 7021
3nd box (win2k3 server std edition w SP2) Running some custom apps
- NIC a: 192.168.0.30 (GateWay 192.168.0.1)
# custom application listening on TCP port 7030
# custom application listening on TCP port 7031
All I need to be happy is allow any remote client to connect to box 2 on
port 7020, 7021 and box 3 on port 7030, 7031.
So I digged into RRAS (IP Routing -> Nat/Basic Firewall -> [Public
Interface] -> Properties -> Services and Ports -> Add)
and configured this 5ples:
Public Addr: on this address pool entry 207.46.10.3
Protocol: TCP
Incoming Port: 7020
Private Address: 192.168.0.20
Private Address 7020
Did the same for PubblicIP:Port -> PrivateIP:Port
207.46.10.4:7021 ->192.168.0.20:7021
207.46.10.3:7030 ->192.168.0.30:7030
207.46.10.4:7031 ->192.168.0.30:7031
Of course I configured RRAS (IP Routing -> Nat/Basic Firewall -> [Public
Interface] -> Properties -> Address Pool) whith the given address range:
Start Address 207.46.10.1
Mask 255.255.255.248
End Address 207.46.10.7
In such a scenario clients fail to connect to any box because of TimeOut.
This is unexplicable to me:
from a box connected to internet (adsl modem no router/firewall) if I try to
telnet 207.46.10.3 7020 I get a connection error after 15 sec
else if i try to telnet a not-natted port (example 207.46.10.3 666) I get a
connection error within 2 sec.
As Far as I understand NAT server accepts incoming calls but something goes
wrong while forwarding packets
If I add a reservation (example: Public IP 207.46.10.3 reserved to Private
IP 192.168.0.20) remote clients are enabled to reach 2nd box but I have two
problems:
1) cannot use public IP 207.46.10.3:7030 to reach 3rd box
2) 2nd box is totally accessible from internet (ok: I can manage this with a
firewall or Inbound/Outbound filters)
Additional Info:
- No packet Filter configured
- UnChecked IP Routing -> Nat/Basic Firewall -> [Public Interface] ->
Properties -> Enable a Basic Firewall
Beg your pardon for my bad english: pls ask for further detail if my example
isn't clear.
Thank you in advance for your attention and your time
Giusy