"The proxy service specified does not exist" running script in Management Center
search cancel

"The proxy service specified does not exist" running script in Management Center

book

Article ID: 416796

calendar_today

Updated On:

Products

Management Center - VA Management Center ProxySG Software - SGOS

Issue/Introduction

When previously running Symantec Management Center version 3.x.x.x, Admins successfully created forwarding hosts using scripts.

After we upgraded the Management Center to version 4.1.1.1, we appear to get having errors running the similar scripts.

When pushing out the script, it always fails with "The proxy service specified does not exist" errors

Do we need to do anything different with the new Management Center version?

 

Environment

Management Center.

Scripts.

Proxy Forwarding.

Cause

The reason for the error was that the script referenced TCP tunnel configuration was on a different proxy server.

Resolution

Make sure that all services referenced in the script exist.

In the above case, the service did not exist on the proxy that the script was not being pushed out to (it existed on another proxy server). The following script fixed the issue.

forwarding
create host Example_Forwarder 192.168.178.188 tcp=12345 server
exit
proxy-services
create tcp-tunnel "TCP Tunnel"
edit "TCP Tunnel" ;mode
add all explicit 12345 intercept
exit

Additional Information

sample forwarding host script 

forwarding
create host Example_Forwarder 192.168.178.188 tcp=12345 server
exit
proxy-services
edit "TCP Tunnel"
add all explicit 12345 intercept
exit

Returned following error message

!- connected to device
    example-host#(config)forwarding
    example-host#(config forwarding)create host Example_host 192.168.178.188 tcp=12345 server
      ok
    example-host#(config forwarding)exit
    example-host#(config)proxy-services
    example-host#(config proxy-services)edit "TCP Tunnel"
% The proxy service specified does not exist
example-host#(config proxy-services)add all explicit 12345 intercept