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

Can't ping anything except 10.8.0.1 after connect #190

Open
bazzzsh opened this issue Jul 19, 2023 · 2 comments
Open

Can't ping anything except 10.8.0.1 after connect #190

bazzzsh opened this issue Jul 19, 2023 · 2 comments

Comments

@bazzzsh
Copy link

bazzzsh commented Jul 19, 2023

Connection succesfull, but i can ping only 10.8.0.1 after connect, client OpenVPN v.2.6.5, server Oracle Linux Server 8.8 (selinux disabled).
Mb any logs required?

@alekslitvinenk
Copy link
Collaborator

alekslitvinenk commented Jul 21, 2023 via email

@sergk8
Copy link

sergk8 commented Oct 8, 2023

Hi @alekslitvinenk ,

I'm having the same issue when using alekslitvinenk/openvpn on Linux box in Oracle Cloud.
Though I'm able to connect to my host that has alekslitvinenk/openvpn exposed on port 1194 using OpenVPN Connect, I cannot open any website with my browser when VPN connections is established. Neither I can also ping any host on the internet or perform DNS resolution. When hosting alekslitvinenk/openvpn on OVH linux box, everything works like a charm.
I have tried opening all ingress / egress connections for all ports and protocols in Oracle Cloud admin panel (so that cloud infrastructure is not blocking specific ports) with no posivite result.

Here is how it looks like when I'm on VPN:

➜  ~ ping google.com
^C
➜  ~ ping 142.250.185.131
PING 142.250.185.131 (142.250.185.131): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
^C
--- 142.250.185.131 ping statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss
➜  ~ ping 10.8.0.1
PING 10.8.0.1 (10.8.0.1): 56 data bytes
64 bytes from 10.8.0.1: icmp_seq=0 ttl=64 time=37.720 ms
64 bytes from 10.8.0.1: icmp_seq=1 ttl=64 time=39.891 ms
64 bytes from 10.8.0.1: icmp_seq=2 ttl=64 time=35.847 ms
^C
--- 10.8.0.1 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 35.847/37.819/39.891/1.652 ms

Here is how it looks without VPN connection:

➜  ~ ping google.com
PING google.com (142.251.209.142): 56 data bytes
64 bytes from 142.251.209.142: icmp_seq=0 ttl=119 time=344.355 ms
64 bytes from 142.251.209.142: icmp_seq=1 ttl=119 time=25.049 ms
^C
--- google.com ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 25.049/184.702/344.355/159.653 ms
➜  ~ ping 142.250.185.131
PING 142.250.185.131 (142.250.185.131): 56 data bytes
64 bytes from 142.250.185.131: icmp_seq=0 ttl=59 time=188.031 ms
64 bytes from 142.250.185.131: icmp_seq=1 ttl=59 time=36.609 ms
^C
--- 142.250.185.131 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 36.609/112.320/188.031/75.711 ms
➜  ~ ping 10.8.0.1
PING 10.8.0.1 (10.8.0.1): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
^C
--- 10.8.0.1 ping statistics ---
3 packets transmitted, 0 packets received, 100.0% packet loss

I suspect that some firewall / forwarding configuration is probably needed on the linux box itself or maybe docker networking is not working the way it should.
Could you please point out where to look so that I could provide you more logs?

Thank you,
Serg

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

3 participants