B.6.2. SPICE Proxy Machine Setup
Summary
This procedure explains how to set up a machine as a SPICE Proxy. A SPICE Proxy makes it possible to connect to the Red Hat Enterprise Virtualization network from outside the network. We use Squid in this procedure to provide proxy services.
Procedure B.2. Installing Squid on a RHEL Machine
- Install Squid on the Proxy machine:
#yum install squid - Open
/etc/squid/squid.conf. Changehttp_access deny CONNECT !SSL_ports
Tohttp_access deny CONNECT !Safe_ports
- Restart the proxy:
#service squid restart - Open the default squid port:
#iptables -A INPUT -p tcp --dport 3128 -j ACCEPT - Make this iptables rule persistent:
#iptables-save
Result
You have now set up a machine as a SPICE proxy. Before connecting to the Red Hat Enterprise Virtualization network from outside the network, activate the SPICE proxy.