updated outdated config
This commit is contained in:
parent
1d6007e9e9
commit
cc65c47fd3
@ -21,17 +21,15 @@ type Config struct {
|
||||
Address []*net.IPNet
|
||||
|
||||
// list of IP (v4 or v6) addresses to be set as the interface’s DNS servers. May be specified multiple times. Upon bringing the interface up, this runs ‘resolvconf -a tun.INTERFACE -m 0 -x‘ and upon bringing it down, this runs ‘resolvconf -d tun.INTERFACE‘. If these particular invocations of resolvconf(8) are undesirable, the PostUp and PostDown keys below may be used instead.
|
||||
// Currently unsupported
|
||||
DNS []net.IP
|
||||
// —if not specified, the MTU is automatically determined from the endpoint addresses or the system default route, which is usually a sane choice. However, to manually specify an MTU to override this automatic discovery, this value may be specified explicitly.
|
||||
|
||||
// MTU is automatically determined from the endpoint addresses or the system default route, which is usually a sane choice. However, to manually specify an MTU to override this automatic discovery, this value may be specified explicitly.
|
||||
MTU int
|
||||
|
||||
// Table — Controls the routing table to which routes are added.
|
||||
Table int
|
||||
|
||||
// PreUp, PostUp, PreDown, PostDown — script snippets which will be executed by bash(1) before/after setting up/tearing down the interface, most commonly used to configure custom DNS options or firewall rules. The special string ‘%i’ is expanded to INTERFACE. Each one may be specified multiple times, in which case the commands are executed in order.
|
||||
|
||||
// Currently unsupported
|
||||
PreUp string
|
||||
PostUp string
|
||||
PreDown string
|
||||
|
Loading…
Reference in New Issue
Block a user