Module tinc

Tinc VPN Client.

Functions

AddInterface (interface) Add tinc VPN.
interface:LocalAddress (address) Add Local Address to host file.
interface:AddIP (address) Add IP Address to interface.
interface:AddPrefix (prefix) Advertise Prefix.
interface:AddRoute (prefix) Route Prefix out of interface.


Functions

AddInterface (interface) line 11
Add tinc VPN.

Parameters:

  • interface

Returns:

    interface

See also:

Usage:

    local Tinc = tinc:AddInterface{name='net0', tincport='888', tincmode='router'}
    Tinc:AddIP{ipv4='10.0.0.1', ipv6='fc00::1', nat=true}
interface:LocalAddress (address) line 16
Add Local Address to host file.

Parameters:

  • address table {hostname='server.example.net', ipv4='10.0.0.1', ipv6='fd00::1'}

See also:

interface:AddIP (address) line 23
Add IP Address to interface.

Parameters:

  • address table {ipv4='10.0.0.1', ipv6='fd00::1', nat=false, proxyarp='eth0'}

See also:

interface:AddPrefix (prefix) line 30
Advertise Prefix.

Parameters:

  • prefix table {ipv4='10.0.0.0/8', ipv6='fd00::/16'}

See also:

interface:AddRoute (prefix) line 37
Route Prefix out of interface.

Parameters:

  • prefix table {ipv4='10.0.0.0/8', ipv6='fd00::/16'}

See also:

generated by LDoc 1.4.6 Last updated 2019-03-17 07:38:48