VPN In A Box: Lesson 20 - Configuring VPN Server Print

  • 7645

 

In this lesson, we walk you through configuring a VPN server using SoftEther's Windows Server Manager. Learn how to set up key components like NAT, Dynamic DNS, and user accounts. We’ll also demonstrate how to generate OpenVPN configuration files to enable seamless client connectivity. Whether you're setting up a personal VPN or preparing for a commercial deployment, this video provides all the practical steps needed to customize and manage your SoftEther VPN server effectively.

=========================

Here are the instructions to open necessary ports for a VPN server on Ubuntu:


Steps to Open VPN Server Ports on Ubuntu

  1. Access the Terminal:
    Open the terminal on your Ubuntu system or connect via SSH if managing a remote server.

  2. Update and Install UFW (Uncomplicated Firewall):
    If UFW is not already installed, install it using the command:

    sudo apt update
    sudo apt install ufw
    
  3. Allow Required Ports:
    SoftEther VPN and OpenVPN require specific ports for communication. Run the following commands to open these ports:

    • SoftEther Ports:

      sudo ufw allow 443/tcp
      sudo ufw allow 5555/tcp
      sudo ufw allow 1194/udp
      sudo ufw allow 500/udp
      sudo ufw allow 4500/udp
      
    • Other Common VPN Ports (if applicable):

      sudo ufw allow 1701/udp
      sudo ufw allow 1723/tcp
      
  4. Enable the Firewall:
    After configuring the rules, enable UFW to apply the changes:

    sudo ufw enable
    
  5. Check the Status:
    Verify that the ports are open and the firewall is active:

    sudo ufw status
    
  6. Test Connectivity:
    Ensure the VPN server can be accessed from your devices using the allowed ports.


For more resources and updates, visit www.emmanuelcorels.com.


Does this help?

« Back