• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

How do I access proxy using Openvpn, Android Phone and Cellular Data Connection

Scheduled Pinned Locked Moved Cache/Proxy
3 Posts 2 Posters 1.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    mich04
    last edited by Sep 22, 2017, 3:46 PM

    I want to access my squid proxy through Openvpn on a data connection. I know that when I am on wifi I can use the advanced settings to set the proxy. With cellular data I did notice that I can set a proxy for the APN for my carrier.

    I assume that is if my carrier uses a proxy and that it would not apply to my VPN connection. I did try it with no success. Here is my setup.

    Firewall
    Action    Protocol              Source  Port  Destination              Port          Gateway
    Reject    IPv4*                      *            *      pfB DNSBLIP        *                  *
    Reject    IPv4*                      *            *      pfB Ads Spyware  *                  *
    Pass        IPv4 TCP/UDP        *            *      Server IP              53 (DNS)      *
    Block      IPv4 TCP/UDP          *            *            *                    53 (DNS)      *
    Block      IPv4 TCP/UDP          *            *            *                    80 (HTTP)      *
    Block      IPv4 TCP/UDP          *            *            *                    443(HTTPS)    *
    Pass      IPv4*                      *            *            *                    *                  *

    My NAT Settings just have the two basic pfblocker rules.

    Also Squid's ACL has the VPN subnet added but that does not seem to affect anything. The connections seem to be dropped by the "block HTTPS "rule. These are the same settings I have for my LAN and the LAN works perfectly it filters https as well as http. I also have WPAD setup.

    1 Reply Last reply Reply Quote 0
    • M
      mich04
      last edited by Sep 25, 2017, 2:10 PM

      So I got further on this following the link found in this forum on setting up a proper interface. I also copied all the rules that I stated above to the interface and deleted them from the OpenVPN tab. OpenVPN was also restarted.
      https://forum.pfsense.org/index.php?topic=107886.0

      I know that the vpn is partially being filtered by squid because if I go to a blocked http site it shows the squd filter page, but now my "block port 443" rule is blocking vpn traffic when enabled. I think that if I was dealing with my laptop this would be fixed by setting the proxy, but on android I can only do that on WIFI it seems. I hope this additional information can help someone help me. Even if someone could point me to some articles or research material. I will keep looking around until then.

      1 Reply Last reply Reply Quote 0
      • C
        Cark
        last edited by Aug 16, 2020, 2:32 AM

        I know it's years after this post was made, but I found a solution that worked for me. You just configure a proxy on your phones APN, pretty much the same way you do on Windows.

        Here's a little tutorial I made for it.
        https://youtu.be/i7Q24BKJovo

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received