How do I configure the ProxySG to resolve an https site through the host file entry?
search cancel

How do I configure the ProxySG to resolve an https site through the host file entry?

book

Article ID: 166040

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

The ProxySG does not support the use of a hosts file. However the ProxySG does offer a way of simulating such behavior by defining a forwarding host.  This can be done via the CLI or the Management Console.

 

 

Resolution

  1. To resolve an https website, create following policies through CLI:

ProxySG>enable
Enable Password:
ProxySG#config t
Enter configuration commands, one per line.  End with CTRL-Z.
ProxySG#(config)forwarding
ProxySG#(config forwarding)create host "Https_Server" 10.10.10.10 tcp=443 ssl-verify-server=no server
  ok
ProxySG#(config forwarding)exit
ProxySG#(config)exit

  1. Create a policy rule to forward to that host:

You can set the following policy rule in the local policy file. If you do not know how to place this into the local policy file, see 000010101

<forward>
server_url.domain=www.example.com forward(Https_Server)

If you would like to resolve an http site, create follow forwarding host instead:

create example_server 10.10.10.10 http=80 server


Note: Detailed info on creating a rule to resolve an http site is available at 000009121