diff --git a/documentation/docs/components/operators/snippets/routing-conf.mdx b/documentation/docs/components/operators/snippets/routing-conf.mdx index f39379f7ab..31c7148454 100644 --- a/documentation/docs/components/operators/snippets/routing-conf.mdx +++ b/documentation/docs/components/operators/snippets/routing-conf.mdx @@ -87,7 +87,7 @@ chmod +x network-tunnel-manager.sh && \ ``` - Nodes with **WireGuard disabled**: Does everything like the command above *without WireGuard exit policy* ```sh -./network-tunnel-manager.sh full_tunnel_setup +./network-tunnel-manager.sh nym_tunnel_setup ``` @@ -110,7 +110,7 @@ chmod +x network-tunnel-manager.sh && \ ``` - Nodes with **WireGuard disabled**: Does everything like the command above *without WireGuard exit policy* ```sh -./network-tunnel-manager.sh full_tunnel_setup +./network-tunnel-manager.sh nym_tunnel_setup ``` diff --git a/scripts/nym-node-setup/network-tunnel-manager.sh b/scripts/nym-node-setup/network-tunnel-manager.sh index 71aa676822..75ea0cf080 100644 --- a/scripts/nym-node-setup/network-tunnel-manager.sh +++ b/scripts/nym-node-setup/network-tunnel-manager.sh @@ -1140,7 +1140,7 @@ exit_policy_run_tests() { # part 5: high level workflows ############################################################################### -full_tunnel_setup() { +nym_tunnel_setup() { # this mirrors your previous chain of calls but inside one script info "running full tunnel setup for ${TUNNEL_INTERFACE} and ${WG_INTERFACE}" @@ -1182,7 +1182,7 @@ exit_policy_install() { complete_networking_configuration() { info "starting complete networking configuration: tunnels + exit policy" - full_tunnel_setup + nym_tunnel_setup exit_policy_install check_firewall_setup || error "firewall order checks reported problems, please review output" exit_policy_run_tests || error "exit policy tests reported problems, please review output" @@ -1198,8 +1198,8 @@ cmd="${1:-help}" log "COMMAND: $cmd ARGS: $*" case "$cmd" in - full_tunnel_setup) - full_tunnel_setup + nym_tunnel_setup) + nym_tunnel_setup status=$? ;; exit_policy_install) @@ -1298,9 +1298,8 @@ usage: $0 [args] high level workflows: complete_networking_configuration Install tunnel interfaces, setup networking, iptables, wg exit policy & tests - exit_policy_install Install and configure wireguard exit policy - full_tunnel_setup Install tunnel interfaces & setup networking - + nym_tunnel_setup Install tunnel interfaces & setup networking + exit_policy_install Install and configure wireguard exit policy tunnel and nat helpers: adjust_ip_forwarding Enable ipv4/ipv6 forwarding via sysctl.d apply_iptables_rules Apply nat/forward rules for ${TUNNEL_INTERFACE}