Configure EdgeSWG (ProxySG) to resolve website via host file entry
search cancel

Configure EdgeSWG (ProxySG) to resolve website via 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

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

create host example_server 10.10.10.10 http=80 server

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

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