19 lines
466 B
Bash
19 lines
466 B
Bash
#!/usr/bin/env bash
|
|
|
|
echo "-- <start> outer.sh --"
|
|
|
|
echo "VPN_IPV4_ADDRESS=${VPN_IPV4_ADDRESS}"
|
|
echo "VPN_IPV6_ADDRESS=${VPN_IPV6_ADDRESS}"
|
|
|
|
echo "OUTER_ROUTE_V4=${OUTER_ROUTE_V4}"
|
|
echo "OUTER_GATEWAY_V4=${OUTER_GATEWAY_V4}"
|
|
|
|
echo "OUTER_ROUTE_V6=${OUTER_ROUTE_V6}"
|
|
echo "OUTER_GATEWAY_V6=${OUTER_GATEWAY_V6}"
|
|
|
|
echo "-- <end> outer.sh --"
|
|
|
|
ip link set dev veth-outer up
|
|
ip addr add ${VETH_IPV4_ADDRESS} dev veth-outer
|
|
ip addr add ${VETH_IPV6_ADDRESS} dev veth-outer
|