-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
kiss-tnc-pty-server.cfg
80 lines (66 loc) · 1.69 KB
/
kiss-tnc-pty-server.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
logging = {
file="myip.log";
level_file="debug";
level_screen="debug";
}
environment = {
chdir-path="/tmp"
run-as=0
run-in=0
ifup="/home/folkert/Projects/myip/go.sh"
#ifdown=
stats-socket="/tmp/myipstats.sock";
n-router-threads=4;
}
interfaces = (
{
# either slip, ppp, udp, promiscuous (for existing interfaces), kiss (AX.25)
# or tap
type="kiss"
# device name to connect to
descriptor="pty-master:/tmp/kisstnc.lnk"
# for kiss:
# pty-master:dev-file create a PTY to which kissattach can connect (TNC mode)
# pty-client:dev-file open an existing PTY (TNC client mode)
# tty:dev-file:baudrate open a serial port on which a TNC listens
# tcp-client:host:port connect to a KISS over TCP server
# tcp-server:listen-addr:port listens for a KISS over TCP client
#
#beacon = "Hello, world!";
#beacon-interval=0; in seconds
upstream-dns = "8.8.8.8";
ipv4 = {
my-address="192.168.32.19";
forwarder = true;
use-icmp=true;
use-tcp=true;
use-udp=true;
use-sctp=true;
n-icmp-threads=4;
n-sctp-threads=4;
n-tcp-threads=4;
n-udp-threads=4;
}
mac-address="PD9FVH-5";
routes-ax25 = ( {
# callsign to route through this interface
callsign = "PD9FVH-1";
## route it via the following repeater (optional)
#via-callsign = "PD9FVH-3";
}
)
routes = ( { # this interface is the default
ip-family = "ipv4";
network = "0.0.0.0";
netmask = "0.0.0.0";
gateway = "192.168.32.19";
priority = 0;
},
{
ip-family = "ipv4";
network = "192.168.32.0";
netmask = "255.255.255.0";
priority = 10;
})
}
)