-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver.toml
More file actions
122 lines (103 loc) · 3.84 KB
/
server.toml
File metadata and controls
122 lines (103 loc) · 3.84 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[Bridge]
mode = "pcap"
#device = '\Device\NPF_{B7D4E073-2185-4912-BBE8-3948C6636D02}'
device = '\Device\NPF_{7A63BBB0-EBC1-4FA7-A397-8E7F42E39A73}'
#device = '\Device\NPF_{9354BA7F-DE41-4A33-88F4-408A0F4A3C02}'
hw_address = "DE:AD:BE:EF:CA:FE"
bridge_mode = "auto"
[LToUdp]
# LocalTalk over UDP Settings (used by Mini vMac UDP builds and SNOW emu)
enabled = true # Enable LToUDP - true for on, false for off
seed_network = 1 # LToUDP seed network number
seed_zone = "LToUDP Network" # LToUDP seed zone name
[TashTalk]
# TashTalk is a PIC-based RS422 LocalTalk to serial adaptor
# port = "COM6" # blank to disable, otherwise the serial port to use (eg COM1, /dev/ttyAMA0)
seed_network = 2 # TashTalk seed network number
seed_zone = "TashTalk Network"
[EtherTalk]
# EtherTalk is a pcap-based network bridge
seed_network_min = 3
seed_network_max = 5
seed_zone = "EtherTalk Network"
bridge_host_mac = "" # optional host adapter MAC for Wi-Fi bridge shim
[MacIP]
# MacIP Gateway Settings. Allows TCP over DDP.
enabled = true # true to enable MacIP gateway
mode = "pcap" # pcap or nat
zone = "" # MacIP gateway zone, defaults to EtherTalk zone
nat_subnet = "" # in NAT mode, the subnet to use
nat_gw = "" # in NAT mode, the gateway IP
lease_file = "leases.txt" # in NAT mode, persist DHCP leases here
ip_gateway = "" # upstream/default gateway on the IP-side network
dhcp_relay = true # convert MacTCP auto-config to DHCP requests
nameserver = "1.1.1.1" # DNS nameserver
[AFP]
# Apple Filing Protocol server settings
enabled = true
name = "ClassicStack" # Server name. Max 31 characters.
zone = "EtherTalk Network"
protocols = "ddp,tcp" # Comma-separated: ddp, tcp, or both
binding = ":548"
extension_map = "extmap.conf" # Netatalk-compatible extension mapping file
[AFP.Volumes.Default]
name = "Welcome"
path = "./dist/Sample Volume"
read_only = true
[AFP.Volumes.TestVolume]
name = "Test Volume" # Volume name. Max 31 characters.
path = 'C:\Mac\Test'
read_only = false
appledouble_mode = "modern" # per-volume override; "modern" (._ sidecars) or "legacy" (.appledouble folder)
rebuild_desktop_db = false
[AFP.Volumes.Volume68k]
name = "Volume 68K"
path = 'C:\Mac\Volume68K'
appledouble_mode = "legacy"
rebuild_desktop_db = false
[AFP.Volumes.MacGarden]
name = "Mac Garden"
fs_type = "macgarden"
[Logging]
level = "debug"
parse_packets = true
log_traffic = false
[Capture]
# Write a pcap-format capture of in-flight frames for offline analysis in
# Wireshark. Empty path disables that transport. LocalTalk captures use
# DLT_LTALK (114); EtherTalk captures use DLT_EN10MB (1).
localtalk = "./captures/afp-localtalk.pcap" # e.g. "captures/classicstack-localtalk.pcap"
ethertalk = "./captures/afp-ethertalk.pcap" # e.g. "captures/classicstack-ethertalk.pcap"
ipx = "./captures/ipx.pcap" # IPX rawlink capture (same DLT_EN10MB link type)
netbeui = "./captures/netbeui.pcap" # NBF over rawlink capture.
snaplen = 65535 # per-frame snap length
[IPX]
enabled = true
framing = "ethernet_ii" # ethernet_ii|raw_802_3|llc|snap
# internal_network = ""
[NetBEUI]
enabled = true
[NetBIOS]
enabled = true
# transports = ["netbeui", "ipx", "tcp"]
transports = ["ipx", "netbeui"]
# scope_id = ""
[SMB]
enabled = true
# nbt_binding = ":139"
# direct_binding = ":445"
# guest_ok = true
server_name = "ClassicStack"
workgroup = "WORKGROUP"
[SMB.Volumes.Public]
name = "Public"
path = "C:\\Mac"
fs_type = "local_fs"
read_only = false
# [Shortname]
# enabled = false
# backend = "memory" # memory|sqlite
# db_path = "shortname.db"
# [VFSBus]
# subscriber_buffer = 256
# drop_warn_interval = "30s"