OpenVPN / OpenVPN/openvpn

conneced docker-openvpn, only can access google, all other website cant access with timeout

Open
#621 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
14.6k
Forks
3.4k
PR merge metrics
No merged PRs in 30d

Description

hardware: 1. macbook, 2. router, 2. static public ip
environment
according to office instraction
https://openvpn.net/as-docs/docker.html

  1. create docker instance
    docker pull openvpn/openvpn-as

docker run -d
--name=openvpn-as --cap-add=NET_ADMIN
--hostname openvpn-as
--privileged=true
-p 943:943
-p 9090:443
-p 1194:1194/udp
-v /Users/admin/docker/openvpn/:/openvpn/
openvpn/openvpn-as

  1. get temp password
    docker logs -f openvpn-as | grep 'Auto-generated pass'

  2. login with openvpn account https://192.168.1.xxx:943/admin

  3. access to configuration -> Network Settings
    update Hostname or IP Address to static public ip

  4. download and install openvpn client into iphone

  5. set router port fordwarding
    application external port internal port protocol internal ip
    openvpn-1194 1194 1194 both 192.168.1. xx
    openvpn-943 943 943 both 192.168.1. xx
    openvpn-9090 9090 9090 both 192.168.1. xx

  6. install and config openvpn in iphone
    add url
    7.1 :9090
    7.2 input username:openvpn | password: temp-password

8 after connected to vpn success
9.1 iphone can throw public ip to access macbook docker web application (personal web appliocation)
8.2 iphone can access google
8.3 iphone can't access all other website

attached iphone video recording for reference

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by reproducing the Docker setup, reviewing docker logs -f openvpn-as, and checking the Network Settings and router port-forwarding values described in the issue; done means the iPhone can reach websites beyond Google while connected to the VPN.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.