Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
98549844 opened this issue Oct 3, 2024 · 1 comment

Comments

@98549844
Copy link

98549844 commented Oct 3, 2024

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

@98549844 98549844 changed the title conneced openvpn, only can access google, all other website cant access with timeout conneced docker-openvpn, only can access google, all other website cant access with timeout Oct 3, 2024
@ordex
Copy link
Member

ordex commented Oct 3, 2024

AS is a commercial product.

For questions about AS you should open a ticket on https://support.openvpn.net

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants