Twingate - A modern remote access solution
Published: 2023-03-19 18:42:46

            

## Secure your network without a VPN

To managing and securing AWS cloud infrastructure, we have to place the application as well as db server in private subnet and then VPN (Openvpn,Pritunlvpn etc) server is needed to connect them for administrative works, this is similar for other cloud providers like google,azure etc.

For managing Multiple AWS account for your organization, it's tedious job to configure and maintain vpn for each account.With VPNs, VPN gateways need to be deployed in every aws account and also they are public and visible on the internet. As a result, gateways are constantly probed by attackers.

With the right sdp solution, organizations can securely connect remote users, on-premises servers and multi-cloud environments, potentially at a fraction of the cost and security risk of the traditional approach.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s18xmomla7jlfl75w4jj.png)

Twingate eliminates public attack surfaces to create a secure network between users and private servers. It can easily implement a zero trust (ZTNA) solution with your AWS cloud resources and applications.

Steps to configure and connect with Twingate

##1.Define a Remote Network
You will create a new Remote Network in Twingate within which you will define Resources that users can be given access to.

##2.Create and provision a new Connector
Twingate Connectors provide encrypted connectivity into a Remote Network, and can be deployed into a wide variety of environments. Start by deploying a Connector into your newly created Remote Network.

## 3.Access your protected Resources with the Twingate Client
With your Twingate network configured, the Twingate Client application allows you to connect to Resources you are authorized to access.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2fydi28d8hwjdqo2dl6u.png)

We have configured and connected two different aws account and 3 vpc with twingate


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l1vnv0fq5u7hqa47exz2.png)

We have added 3 private server as authorized resources in the two aws account

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/786zyqxeaoc9np8wz6cd.png)








![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8omnyuyhq70fdrpg80db.png)




![Twingate-instance-public-facing](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n882u9bimrw8wzzn7u79.png)

Once we deploy the connector in public instance in aws cloud , the twingate dashboard reflects the same pubic ip in dashboard.


![Twingate-connector-running](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ks67gpbngoxap8c2e19z.png)

## How twingate works to connect remote resources

Once you install twingate agent in your local laptop, it creates one tap network interfaces which bridges your laptop to twingate network infrastructure.



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3y2c7mvogq5lom4fmbgr.png)
'
You can see the route tables showing the private resources are routing through the tap network interface


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dg2jnsa1vh0mxco7eb66.png)




You can also see a icon in right side of taskbar for twingate which also shows the authorized resources/server list.
![Twingate-taskbar](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0q1rr9dmrzhvdirhjx8z.png)

You can check the connectivity of the servers by port telnet.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1usbblwh6yi317068yzf.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rj78ohirawtb2gw77hwi.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dhd62gctwzim10pxwg27.png)

## Device Security
It's  an extra level of security by only allowing devices with specific trusted profiles to access sensitive resources. Devices must meet the minimum OS requirements or have a Trusted Profile to join your network like antivirus must be there and screen lock is enabled.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1g935maks7vkjviwynbc.png)



The product is available in AWS marketplace, it may be little costly for startup, but for organization want to simplify, standardize, and secure processes will like to use twingate or any other similar sdp products.  


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w4xu78niw4h7zvbb6195.png)


That's all for now, will come back later with more advance feature of twingate.