https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/examples/ec2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/ec2/modify-vpn-tunnel-options.rst
**To modify the tunnel options for a VPN connection**

The following ``modify-vpn-tunnel-options`` example updates the Diffie-Hellmann groups that are permitted for the specified tunnel and VPN connection. ::

    aws ec2 modify-vpn-tunnel-options \
        --vpn-connection-id vpn-12345678901234567 \
        --vpn-tunnel-outside-ip-address 203.0.113.17 \
        --tunnel-options Phase1DHGroupNumbers=[{Value=14},{Value=15},{Value=16},{Value=17},{Value=18}],Phase2DHGroupNumbers=[{Value=14},{Value=15},{Value=16},{Value=17},{Value=18}]

Output::

    {
        "VpnConnection": {
            "CustomerGatewayConfiguration": "...configuration information...",
            "CustomerGatewayId": "cgw-aabbccddee1122334",
            "Category": "VPN",
            "State": "available",
            "Type": "ipsec.1",
            "VpnConnectionId": "vpn-12345678901234567",
            "VpnGatewayId": "vgw-11223344556677889",
            "Options": {
                "StaticRoutesOnly": false,
                "TunnelOptions": [
                    {
                        "OutsideIpAddress": "203.0.113.17",
                        "Phase1DHGroupNumbers": [
                            {
                                "Value": 14
                            },
                            {
                                "Value": 15
                            },
                            {
                                "Value": 16
                            },
                            {
                                "Value": 17
                            },
                            {
                                "Value": 18
                            }
                        ],
                        "Phase2DHGroupNumbers": [
                            {
                                "Value": 14
                            },
                            {
                                "Value": 15
                            },
                            {
                                "Value": 16
                            },
                            {
                                "Value": 17
                            },
                            {
                                "Value": 18
                            }
                        ]
                    },
                    {
                        "OutsideIpAddress": "203.0.114.19"
                    }
                ]
            },
            "VgwTelemetry": [
                {
                    "AcceptedRouteCount": 0,
                    "LastStatusChange": "2019-09-10T21:56:54.000Z",
                    "OutsideIpAddress": "203.0.113.17",
                    "Status": "DOWN",
                    "StatusMessage": "IPSEC IS DOWN"
                },
                {
                    "AcceptedRouteCount": 0,
                    "LastStatusChange": "2019-09-10T21:56:43.000Z",
                    "OutsideIpAddress": "203.0.114.19",
                    "Status": "DOWN",
                    "StatusMessage": "IPSEC IS DOWN"
                }
            ]
        }
    }

https://t.me/RX1948 - 2025