1. rdesktop
2. Start >> windows firewall and advanced security.
===============================

a. Select inbound rules.
> New rules.
> Select TCP or UCP ,give required port number.
> Select required action.
> Give rule name.
> Create.
===============================
Do the above steps in case of outbound rule also

b. Select  outbound rule

> New rule

.
.
> Give name to the rule

> Create

================================

Check it with ..
netstat -a
netstat -an |find/; “listening”
netstat anop TCP

===============================