LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-14-2016, 11:55 AM   #1
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

Rep: Reputation: 88
Question OpenVPN port


Hi,

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.

Which other port would you recommend using?

Thank you!
 
Old 12-14-2016, 07:53 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
tRY 1198.
 
Old 12-14-2016, 08:27 PM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,748
Blog Entries: 4

Rep: Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965
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.
 
Old 12-15-2016, 08:27 AM   #4
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

Original Poster
Rep: Reputation: 88
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.

I will check the net with tcpdump.
 
Old 12-15-2016, 09:06 AM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,748
Blog Entries: 4

Rep: Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965
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.)
 
Old 12-15-2016, 03:31 PM   #6
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

Original Poster
Rep: Reputation: 88
Thank you Sundialsvcs.
 
Old 12-15-2016, 07:46 PM   #7
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

Original Poster
Rep: Reputation: 88
Hey Guys,

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.

Thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVPN and port-forwarding shoelesshunter Linux - Networking 9 05-19-2015 11:41 AM
Allow only port 80 on OpenVPN server fandar Linux - Networking 1 07-11-2014 07:52 AM
OPENVPN - Port Forwarding giannos Linux - Networking 4 10-12-2010 07:53 AM
Port fowarding to a VM over OpenVPN Doug_M Linux - Networking 0 05-06-2010 07:03 AM
OpenVPN and HTTPS port-share VaZso Linux - Networking 1 03-18-2009 05:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration