To configure an IPv6 tunnel on a Debian or Ubuntu Linux system, you can use the tspc
utility. tspc
is a command-line tool that allows you to easily set up and manage IPv6 tunnels.
Here is the basic syntax for using tspc
:
tspc [options] COMMAND
To create a new tunnel, use the create
command and specify the local and remote IPv6 addresses for the tunnel:
tspc create -l LOCAL_ADDRESS -r REMOTE_ADDRESS
For example, to create a tunnel with a local address of 2001:db8:1:1::1
and a remote address of 2001:db8:1:2::2
, you would use the following command:
tspc create -l 2001:db8:1:1::1 -r 2001:db8:1:2::2
To view a list of all existing tunnels, use the list
command:
tspc list
To delete a tunnel, use the destroy
command and specify the tunnel ID:
tspc destroy TUNNEL_ID
For more information on the tspc
utility and its available options, you can consult the tspc
man page by typing man tspc
at the command prompt.