Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network Interface Feature example: fe0 in the dialcontext to be added. #133

Open
srini-balak opened this issue Jun 4, 2024 · 1 comment

Comments

@srini-balak
Copy link

1. Is bug reproducible with latest forwardproxy build?

The interface feature is required in the forwardproxy plugin.

2. What are you trying to do?

Well, I am using the forwardproxy for the requests to reach the internet, But I expect the network interface to be specified somewhere in the dialcontext. So that the request goes to the internet via the specific interface. In this case Example: fe0

3. What is your entire Caddyfile?


:442 {
    log {
       
        level DEBUG
    }
   
    route {       
        forward_proxy {           
                allow all         
        }
    }
}

4. How is your client configured?

5. How did you run Caddy? (give the full command and describe the execution environment). If multiple servers are used (for example with upstream), describe those as well.

caddy run --config /etc/caddy/Caddyfile

6. Please paste any relevant HTTP request(s) here.

curl -s https://google.com -v -k

7. What did you expect to see?

I expecting to see the request reaching the internet and respond back via the fe0 interface. There is no such option yet as of my understanding

8. What did you see instead (give full error messages and/or log)?

I am not able to use the interface

9. How can someone who is starting from scratch reproduce the bug as minimally as possible?

If they try to configure using the interface.

@srini-balak
Copy link
Author

Can some caddy or forward proxy team look into it, that would be highly helpful, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant