DyonR / docker-Jackettvpn

Docker container which runs a headless Jackett Server with an optional WireGuard or OpenVPN connection
https://hub.docker.com/r/dyonr/jackettvpn/
GNU General Public License v3.0
68 stars 32 forks source link

How to expose WebUI to internet? #49

Open joydeepsaha05 opened 3 years ago

joydeepsaha05 commented 3 years ago

I'm trying to run this container on a cloud instance and wanted to connect to the Jackett WebUI from my local PC (connection routed over the internet). However the readme mentions that this can only be accessed from the local network?

Looking for any guidance on what changes need to be made so as to access the WebUI from any IP.

DyonR commented 3 years ago

If you want to expose the Web UI to the internet, you must portforward it like any normal service in your router or firewall.
Just portforward port 9117 to your Unraid / Docker IP.
For example, if you access Jackett on 192.168.0.180:9117 you just need to forward port 9117 on IP 192.168.0.180 in your router/firewall

joydeepsaha05 commented 3 years ago

Since I'm trying to do this on a VM instance on the cloud, I don't need to worry about the port forwarding part. I have verified that Jackett's default 9117 port is accessible by starting Jackett separately, without Docker.

Would the iptables rules cause the packet to be dropped if originating outside the local network?