- Newest
- Most votes
- Most comments
AWS DirectConect can be a good option for this one So before start please read
https://docs.aws.amazon.com/directconnect/latest/UserGuide/Welcome.html
If you want to create a peering connection between your AWS VPC and a friend's network, you can use the AWS Direct Connect service to create a private, dedicated network connection between your AWS VPC and your friend's network. This allows you to bypass the public internet by routing traffic directly between your AWS VPC and your friend's network.
You'll need to work with an AWS Direct Connect partner or a colocation provider that offers Direct Connect access to set up a Direct Connect connection. Once the connection is established, you can establish a VPC peering connection between your VPC and your friend's network. This will allow you to use private IP addresses to route traffic between your VPC and your friend's network.
Relevant content
- Accepted Answerasked 2 years ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
Thanks for your answer, but it doesn't seem to solve my problem. For a friend, I can set up a GRE tunnel and it costs nothing extra, but I'm not sure how to get clients outside the tunnel to also connect to the source server through an existing connection.
Set up a proxy server in China that forwards traffic to your source server through the GRE tunnel. Clients outside the tunnel can connect to the proxy server, which will forward their requests through the GRE tunnel to the source server. This solution allows you to manage client access to the source server without requiring the clients to set up VPN connections.
To set up a proxy server, you can use open-source solutions like Nginx, HAProxy, or Squid.
If I want to let the client just make traffic through the existing connect into the GRE tunnel, connect to the source server and get all the services provided by the source server (Web, GRE Tunnel, Minecraft and others). Will it be able to do this? Looking forward to your answer.
If a client connects to the source server using the ipv6 address on the source server, how do I get the proxy server to proxy traffic for it?