How do i know what port my vpn is using?

Posted on 2012-04-05
Last Modified: 2012-04-09
my company has a central server with a number of client computers that use a vpn to connect remotely. To use the vpn on another company's wireless network, they need to open the port that my vpn requires to work. How can i figure out what port this vpn is using?
Question by:EfficiencyAnalyst

Assisted Solution

hunart earned 167 total points
ID: 37813290
Check the VPN configuration settings on you VPN device or you can use the simple DOS command "netstat -a", without the quotes.
LVL 11

Accepted Solution

diprajbasu earned 167 total points
ID: 37815317
vpn ports :-
for SSL vpn
port 443(TCP)
IP Protocol=TCP, TCP Port number=1723  
IP Protocol=GRE (value 47)  
For L2TP:
IP Protocol Type=UDP, UDP Port Number=500  
IP Protocol Type=UDP, UDP Port Number=4500  
IP Protocol Type=ESP (value 50)  
IP Protocol=TCP, TCP Port number=443  
For IKEv2:
IP Protocol Type=UDP, UDP Port Number=500    
IP Protocol Type=UDP, UDP Port Number=4500  
IP Protocol Type=ESP (value 50)
LVL 77

Assisted Solution

arnold earned 166 total points
ID: 37819428
In l2tp example above tcp port 1721 needs to be include
The example referenced in the encompassing set of information deals with l2tp over IPSec.
Openvpn uses tcp port 1194 by default but can b configured to use any port.

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Access shared drive during VPN session 9 108
Cisco ASA two factor VPN 3 54
HTTPS/SSL based VPN will full functionality? 2 58
SBS 2008 cannot logon remotely 7 55
Sometimes, you want your microsoft VPN to route all the traffic to the remote network. Usually your employer network. This makes it possible to access all the nodes inside this remote LAN, even if they have no "public DNS" entries. To do so, you wo…
OpenVPN is a great open source VPN server that is capable of providing quick and easy VPN access to your network on the cheap.  By default the software is configured to allow open access to your network.  But what if you want to restrict users to on…
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question