Ask the Expert

How do I open port 177 on my router so that other clients can get a GUI display of my server remotel

We have one server running XDMCP on port 177 and I want to give access to remote sites, since the router does not broadcast. So how do I open port 177 on my router so that other clients can get a GUI display of my server remotely?

    Requires Free Membership to View

The XDMCP protocol uses User Datagram Protocol (UDP) port 177 for messaging between display host and the server host and Transmission Control Protocol (TCP) port 6000 for displaying. You will have to explicitly permit port 6000 TCP and port 177 UDP on your router by making configuration (ACL) changes. Make sure you open the ports for both directions. If your router is configured for NAT then, for inside-display-outside-server configurations, a static NAT entry for TCP port 6000 is required. In the case of an outside-display-inside-server, configuration static NAT entry for UDP port 177 is required. Don't forget to map those ports to the IP address of your local computer on your LAN. F.Y.I. – you can't make an indirect XDMCP connection using the above.

Just from a security standpoint, XDMCP doesn't provide a secure or encrypted communication tunnel. So, it is always better to have the remote sites VPN into your network. Since this will now be a trusted and secure channel, you will have less to worry about. Also, the other option is to use it over an SSH tunnel.

This was first published in October 2005

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: