HP: SD through a firewall¶
- Title:
HP: SD through a firewall
- Author:
Douglas O’Leary <dkoleary@olearycomputers.com>
- Description:
HP: SD through a firewall
- Date created:
07/2005
- Date updated:
07/2005
- Disclaimer:
Standard: Use the information that follows at your own risk. If you screw up a system, don’t blame it on me…
This little tidbit came of working at a client who was completely firewall happy. They had firewalls between just about each and every network segment they had. In order to set up a swdepot server, I needed to limit the network ports which the swagent and swinstall commands would use. A google search didn’t provide any useful information, but a search of itrc.hp.com did. The exact document ID is USDUXKBRC00011289. Here’s the releent information.
On the depot server:
Edit the /sbin/init.d/swagentd startup script. Add:
RPC_RESTRICTED_PORTS=ncacn_ip_tcp[2200-2205]
to the top of the file.
Stop and restart the swagent service:
/sbin/init.d/swagentd stop; /sbin/init.d/swagentd start
On any system which will need to access the depot server, ensure the following two lines are in root’s profile.
RPC_RESTRICTED_PORTS=ncacn_ip_tcp[2200-2205] export RPC_RESTRICTED_PORTS