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

Outbound settings for chain-proxying #51

Closed
TPS opened this Issue Sep 18, 2015 · 8 comments

Comments

Projects
None yet
4 participants
@TPS
Contributor

TPS commented Sep 18, 2015

As mentioned here & preceding, outbound proxy settings are necessary for those of us who'd like to use AG in conjunction with another proxy, e.g., Orbot in that mode.

@ameshkov ameshkov added this to the 3.0 milestone Sep 18, 2015

@ameshkov

This comment has been minimized.

Show comment
Hide comment
@ameshkov

ameshkov Oct 29, 2015

Member

We should implement it as a low-level setting.

Name: pref.http.proxy.upstream
Type: String
Example: 127.0.0.1:8888

Proxifying plain HTTP is rather straightforward. But I don't yet understand how we will proxify HTTPS traffic. Simple solution is to stick with HTTPS tunneling. But in this case we may loose the ability to decrypt & filter it.

Member

ameshkov commented Oct 29, 2015

We should implement it as a low-level setting.

Name: pref.http.proxy.upstream
Type: String
Example: 127.0.0.1:8888

Proxifying plain HTTP is rather straightforward. But I don't yet understand how we will proxify HTTPS traffic. Simple solution is to stick with HTTPS tunneling. But in this case we may loose the ability to decrypt & filter it.

@ameshkov ameshkov modified the milestones: 2.6, 2.5 Nov 3, 2015

@ameshkov

This comment has been minimized.

Show comment
Hide comment
@ameshkov

ameshkov Mar 24, 2016

Member

One more user request: add PAC support

Member

ameshkov commented Mar 24, 2016

One more user request: add PAC support

@ameshkov

This comment has been minimized.

Show comment
Hide comment
@ameshkov

ameshkov May 18, 2016

Member

@Revertron need a hand with this.

Step 1: Add "Proxy settings" to the advanced section:

2016-05-18_1758

Step 2: Proxy settings dialog

It should look like the system dialog for Wi-Fi network properties. Fields are described below.

Proxy type
None
HTTP
SOCKS4
SOCKS5

Proxy hostname
Proxy port
Visible for both HTTP and SOCKS.

Username
Password
Visible for HTTP and SOCKS5 (not for SOCKS4).
Validation rules: ASCII characters, can be empty.

Cancel
Save

Member

ameshkov commented May 18, 2016

@Revertron need a hand with this.

Step 1: Add "Proxy settings" to the advanced section:

2016-05-18_1758

Step 2: Proxy settings dialog

It should look like the system dialog for Wi-Fi network properties. Fields are described below.

Proxy type
None
HTTP
SOCKS4
SOCKS5

Proxy hostname
Proxy port
Visible for both HTTP and SOCKS.

Username
Password
Visible for HTTP and SOCKS5 (not for SOCKS4).
Validation rules: ASCII characters, can be empty.

Cancel
Save

@Revertron

This comment has been minimized.

Show comment
Hide comment
@Revertron

Revertron May 19, 2016

Member

Done with dialog :)

Member

Revertron commented May 19, 2016

Done with dialog :)

@ameshkov

This comment has been minimized.

Show comment
Hide comment
@ameshkov

ameshkov May 19, 2016

Member

Short instruction on how to use Adguard with Orbot (we should add it to FAQ):

  1. Install and run Orbot
  2. Open Adguard and go to Settings -> Advanced
  3. Set proxy settings:
    SOCKS4
    host=127.0.0.1
    port=9095
  4. Run Adguard
Member

ameshkov commented May 19, 2016

Short instruction on how to use Adguard with Orbot (we should add it to FAQ):

  1. Install and run Orbot
  2. Open Adguard and go to Settings -> Advanced
  3. Set proxy settings:
    SOCKS4
    host=127.0.0.1
    port=9095
  4. Run Adguard
@ameshkov

This comment has been minimized.

Show comment
Hide comment
@ameshkov

ameshkov May 19, 2016

Member

Done

Member

ameshkov commented May 19, 2016

Done

@ameshkov ameshkov closed this May 19, 2016

@TPS TPS referenced this issue Jun 1, 2016

Closed

Opera Max #602

@Eugene-Savenko

This comment has been minimized.

Show comment
Hide comment
@Eugene-Savenko

Eugene-Savenko Jan 28, 2017

Member

Hi, could you please look into comments below, the customer cannot get Adguard work along with Adguard

I am having a difficulty in connecting to internet using both Orbot and
Adguard together.

Your previous e-mail didn't contain all the options necessary for using
Orbot with Adguard. In your email you said to use local proxy port which is
9095. But, how it is connected to Orbot? Also, Orbot's which setting is
connected to Adguard's local proxy port 9095. Meaning, not everyone is
using the Orbot's default settings. So, it is necessary to know settings
not just from Adguard's view but also Orbot's in order to correctly use
both apps together. So, if I want to change proxy port 9095 to something
else, then what should I have to change in Orbot's settings to make both
work.

My phone is not rooted, so I have to use transposing of apps in VPN mode to
use Orbot to be able to surf anonymously. But, the problem is if I activate
Adguard, then Orbot needs to be disconnected to use Internet.

Can I use Internet with or without VPN mode in either one or not? In
non-rooted phones, in order to use Orbot's anonymity in every apps, I have
to use transproxy support with VPN mode. Then only it becomes usable. Also,
I don't know outbound proxy network in Orbot app.

Now, another problem in Adguard is whether to use VPN mode or local proxy
mode in Adguard when using with Orbot. Because, the problem is only one app
can use VPN mode at a time.

If I change filter mode to "local http proxy in Adguard", then local proxy
port option becomes visible, and then again, another problem occurs is what
is that used for?

In Orbot's settings, under "Debug" menu, there are three options with exact
names in latest Orbot app. They are as follows:
Tor Socks
Tor transproxy Port
Tor DNS Port
So, I want to know that are these options important when using Adguard with
Orbot.

I have embedded few snapshots to get an overview of what I meant to say.
Especially the one which keeps saying "Orbot is starting ".

In short, there are many options we have to go through when using both.

Options to consider in both apps in brainstorm are as follow:-

  1. VPN mode in either or both.
  2. Orbot's transproxy feature should be enabled or not when using Adguard.
  3. In Adguard, Using "VPN mode or local http proxy" in filter mode option.
  4. Who is first using Internet, Orbot or Adguard? Meaning, is Adguard
    getting Internet content from Orbot or is Orbit getting Internet content
    from Adguard after filtering all ads?
Member

Eugene-Savenko commented Jan 28, 2017

Hi, could you please look into comments below, the customer cannot get Adguard work along with Adguard

I am having a difficulty in connecting to internet using both Orbot and
Adguard together.

Your previous e-mail didn't contain all the options necessary for using
Orbot with Adguard. In your email you said to use local proxy port which is
9095. But, how it is connected to Orbot? Also, Orbot's which setting is
connected to Adguard's local proxy port 9095. Meaning, not everyone is
using the Orbot's default settings. So, it is necessary to know settings
not just from Adguard's view but also Orbot's in order to correctly use
both apps together. So, if I want to change proxy port 9095 to something
else, then what should I have to change in Orbot's settings to make both
work.

My phone is not rooted, so I have to use transposing of apps in VPN mode to
use Orbot to be able to surf anonymously. But, the problem is if I activate
Adguard, then Orbot needs to be disconnected to use Internet.

Can I use Internet with or without VPN mode in either one or not? In
non-rooted phones, in order to use Orbot's anonymity in every apps, I have
to use transproxy support with VPN mode. Then only it becomes usable. Also,
I don't know outbound proxy network in Orbot app.

Now, another problem in Adguard is whether to use VPN mode or local proxy
mode in Adguard when using with Orbot. Because, the problem is only one app
can use VPN mode at a time.

If I change filter mode to "local http proxy in Adguard", then local proxy
port option becomes visible, and then again, another problem occurs is what
is that used for?

In Orbot's settings, under "Debug" menu, there are three options with exact
names in latest Orbot app. They are as follows:
Tor Socks
Tor transproxy Port
Tor DNS Port
So, I want to know that are these options important when using Adguard with
Orbot.

I have embedded few snapshots to get an overview of what I meant to say.
Especially the one which keeps saying "Orbot is starting ".

In short, there are many options we have to go through when using both.

Options to consider in both apps in brainstorm are as follow:-

  1. VPN mode in either or both.
  2. Orbot's transproxy feature should be enabled or not when using Adguard.
  3. In Adguard, Using "VPN mode or local http proxy" in filter mode option.
  4. Who is first using Internet, Orbot or Adguard? Meaning, is Adguard
    getting Internet content from Orbot or is Orbit getting Internet content
    from Adguard after filtering all ads?
@ameshkov

This comment has been minimized.

Show comment
Hide comment
@ameshkov

ameshkov Jan 30, 2017

Member

@evgeniy-ADG I suppose there is a misunderstanding of some sort.

In order to work together, Adguard should use Orbot as an outbound proxy.

So, the chain looks like:
Adguard ---> Orbot ---> Internet

It does not depend on which filtering mode is used by Adguard.
I suppose user tries to change "Local proxy port" in AG settings instead of setting "Proxy settings".

Member

ameshkov commented Jan 30, 2017

@evgeniy-ADG I suppose there is a misunderstanding of some sort.

In order to work together, Adguard should use Orbot as an outbound proxy.

So, the chain looks like:
Adguard ---> Orbot ---> Internet

It does not depend on which filtering mode is used by Adguard.
I suppose user tries to change "Local proxy port" in AG settings instead of setting "Proxy settings".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment