{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Microgateway /
avatar image
0
Question by Karan Vij · Jan 07, 2016 at 05:43 PM · 1.3k Views apigee edgeedgehttphttpsfirewall

How to setup micro gateway behind company firewall?

If micro edge gateway is behind company firewall and want to connect to cloud edge, how to setup proxy parameters to use authenticated HTTP/HTTPS calls from behind firewall. For example to execute following command successfully:

./ edgemicro configure -o <org-name>-e <env-name>-u <your Apigee email>

Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

3 Answers

  • Sort: 
avatar image
3

Answer by Will Witman · Jan 07, 2016 at 11:44 PM

Hi -- we added more detail to the documentation here:

http://docs.apigee.com/microgateway/content/edge-microgateway-operations

If you search that page for "tunnel" you'll see the note that explains how to configure the proxy using environment variables.

Comment
Add comment Show 1 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Christoffer Soop · Jul 07, 2019 at 03:43 PM 1
Link

If you like us are trying to use the Edge Microgateway as a service in a K8s cluster the proxy configuration was initially a challenge.

The main issue is that that our proxy is external to the cluster and configuring the proxy with tunnelling meant that requests fail as the proxy cannot reach inside the cluster and we do not want to pass over an ingress controller.

Our target hosts inside the K8s cluster look like this

service-name.namespace:port

As we do not want to exhaustively list all allowed names in the NO_PROXY variable and adding them dynamically requires a redeployment of the Edge Microgateway, the solution we ended up with was to specify

name: "NO_PROXY"
value: "*:8080"

... in the environment variable section of the Deployment specification.

Limiting the services to run on a specific port (8080) is an acceptable solution for us.

This said the ideal solution would be to have a dedicated proxy configuration for all Edge requests and leave the general node.js proxy configuration untouched for Edge communication.

avatar image
2

Answer by prabhat · Jan 07, 2016 at 07:12 PM

Set following environment variable before doing any cli/agent commands and it will get honored.

HTTP_PROXY / http_proxy

HTTPS_PROXY / https_proxy
Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Will Witman · Mar 16, 2020 at 06:20 PM

There's been a recent feature and doc update for using HTTP proxy on Edge Micro (v3.1.2). For details, see:

Use an HTTP proxy for communication with Apigee Edge and
Use an HTTP proxy for target communication

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

33 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How often - and under what circumstances - does the Microgateway "pull" from Edge? 1 Answer

Access API Proxy policies in Edge from Microgateway 1 Answer

HTTP keepalive connections from edgemicro to target? 1 Answer

How to access App custom attributes within Microgateway? 3 Answers

microgateways 1 Answer

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges