mysql refuses connection via VPN

Problems with the Linux version of XAMPP, questions, comments, and anything related.

mysql refuses connection via VPN

Postby ekb » 25. May 2018 10:40

Hello,
When I try to connect to XAMPP mysql database on default port 3306 via VPN, the server (10.35.48.19) refuses connection. The result from Wireshark is :
Code: Select all
No.     Time           Source                Destination           Protocol Length Info
      1 0.000000       192.168.63.251        10.35.48.19           TCP      66     61401 → 3306 [SYN] Seq=0 Win=8192 Len=0 MSS=1460 WS=256 SACK_PERM=1
      2 0.287101       10.35.48.19           192.168.63.251        TCP      66     3306 → 61401 [SYN, ACK] Seq=0 Ack=1 Win=14600 Len=0 MSS=1460 SACK_PERM=1 WS=128
      3 0.287209       192.168.63.251        10.35.48.19           TCP      54     61401 → 3306 [ACK] Seq=1 Ack=1 Win=65536 Len=0
      4 0.579776       10.35.48.19           192.168.63.251        TCP      60     3306 → 61401 [RST] Seq=1 Win=0 Len=0

If I don't use VPN, everything is OK. The result from Wireshark is :
Code: Select all
No.     Time           Source                Destination           Protocol Length Info
      1 0.000000       10.35.49.101          10.35.48.19           TCP      66     18472 → 3306 [SYN] Seq=0 Win=8192 Len=0 MSS=1460 WS=256 SACK_PERM=1
      2 0.000364       10.35.48.19           10.35.49.101          TCP      66     3306 → 18472 [SYN, ACK] Seq=0 Ack=1 Win=14600 Len=0 MSS=1460 SACK_PERM=1 WS=128
      3 0.000416       10.35.49.101          10.35.48.19           TCP      54     18472 → 3306 [ACK] Seq=1 Ack=1 Win=65536 Len=0
      4 0.000916       10.35.48.19           10.35.49.101          MySQL    147    Server Greeting proto=10 version=5.5.5-10.1.16-MariaDB
      5 0.051171       10.35.49.101          10.35.48.19           TCP      54     18472 → 3306 [ACK] Seq=1 Ack=94 Win=65536 Len=0
...........

Just for info, via VPN I can connect for example to http://10.35.48.19/phpmyadmin/

I would be very grateful if someone help me with solving this problem. Thank you in advance !
ekb
 
Posts: 1
Joined: 25. May 2018 09:30
XAMPP version: 5.6.24-0
Operating System: RHEL 6.4 64bit

Re: mysql refuses connection via VPN

Postby Altrea » 25. May 2018 11:16

There is no MySQL setting i know which would prevent accessing MySQL via VPN.
If i would guess thats a VPN, network or operating system configuration issue.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 65 guests