What happened?
I tried to configure the server runnning Pomerium to use Squid for internet access
What did you expect to happen?
Expected that Pomerium would use Squid as a next-hop proxy for routes going to the internet
How’d it happen?
- Installed Pomerium on a standalone virtual server and configured Squid with environment vars (http_proxy|https_proxy) in both /etc/profile and /etc/systemd/system/pomerium.service.d/override.conf
- Tried accessing the configured route
- Saw that proxied traffic was still going directly to internet instead of to Squid
What’s your environment like?
- Pomerium version (retrieve with
pomerium --version
): 0.20.0-1668445494+9413123c - Server Operating System/Architecture/Cloud: RHEL 8.7
What’s your config.yaml?
# Required settings below. See complete documentation at https://www.pomerium.com/reference/
# To run on :443 set AmbientCapabilities=CAP_NET_BIND_SERVICE
# in a systemd override
address: 0.0.0.0:443
# this is the domain the identity provider will callback after a user authenticates
authenticate_service_url: https://auth.my_internal_service.com
# certificate settings: https://www.pomerium.com/docs/reference/certificates.html
autocert: false
certificates:
- cert: /etc/pki/http/my_configured_cert.crt
key: /etc/pki/http/my_configured_cert.key
shared_secret: <generated secret>
cookie_secret: <another generated secret>
idp_provider: oidc
idp_provider_url: https://sso.my_internal_service.com/auth/realms/pomerium
idp_client_id: pomerium-client-001
idp_client_secret: <sso client secret>
routes:
- from: https://test.my_internal_service.com
to: https://internal_test.my_internal_service.com
tls_skip_verify: true
policy:
- allow:
or:
- domain:
is: my_internal_domain.com
What did you see in the logs?
Nothing out of the ordinary
Additional context
Is it possible to get Pomerium to send internet bound traffic to a second proxy?