Comments (8)
Not sure about your iptables stuff but here is a simplified config that I've been using for ages with all the custom access log and tracing stuff elided. I update my git
, rust
apt
configs etc to leverage localhost:9904 as a proxy and it works well. You can export HTTPS_PROXY
to point to this for adhoc. I never worked out how to have this work with HTTP/3
admin:
address:
socket_address:
address: 127.0.0.1
port_value: 9903
static_resources:
clusters:
- cluster_type:
name: envoy.clusters.dynamic_forward_proxy
typed_config:
'@type': type.googleapis.com/envoy.extensions.clusters.dynamic_forward_proxy.v3.ClusterConfig
allow_coalesced_connections: true
dns_cache_config:
dns_lookup_family: ALL
name: dynamic_forward_proxy_cache_config
connect_timeout: 2s
dns_lookup_family: ALL
lb_policy: CLUSTER_PROVIDED
name: dynamic_forward_proxy_cluster
listeners:
- additional_addresses:
- address:
socket_address:
address: ::1
port_value: 9904
address:
socket_address:
address: 127.0.0.1
port_value: 9904
filter_chains:
- filters:
- name: envoy.filters.network.http_connection_manager
typed_config:
'@type': type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
codec_type: AUTO
http2_protocol_options:
allow_connect: true
http_filters:
- name: envoy.filters.http.dynamic_forward_proxy
typed_config:
'@type': type.googleapis.com/envoy.extensions.filters.http.dynamic_forward_proxy.v3.FilterConfig
dns_cache_config:
dns_lookup_family: ALL
name: dynamic_forward_proxy_cache_config
- name: envoy.filters.http.router
typed_config:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
route_config:
name: local_route
virtual_hosts:
- domains:
- '*'
name: local_service
routes:
- match:
prefix: /
route:
cluster: dynamic_forward_proxy_cluster
- match:
connect_matcher: {}
route:
cluster: dynamic_forward_proxy_cluster
upgrade_configs:
- connect_config: {}
upgrade_type: CONNECT
stat_prefix: dynamic_forward_proxy_upgrade
name: dynamic_forward_proxy_upgrade
traffic_direction: OUTBOUND
from envoy.
@phlax might be able to help, or to ping someone who is.
from envoy.
the problem/solution is not immediately obvious to me - but i have limited dfp knowledge
cc @alyssawilk @mattklein123 as codeowners
@wbpcode might also have some idea
from envoy.
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
from envoy.
Not sure about your iptables stuff but here is a simplified config that I've been using for ages with all the custom access log and tracing stuff elided. I update my
git
,rust
apt
configs etc to leverage localhost:9904 as a proxy and it works well. You can exportHTTPS_PROXY
to point to this for adhoc. I never worked out how to have this work with HTTP/3
Sorry for late reply. But it doesn't work for me. I want config envoy as a transparent proxy, which handle all routed traffic via iptables
. I dont want manually config like curl -x localhost:9904 google.com
, i want curl google.com
still going through proxy.
from envoy.
@wbpcode do you have any ideas?
from envoy.
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
from envoy.
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions.
from envoy.
Related Issues (20)
- Newer release available `com_github_bufbuild_buf`: v1.41.0 (current: v1.39.0)
- Newer release available `com_github_curl`: 8.10.0 (current: curl-8_9_1)
- Newer release available `com_github_intel_qatlib`: 24.09.0 (current: 24.02.0)
- Newer release available `com_google_protobuf`: v28.1 (current: v26.1)
- Newer release available `rules_rust`: 0.50.1 (current: 0.35.0)
- gRPC Async client metadata usage HOT 2
- auth_password in redisproxy working as inline_string but not with filename (seems CRLF issue) HOT 1
- aws signing filter: dynamic configuration of WebIdentityToken and RoleARN HOT 4
- Tap http filter with file option doesn't write anything in the target location HOT 3
- Hey guys i'm currently checking out envoy with opa integration with http but i have an issue that the opa is throwing 404 HOT 4
- `common/posix` coverage lowered to fix CI fail
- Ext-proc STREAMED mode with router Retry_policy will send duplicated request body HOT 1
- Didn't find a registered implementation for 'envoy.filters.http.router' with type URL: '' HOT 3
- http.ext_authz.v3.ExtAuthz doesn't work as described HOT 3
- Update the Envoy Mobile docs publishing to the envoymobile.io site HOT 1
- Newer release available `bazel_features`: v1.17.0 (current: v1.15.0)
- Newer release available `boringssl`: 0.20240913.0 (current: 2db0eb3)
- Newer release available `rules_jvm_external`: 6.3 (current: 6.2)
- Envoy HCM RDS Update Not Reflected in Config Dump Without Restart HOT 4
- Envoy cannot connect to the XDS Server HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from envoy.