Jump to content

Set up Emby behind Airvpn gluetun


Go to solution Solved by Xuanlang1,

Recommended Posts

Xuanlang1
Posted

Hi, I'm trying to set up a Docker with Gluetun and another one running Emby to do remote access to the Emby server. I had a port forward set up in the client area. However, the port forwarding to my Emby is just not working. I can access it via local network, but cannot access via {vpnip}:9268, which is my forward port. I have set this port in the Emby network as a remote HTTP port. When I test it in forwarded ports- Test open, it returned "Connection refused (111)".

The following is my Docker Compose file. Has anyone tried to use AirVPN's port forwarding to access Emby remotely? Can anyone please help me check if there's something wrong with my setup?
 

services:
gluetun_emby:
image: qmcgaw/gluetun:latest
container_name: gluetun_emby
cap_add:
- NET_ADMIN
# devices:
# - /dev/net/tun:/dev/net/tun
environment:
- VPN_SERVICE_PROVIDER=airvpn
- VPN_TYPE=wireguard
- WIREGUARD_PRIVATE_KEY=xxx
- WIREGUARD_PRESHARED_KEY=xxx
- WIREGUARD_ADDRESSES=xxx
- SERVER_REGIONS=Europe
- FIREWALL_VPN_INPUT_PORTS=9268
- FIREWALL_OUTBOUND_SUBNETS=192.168.0.0/16
- TZ=Europe/Copenhagen
ports:
- 8096:8096
- 8920:8920
- 9268:9268
restart: unless-stopped
emby:
image: emby/embyserver
container_name: embyserver
network_mode: "service:gluetun_emby"
environment:
- UID=1000
- GID=10
- TZ=Europe/Copenhagen
volumes:
- ./programdata:/config
- /volume1/BitDownload/Link/Movies:/data/Movies
- /volume1/BitDownload/Link/TVSeries:/data/TVSeries
devices:
- /dev/dri:/dev/dri
restart: on-failure
Xuanlang1
Posted

So I just changed my local HTTP port to 9268, and somehow it just worked. I got the inspiration from this post: 

However, it was super lagging. I'm having a 1000/1000Mb network, and from the Dashboard, it seems to be finished transcoding. I'm not sure if it's because of the net speed or transcoding, as far as I understand, the red bar shows the transcode progress, am I missing something?

578791746652509_.pic.jpg

  • Solution
Xuanlang1
Posted

I tried to download from the client Emby, and it seems my vpn's upload speed is only 300KB/s. Sorry for the meaningless post here, I think the problem is fixed(at least I know it's not my setup problem now)

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...