cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

McAfee agent uses random port to communicate with server

Jump to solution

We're opening ports to allow communication between our EPO server and agents outside the firewall. We've configured the ePolicy server to use port 443 for secure agent-server comms. All ports going from the LAN to the WAN are OPEN. Looking at the ePolicy server documentation is appears that we only need to open port 443 from WAN->LAN for the agent<-> server communication (McAfee KnowledgeBase - Ports needed by ePolicy Orchestrator for communication through a firewall ). After opening this port the agent is still unable to connect to the ePolicy server. Running netstat shows the agent connecting to the server on a range of random ports between 45,000-65,000. Assuming this is expected behavior, is there any way to limit the port(s) that the agent uses to connect to the server? Is this why an agent handler is needed when connecting to agents outside the firewall?

1 Solution

Accepted Solutions
andrep1
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 2 of 3

Re: McAfee agent uses random port to communicate with server

Jump to solution

Hello.

https (443) is your destination port, your source port is random. Your rule should allow any to epo:443

View solution in original post

2 Replies
andrep1
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 2 of 3

Re: McAfee agent uses random port to communicate with server

Jump to solution

Hello.

https (443) is your destination port, your source port is random. Your rule should allow any to epo:443

View solution in original post

Re: McAfee agent uses random port to communicate with server

Jump to solution

Thanks Andre! I realize that I was reading the netstat output incorrectly. We've opened 443 and everything is working as expected!

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community