VPC Peering connection via Client VPN

0

Hello, I have a question regarding the configuration of Client VPN Endpoint and VPC peering. I came across a statement on the documentation page that says, 'In full tunnel mode, access to the peered VPC is allowed by default.' However, I would like to confirm if any additional configuration, such as adding routes to the destination VPC in the route tables of the subnets associated with the Client VPN Endpoint, is required. Could you please provide clarification on this matter? https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/scenario-peered.html

Is it possible to connect just by making a VPC peering connection on the following page? https://docs.aws.amazon.com/vpc/latest/peering/create-vpc-peering-connection.html

質問済み 1年前444ビュー
2回答
2
承認された回答

Yes, you need to have routing between 2 VPCs via peering connection (both ways) to be able to connect things in VPC B via Client VPN. In your linked document about setting up VPC peering, in each scenario the last step is setting up routing. So that instructions should work.

profile picture
エキスパート
Kallu
回答済み 1年前
profile picture
エキスパート
レビュー済み 10ヶ月前
  • Thank you for your response. If you happen to know, could you please explain the reasons for the different configurations between Split Tunnel mode and Full Tunnel mode?

0

Difference between full and split tunnel modes is explained in https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html

By default, when you have a Client VPN endpoint, all traffic from clients is routed over the Client VPN tunnel. When you enable split-tunnel on the Client VPN endpoint, we push the routes on the Client VPN endpoint route table to the device that is connected to the Client VPN endpoint. This ensures that only traffic with a destination to the network matching a route from the Client VPN endpoint route table is routed over the Client VPN tunnel.

So it is about if all your traffic goes to VPN tunnel or just those packets that are targeted to networks advertises you. Downside of full -mode is you need to provide route to internet and might not be able to reach addresses in your local (think of office environment) network.

Ps. If you think this answering your question, please click "accept" the answer. Thanks in advance!

profile picture
エキスパート
Kallu
回答済み 1年前
profile picture
エキスパート
レビュー済み 10ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ