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

Localhost traffic going to proxy #11

Open
GodKratos opened this issue Jul 10, 2017 · 3 comments
Open

Localhost traffic going to proxy #11

GodKratos opened this issue Jul 10, 2017 · 3 comments

Comments

@GodKratos
Copy link

GodKratos commented Jul 10, 2017

I installed postern and it worked great when I first set up a domain keyword filter.

For some reason though it has stopped taking effect and it is sending additional traffic to the proxy that shouldn't be going there.
I specifically need local host traffic to 127.0.0.1 to be excluded from going to proxy but I can see connection requests to the proxy for that IP.

The rules are configured as follows:

[General]

[Proxy]
Proxy = https,1.2.3.4,80

[Rule]
DOMAIN-KEYWORD,google,Proxy

FINAL,DIRECT

Traffic outside of my application that I want to go direct is working fine but the traffic in the app is trying to access 127.0.0.1 first which is going to the proxy and breaking the app functionality.
I've tried adding a CIDR rule at the rop of the rule list for 127.0.0.1/8 to go direct but it still doesn't work. I'm assuming maybe its because local host traffic always enters the proxy since it is the same address the VPN will be listening on?

@GodKratos
Copy link
Author

GodKratos commented Jul 10, 2017

I've also tried this:

[General]
skip-proxy = 127.0.0.1/8, localhost, *.local, local
bypass-tun = 127.0.0.1/8, localhost, *.local, local

[Proxy]
MYPROXY = https,1.2.3.4,80
DIRECT = direct

[Proxy Group]
Proxy = select, DIRECT, MYPROXY

[Rule]
DOMAIN-SUFFIX,mydomain.com,Proxy

FINAL,DIRECT

When I set the proxy group to Passthrough the app works correctly without proxying.
When I set the proxy group to MYPROXY the app fails and I see connection attempts to 127.0.0.1 to the proxy server even though it doesn't match the domain suffix...

@attila08
Copy link

can someone pls help me to condigure my postern app. pls advice me how to use and extract those condigurations. tnk u very much

@attila08
Copy link

pls help me how to install those confugurations

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

2 participants