Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I use OpenVPN with my IPCOP firewall. When I first installed OpenVPN, I configured to work on TCP 443. Speed was good and connection was reliable. However, I decided to implement a web server which sits inside my LAN therefore, I had to forward port TCP 443 to the web server and change OpenVPN to port UPD 1194. I noticed with port UDP 1194 my connection is sluggish and sometimes unreliable.
There is no particular technical reason why a "UDP" port should be "sluggish" or "unreliable."
In fact, OpenVPN usually uses "UDP 1194." (Although I don't always use this port-number, for obscurity reasons, I do use this protocol.)
Therefore, if you are experiencing "sluggish / unreliable" behavior right now, it has nothing specifically to do with "your protocol or port." That's a red herring.
I suggest that you first use tools such as tcpdump to observe the (encrypted) packets as they come and go, and also that you check the system logs for any indication of communications issues. This necessarily must be "a basic network communication issue," not something specifically associated with OpenVPN.
Last edited by sundialsvcs; 12-14-2016 at 08:30 PM.
Thank you guys for your response. The strange thing is that while I was using port TCP443 i had no speed issues. Maybe the machine I am using for IPCOP is too old. It is a PIII 700mhz with 128MB of ram. I am thinking of using a "newer" box for it. P4 2.4GHZ 2GB of ram.
Of course, UDP is a datagram protocol: it sends one-way packets merely expecting them to get through to their destination. There is no concept of a "connection."
UDP traffic should be carried just like TCP/IP traffic and with comparable reliability. If not, then you might use tools such as the old standby, nc, to send packets and see if they are getting through. (There are many protocols which use datagrams, so it should be of concern to you if they're not reliably and consistently making it to their destination. Any piece of hardware could be a potential culprit.)
It seems like the location were I usually connect from to my VPN server was causing the sluggish connection. I am currently at a different location using wireless and connected to my VPN just fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.