-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b97c3fd
commit 4ad3bbf
Showing
1 changed file
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
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-tnc.sh" | ||
#ifdown= | ||
|
||
stats-socket="/tmp/myipstats.sock"; | ||
|
||
n-router-threads=4; | ||
} | ||
|
||
interfaces = ( | ||
{ | ||
# either slip, ppp, udp, promiscuous (for existing interfaces), kiss (IP(v4) | ||
# over AX.25) or tap | ||
type="kiss"; | ||
|
||
descriptor="tcp-client:192.168.64.206:8105"; | ||
|
||
# for kiss: | ||
# descriptor="..."; | ||
# 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 | ||
|
||
# only one kiss interface should have this set to true | ||
# it is the default-gateway equivalent of ipv4 | ||
default-interface = true; | ||
|
||
#beacon="Hello, this is KISS over TCP server!"; | ||
#beacon-interval=10; | ||
|
||
upstream-dns = "8.8.8.8"; | ||
|
||
ipv4 = { | ||
my-address="192.168.4.1"; | ||
|
||
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-4"; | ||
|
||
routes = ( { # this interface is the default | ||
ip-family = "ipv4"; | ||
network = "0.0.0.0"; | ||
netmask = "0.0.0.0"; | ||
gateway = "192.168.4.1"; | ||
}, | ||
{ | ||
ip-family = "ipv4"; | ||
network = "192.168.4.0"; | ||
netmask = "255.255.255.0"; | ||
}) | ||
} | ||
) | ||
|
||
ntp = { | ||
upstream-ip-address="192.168.64.1"; | ||
port=123; | ||
broadcast=true; | ||
} |