lxhxxnxxx
Hi all.
I'm having this very weird problem. I have 1 .ovpn, 1 computer (a Macbook). Used in two different networks (1 at home, 1 at my office).
1. Home: connects fine. Able to connect to internet. Able to connect using localIP to a server within the same VPC as the vpn server (yes, I'm using ec2 instances from aws). VPN one is running ubuntu 16.04.
2. Office; connects fine.
- But I can't connect to the internet. Ping works, gives me IP address (google.com -> 216.58.199.110 for example). From browser I can't reach google.com
- I can connect to other ec2 within the same vps. But whenever I open or tail -f a file. It will hang.. I need to close my terminal to stop the session.
This happens to my colleague as well (same office, but he has different computers). So I very much think it was my office's network. Any ideas of what should I check.
Because I'm using it just fine at home I don't think the problem is with my config. But here they are:
port 1194
proto udp
dev tun
ca ca.crt
cert ***.crt
key ***.key # This file should be kept secret
dh dh.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 208.67.220.220"
push "dhcp-option DNS 208.67.220.222"
keepalive 10 120
tls-auth ta.key 0 # This file is secret
key-direction 0
cipher AES-256-CBC # AES
auth SHA256
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
dhcp-option DNS ***
dev tun
proto udp
remote *** 1194
resolv-retry infinite
nobind
user nobody
group nogroup
persist-key
persist-tun
remote-cert-tls server
cipher AES-256-CBC
auth SHA256
key-direction 1
comp-lzo
verb 3
Thansk for any help 🙂.
Ninh.
lxhxxnxxx
A few updates:
- I jumped into our the router in my office my didn't see any firewall setup, etc..
- The only difference I think is in my office every device have assigned local IP by MAC address.
Anything else I should check?