wireguard-setup/scripts/outer.sh

19 lines
466 B
Bash
Raw Permalink Normal View History

2021-02-25 10:19:46 +00:00
#!/usr/bin/env bash
2022-04-03 13:36:29 +00:00
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 --"
2021-02-25 10:19:46 +00:00
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