conneced docker-openvpn, only can access google, all other website cant access with timeout
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
- 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
-
get temp password
docker logs -f openvpn-as | grep 'Auto-generated pass' -
login with openvpn account https://192.168.1.xxx:943/admin
-
access to configuration -> Network Settings
update Hostname or IP Address to static public ip -
download and install openvpn client into iphone
-
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 -
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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