full_tunnel_setup to nym_tunnel_setup

This commit is contained in:
serinko
2025-11-24 15:20:45 +01:00
parent f12a554e85
commit a293d6da7d
2 changed files with 8 additions and 9 deletions
@@ -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
```
</ Steps>
</Tabs.Tab>
@@ -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
```
</ Steps>
</Tabs.Tab>
@@ -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 <command> [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}