craig young
New Around Here
Hi,
This is my first post and I have been trying to get this working for ages so now I have decided to post to hopefully get some help.
I setup an AWS EC2 AMI instance and installed OpenVPN server using the following guide:
https://www.comparitech.com/blog/vp...-your-own-free-vpn-using-amazon-web-services/
I am able to connect using Tunnelblick on my mac without any issues and shows VPN IP, but have had issues trying to setup my router.
I did a factory reset and installed the latest merlin f/w but still face the same issue.
The problem is if I choose anything other than "disabled" on compression I get the following error on the server:
openvpn[6352]: write to TUN/TAP : Invalid argument (code=22)
VPN status shows connecting and my IP remains the same but I can browse.
If I choose disabled, VPN status shows as connected but I am unable to browse anything. (just hangs)
I tail -f the /var/log/messages on the ec2 instance so I know it is communicating.
Would love some help as I have no clue on how to get this working, I have kept the server and client openvpn.conf entries fairly basic to help with troubleshooting.
Hopefully some network guru or someone who has set this up before can help
I have tried a few other thing's and googled the issue, but I want to keep my initial post as clear and concise as I can at this point.
Thanks
This is my first post and I have been trying to get this working for ages so now I have decided to post to hopefully get some help.
I setup an AWS EC2 AMI instance and installed OpenVPN server using the following guide:
https://www.comparitech.com/blog/vp...-your-own-free-vpn-using-amazon-web-services/
I am able to connect using Tunnelblick on my mac without any issues and shows VPN IP, but have had issues trying to setup my router.
I did a factory reset and installed the latest merlin f/w but still face the same issue.
The problem is if I choose anything other than "disabled" on compression I get the following error on the server:
openvpn[6352]: write to TUN/TAP : Invalid argument (code=22)
VPN status shows connecting and my IP remains the same but I can browse.
If I choose disabled, VPN status shows as connected but I am unable to browse anything. (just hangs)
I tail -f the /var/log/messages on the ec2 instance so I know it is communicating.
Would love some help as I have no clue on how to get this working, I have kept the server and client openvpn.conf entries fairly basic to help with troubleshooting.
Hopefully some network guru or someone who has set this up before can help

I have tried a few other thing's and googled the issue, but I want to keep my initial post as clear and concise as I can at this point.
Thanks
Last edited: