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?
Management Center.
Scripts.
Proxy Forwarding.
The reason for the error was that the script referenced TCP tunnel configuration was on a different proxy server.
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
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