Search This Blog

Wednesday, April 2, 2014

Testing Lync edge

When you test firewall rules for Lync edge installation you can use several different tools.

msturnping  (part of reskit) can test AV ports for media transfers.

telnet - can test tcp ports like 443 or 8057.

nmap can be used to test UDP:


nmap -sU -p 3478 172.1.1.1 
to test internal STUN port
or
nmap -sU -p 3478 -S 172.2.2.2 av.anotheredge.com  
to test external STUN (we also need to specify AV source IP, because by default it may take Access IP or WebConf IP, etc)

If you want continuos packets to be sent (if you need to see packets passing in firewall monitor) - STUN from internal Pc to edge:

nping  --udp -p 3478 -g 3478 -c 20000 172.1.1.1





some real tests output - for nmap -sU -p 3478 172.1.1.1 -  it responds HOST IS UP:


Host is up (0.013s latency).
PORT     STATE         SERVICE
3478/udp open|filtered unknown


No comments: