Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have been happy with OpenVPN so far. But I have other issues.

Following is the situation right now : - OpenVPN server installed on Amazon Linux. - OpenVPN client installed on Windows 7. - Set up port forwarding and Masquerading as mentioned in the video on OpenVPN server. - Can establish VPN connection and RDP into all windows instances in the VPC without any problems.

Problems :

  • SSH over this OpenVPN connection doesn't work "properly". What I mean is, I can connect via SSH to a ubuntu instance in the VPC but after connecting when the shell pops up it shows me the date/time but I cannot type into the shell. The SFTP window which opens up on my SSH client also cannot list files.

  • MySQL connection doesn't work properly, I can establish a connection to the MySQL server in the VPC via MySQL workbench, but I cannot select the database and run a query, I can only 'see' the database.

What am I missing ?

share|improve this question
The problems you mention are very odd. It doesn't seem like they would have anything to do with OpenVPN. You might need to fire up tcpdump/wireshark to figure out what is going on. – Zoredache Apr 25 '13 at 23:03
Should I do that on my OpenVPN server or from the client machine I am connecting from ? – LaWFuL EviL Apr 26 '13 at 0:42
Sounds like possible MTU issues: – fukawi2 Apr 26 '13 at 1:33
I'll definitely check out the MTU settings. But also, does this have anything to do with character encoding ? – LaWFuL EviL Apr 26 '13 at 15:46
It was the MTU size. I first performed the mtutest from the client. Which gave me an answer of 1573, then I added "mssfix 1300" to the client size configuration and it solved the problem. – LaWFuL EviL May 7 '13 at 14:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.