Coder Social home page Coder Social logo

proxflix's Introduction

About

ProxFlix is yet another smart DNS solution to bypass geo-blocking.

Dependencies

  • Docker
  • systemd
  • BASH v4

Install from DockerHub

docker pull oblique/proxflix
docker run -v /usr/local/bin:/install oblique/proxflix instl

Install from GitHub

git clone https://github.com/oblique/proxflix
cd proxflix
docker build -t oblique/proxflix .
ln -snf $PWD/proxflix /usr/local/bin/proxflix

Usage

ProxFlix needs to be installed on a server to the region you are interested. After you start it, change the DNS of your TV to the IP of your server.

Start ProxFlix and enable it on boot

proxflix start
proxflix enable

Check if it's running

proxflix status

Allow an IP to use your smart DNS

proxflix add-ip 1.2.3.4

Remove an IP

proxflix rm-ip 1.2.3.4

List all allowed IPs

proxflix list-ips

Configuration

If you want to use OpenDNS servers instead Google DNS then do:

proxflix config-set dns '208.67.222.222,208.67.220.220'
proxflix restart

ProxFlix by default is using iptables to allow ports 443, 80, 53 only for the IPs you want. If you prefer to manage this with your own firewall rules, then you can disable this feature with:

proxflix config-set iptables false
proxflix restart

ProxFlix detects if you have a global IPv6 and it creates IPv6 NAT. This feature adds an iptables rule even if iptables config options is false. To disable this feature do:

proxflix config-set ipv6nat false
proxflix restart

License

MIT

proxflix's People

Contributors

oblique avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

proxflix's Issues

proflix does not start

Hello i followed the guide line but when i do the commad "proxflix start" doesn't start

proxflix status
Start on boot: yes
Running: no

Thank you

Can't connect to ports 80, 443; it seems that docker listens only on IPv6

Hi,

I've just installed your docker image on my server (thanks!)

My router set in a way that DNS resolves pandora.com to an IP address of this server, but curl can't get it:

$ curl -v -o /dev/null https://www.pandora.com
* Rebuilt URL to: https://www.pandora.com/
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying server-ip...
*   Trying server-ip6...
* connect to server-ip6 port 443 failed: Connection refused
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0* connect to server-ip port 443 failed: Connection refused
* Failed to connect to www.pandora.com port 443: Connection refused
* Closing connection 0
curl: (7) Failed to connect to www.pandora.com port 443: Connection refused

I tried to telnet to server-ip, ports 53, 80, 443, but I can't: Connection refused.
I have disabled iptables in your image: proxflix config-set iptables false (and restarted it), and I have following ufw rules:

Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), allow (routed)
New profiles: skip

To                         Action      From
--                         ------      ----
22/tcp                     ALLOW IN    Anywhere
80,443/tcp                 ALLOW IN    my-public-ip
53/udp                     ALLOW IN    my-public-ip
80,443/tcp                 ALLOW IN    Anywhere
53/udp                     ALLOW IN    Anywhere
22/tcp (v6)                ALLOW IN    Anywhere (v6)
80,443/tcp (v6)            ALLOW IN    Anywhere (v6)
53/udp (v6)                ALLOW IN    Anywhere (v6)

There is no entries in ufw log about blocked requests from my home ip.
Also netstat output from the server:

$ sudo netstat -tulpn
sudo: unable to resolve host srv.skaur.us
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      19134/sshd
tcp6       0      0 :::80                   :::*                    LISTEN      32114/docker-proxy
tcp6       0      0 :::53                   :::*                    LISTEN      32126/docker-proxy
tcp6       0      0 :::22                   :::*                    LISTEN      19134/sshd
tcp6       0      0 :::443                  :::*                    LISTEN      32102/docker-proxy
udp6       0      0 :::53                   :::*                                32138/docker-proxy

Do I misunderstand something? What do I have to do so I can connect to http and dns ports of my server?

Proxflix doesn't start

Hello i followed the guide line but when i do the commad "proxflix start" doesn't start

proxflix status
Start on boot: yes
Running: no

Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.