Friday, June 2, 2023

How to setup your own private, secure, free VPN on the Amazon AWS Cloud

 

How to setup your own private, secure, free VPN on the Amazon AWS Cloud


Virtual private networks (VPNs) offer several benefits, including:

  • Increased security: A VPN encrypts your data, making it much more difficult for hackers to steal your personal information or track your online activity. This is especially important when using public Wi-Fi, as these networks are often unsecure and vulnerable to attack.
  • Improved privacy: A VPN hides your IP address, which is a unique identifier that can be used to track your online activity. This makes it more difficult for websites, advertisers, and other third parties to track your online behavior.
  • Access to geo-restricted content: A VPN can be used to bypass geo-restrictions, which are restrictions that prevent users from accessing certain websites or content based on their location. This can be useful for accessing streaming services, social media platforms, or other websites that are not available in your region.
  • Reduced bandwidth throttling: Some internet service providers (ISPs) may throttle the bandwidth of certain websites or services, such as streaming services or file-sharing applications. This can lead to slower speeds and buffering. A VPN can help to prevent bandwidth throttling by encrypting your traffic and making it more difficult for your ISP to identify what you are doing online.
Overall, a VPN can be a valuable tool for improving your online security, privacy, and access to content. If you are concerned about your online security or privacy, or if you need to access geo-restricted content, then a VPN is a good option to consider.

Advantages of a private VPN server:

Simple to set up: Even non-technical users can set up a private VPN server in just 10 minutes.Dedicated: You will have a dedicated VPN server for your own use, which means that you will not have to share it with anyone else.Secure: Your data will be encrypted and protected by a password. No logs will be kept of your activity.On demand: You can start and stop the VPN server as needed.Global: You can choose from one of 14 worldwide regions for your VPN server.
  • Wide device support: The VPN server can be used on a variety of devices, including Android, iPhone, iPad, PC, Mac, and even most routers.
Free: New Amazon AWS customers can get a free tier server for the first year.

Steps to set up a private VPN server on AWS:


1. Create a free Amazon AWS account. You can do this by visiting https://aws.amazon.com/free/ and clicking on the "Sign Up" button.

2. Select a region for your VPN server. You can choose from Mumbai, California, Ireland, Frankfurt, Singapore, Tokyo, Sydney etc.





3. Open the CloudFormation service in the AWS Management Console. You can do this from the search menu, type "CloudFormation" and click on it.





4. Create a stack with CloudFormation. Click on “Create Stack” button on top of the page.





5. Download the JSON template file from here.

6. Select "Upload a Template File" from the below screen and upload the downloaded JSON file.





7. Enter a stack name for your VPN server. For example, you could use "VPN". Select the speed as “Standard.VPN-Free".





8. Enter a username and password for your VPN server.

9. Enter a passphrase for your VPN server.

10. Click Next twice and submit.

11. The VPN server will be created in a few minutes. You can monitor the progress of the creation process by clicking on the "Stacks" tab in the CloudFormation service.





12. Once the stack status shows as CREATE_COMPLETE you can then click on the Outputs tab.

13. Now in the outputs tab you can see the server IP address.





14. You can now connect to your VPN server using the IP address and the username and password that you created.

How to connect to your private VPN server:


Different devices have different ways to connect to a VPN server. Here are some instructions for connecting to a VPN server on a few popular devices. Keep in mind that your private VPN server supports both PPTP and L2TP with IPSEC. This means that your VPN server can be used with most devices, including older routers. You can connect to your VPN server using either PPTP or L2TP, whichever is supported by your device.

Here are some examples of how to connect to a VPN server on popular devices:

Android: On an Android device, open the Settings app and go to Network & Internet > VPN. Tap the Add button and select PPTP or L2TP. Enter the VPN server's IP address, username, and password, and then tap the Connect button.

iOS 13 or above: On an iOS device, open the Settings app and go to VPN. Tap the Add VPN Configuration... and select Type IPSec. Enter a name under Description. Enter the VPN server's IP address, username in Account, password in Password and Secret (PassPhrase), and then tap the Done button.

Windows: On a Windows computer, open Settings and go to Network & Internet > VPN. Click on the Add a VPN Connection. Enter the Connection name, VPN server's IP address in the IP address. Enter the VPN server's username and password in the User name and Password fields, and then click on the OK button.

Once you have connected to your VPN server, your traffic will be encrypted and routed through the VPN server. This will protect your privacy and security when you are using public Wi-Fi or when you are accessing websites or services that are blocked in your region.

Friday, January 13, 2023

What is ChatGPT?

ChatGPT   is a large language model developed by OpenAI. It is trained on a diverse range of internet text, and is capable of generating human-like text in a variety of formats, including conversational responses. ChatGPT can be fine-tuned for specific tasks, such as   language translation or question answering. It is a variant of the GPT (Generative Pre-trained Transformer) model.


https://chat.openai.com


Sunday, November 6, 2022

Install Telnet Client using Command line and PowerShell

Command Line:

pkgmgr /iu:"TelnetClient"

PowerShell:

Install-WindowsFeature Telnet-Client

Windows couldn't complete the updates

Error:

Windows couldn't complete the updates Undoing changes. Don't turn off your computer.

Solution:

Boot OS from Command prompt

net stop wuauserv

net stop bits

rename c:\windows\SoftwareDistribution SoftwareDistribution.bak

net start wuauserv

net start bits

Reboot the system

Set / Remove Extra Registry Settings from GPOs

Set / Remove Extra Registry Settings from GPOs

Solution:

Powershell cmdlet has a useful set of cmdlets that allow you to read and write directly to the underlying storage file–registry.pol— where Administrative Templates settings are stored. These cmdlets are:

Set-GPRegistryValue

Get-GPRegistryValue

Remove-GPRegistryValue

Set-GPRegistryValue

Example:

Get-GPRegistryValue -Name "*GPO Name" -Key "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\"

Getting credentials prompt for local intranet sites and share drive after connecting to Remote VPN

Getting credentials prompt for local intranet sites and share drive after connecting to Remote VPN

Solution:

Locate the .pbk file associated with your VPN connection (%AppData%\Roaming\Microsoft\Network\Connections\PBK\rasphone.pbk for user VPNs) or (%ProgramData%\Microsoft\Network\Connections\Pbk\rasphone.pbk for system VPNs).

Right-click on the VPN's .pbk file and open it with Notepad. (Remember to untick 'Always use this program for this file type')

Roughly 5 lines down will be an entry 'UseRasCredentials=1'

Change this to 'UseRasCredentials=0'

Save the file.

Reference:

https://social.technet.microsoft.com/Forums/windows/en-US/0204464d-e32d-4584-966b-60788cce0d6f/disable-creation-of-vpn-quotsessionquot-credential-in-credential-manager-without-disabling-all?forum=winserversecurity


Search this Blog

Note :

Infolinks In Text Ads