mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-26 04:25:00 +00:00
Merge branch 'dev' of github.com:haugene/docker-transmission-openvpn into dev
This commit is contained in:
commit
7df5cf2553
@ -1,6 +1,6 @@
|
||||
# Transmission and OpenVPN
|
||||
#
|
||||
# Version 1.1
|
||||
# Version 1.2
|
||||
|
||||
FROM ubuntu:14.04
|
||||
MAINTAINER Kristian Haugene
|
||||
|
@ -89,8 +89,12 @@ This is because the VPN is active, and since docker is running in a different ip
|
||||
There are several ways to fix this. You can pipe and do fancy iptables or ip route configurations on the host and in the Docker image. But I found that the simplest solution is just to proxy my traffic. Start a Nginx container like this:
|
||||
|
||||
```
|
||||
$ docker run -d -v /path/to/nginx.conf:/etc/nginx/nginx.conf:ro -p 8080:8080 nginx
|
||||
$ docker run -d \
|
||||
-v /path/to/nginx.conf:/etc/nginx/nginx.conf:ro \
|
||||
-p 8080:8080 \
|
||||
nginx
|
||||
```
|
||||
|
||||
Where /path/to/nginx.conf has this content:
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user