RDP session is refused by TMG


we access azure host(public) through tmg.

1. source subnet ok;

2. all outbound enabled.

3. azure host ip address correct.

4. installed tmg client application on laptop.

5. when try access azure host ip address, error message present.

6. based on above information, captured netmon trace on laptop , found clue. there can let know why connection refused by tmg? thanks. 

16 10:18:39 9/3/2015 8.8922839 mstsc.exe client tmg tcp tcp:flags=......s., srcport=56750, dstport=1745, payloadlen=0, seq=2367321505, ack=0, win=8192 ( negotiating scale factor 0x8 ) = 8192 {tcp:5, ipv4:4}
17 10:18:39 9/3/2015 8.8933019 mstsc.exe tmg client tcp tcp:flags=...a..s., srcport=1745, dstport=56750, payloadlen=0, seq=1323644357, ack=2367321506, win=8192 ( negotiated scale factor 0x8 ) = 2097152 {tcp:5, ipv4:4}
18 10:18:39 9/3/2015 8.8935506 mstsc.exe client tmg tcp tcp:flags=...a...., srcport=56750, dstport=1745, payloadlen=0, seq=2367321506, ack=1323644358, win=257 (scale factor 0x8) = 65792 {tcp:5, ipv4:4}
19 10:18:39 9/3/2015 8.9273484 mstsc.exe client tmg rws rws:channel setup request (tmg compatible) mstsc.exe steven_song on prcsgi1497l version 6.1.7601 {rws:6, tcp:5, ipv4:4}
20 10:18:39 9/3/2015 8.9285267 mstsc.exe tmg client rws rws:channel setup response mstsc.exe (tmg compatible), authentication not required; encryption not required {rws:6, tcp:5, ipv4:4}
21 10:18:39 9/3/2015 8.9297390 mstsc.exe client tmg rws rws: {rws:6, tcp:5, ipv4:4}
22 10:18:39 9/3/2015 8.9297390 mstsc.exe client tmg tcp tcp:[continuation #21]flags=...ap..., srcport=56750, dstport=1745, payloadlen=399, seq=2367322405 - 2367322804, ack=1323644639, win=256 (scale factor 0x8) = 65536 {tcp:5, ipv4:4}
23 10:18:39 9/3/2015 8.9308009 mstsc.exe tmg client tcp tcp:flags=...a...., srcport=1745, dstport=56750, payloadlen=0, seq=1323644639, ack=2367322804, win=257 (scale factor 0x8) = 65792 {tcp:5, ipv4:4}
24 10:18:39 9/3/2015 8.9308854 mstsc.exe client tmg rws rws:0x2 connect v12 request mstsc.exe 40.113.157.119/3389; client send 10.158.129.2/56751 {rws:6, tcp:5, ipv4:4}
25 10:18:39 9/3/2015 8.9320289 mstsc.exe tmg client rws rws:0x2 error mstsc.exe connect v12(40.113.157.119); (10061); connection refused {rws:6, tcp:5, ipv4:4}
27 10:18:39 9/3/2015 9.1370816 mstsc.exe client tmg tcp tcp:flags=...a...., srcport=56750, dstport=1745, payloadlen=0, seq=2367323085, ack=1323644920, win=257 (scale factor 0x8) = 65792 {tcp:5, ipv4:4}

have nice day!

rgds

steven

on tmg, go the terminal services configuration and make sure rdp-tcp connection bound tmg  internal interface (properties -> network adapter).to this, click on start > administrative tools > terminal services configuration, from left panel click the connection node > on right page, right click the rdp-tcp  click on properties  > click on the network adapters tab , drop down list , choose internal nic



Windows Server  >  Platform Networking



Comments

Popular posts from this blog

Edit Group Policy

Hyper-V VM not reaching OS 'Logon' screen

DNS question...