diff --git a/roles/lmn_localproxy/templates/squid-usermode-external.conf.j2 b/roles/lmn_localproxy/templates/squid-usermode-external.conf.j2 index 40ace20..175b480 100644 --- a/roles/lmn_localproxy/templates/squid-usermode-external.conf.j2 +++ b/roles/lmn_localproxy/templates/squid-usermode-external.conf.j2 @@ -7,6 +7,8 @@ access_log none cache_log /dev/null logfile_rotate 0 pid_filename none -{% if vm_support %}http_port 192.168.122.1:3128{% endif %} +{% if vm_support %} +http_port 192.168.122.1:3128 +{% endif %} http_port 127.0.0.1:3128 http_access allow all diff --git a/roles/lmn_localproxy/templates/squid-usermode.conf.j2 b/roles/lmn_localproxy/templates/squid-usermode.conf.j2 index 3ebe7c1..8ec4915 100644 --- a/roles/lmn_localproxy/templates/squid-usermode.conf.j2 +++ b/roles/lmn_localproxy/templates/squid-usermode.conf.j2 @@ -7,6 +7,8 @@ access_log none cache_log /dev/null logfile_rotate 0 pid_filename none -{% if vm_support %}http_port 192.168.122.1:3128{% endif %} +{% if vm_support %} +http_port 192.168.122.1:3128 +{% endif %} http_port 127.0.0.1:3128 http_access allow all