Parameters options to be passed down to ip
.
Global parameters options that affects the command execution.
ParametersError - Throws when passed parameters are invalid.
CommandError - Throws when the executed command fails.
Import module
import { tunnel } from 'iproute';
Create a new tunnel
await tunnel.add({
name : 'tun0',
mode : TunnelModes.Gre,
remote: '203.0.113.4',
local : '203.0.113.5',
dev : 'eth0'
});
Generated using TypeDoc
Add a new tunnel.