简体   繁体   English

AWS 如何从 AWS 外部的服务器使用 IP

[英]AWS How to use IP from server outside AWS

I have ec2 instance on AWS, what I want it's to use IP from server outside AWS on this instance.我在 AWS 上有 ec2 实例,我希望它在此实例上使用来自 AWS 外部服务器的 IP。

I can setup VPN on server outside AWS and use it with ec2 instance for example.例如,我可以在 AWS 外部的服务器上设置 VPN 并将其与 ec2 实例一起使用。

But what is the better way to do it?但是更好的方法是什么? Maybe use some VPN-Client service in AWS to connect to my vpn-server and route all traffic from ec2 instance to this VPN connection?也许使用 AWS 中的一些 VPN-Client 服务连接到我的 vpn-server 并将所有流量从 ec2 实例路由到这个 VPN 连接?

What is the better way to do it?更好的方法是什么?

Thanks.谢谢。

For this task I found that PROXY server is better solution then VPN对于这个任务,我发现代理服务器是比 VPN 更好的解决方案

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM