-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver.ini
More file actions
84 lines (70 loc) · 5.27 KB
/
server.ini
File metadata and controls
84 lines (70 loc) · 5.27 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
[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 ; LToUDO seed network number
seed_zone = "LToUDP Network" ; LToUDP seed zone name.
[TashTalk]
; TashTalk is a PIC-based RS482 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" ; TashTalk seed zone name
[EtherTalk]
; Ethertalk is a pcap based Network Bridge
backend = pcap ; supported: pcap, tap, tun. Leave blank to disable ethertalk.
device = "\Device\NPF_{B7D4E073-2185-4912-BBE8-3948C6636D02}" ; PCap device name. Blank to disable ethertalk. Call with -list-pcap-devices to see what to use. Linux /dev/eth0. Windows: "\Device\NPF_{B7D4E073-2185-4912-BBE8-3948C6636D02}".
;device = "\Device\NPF_{7A63BBB0-EBC1-4FA7-A397-8E7F42E39A73}" ; PCap device name. Blank to disable ethertalk. Call with -list-pcap-devices to see what to use. Linux /dev/eth0. Windows: "\Device\NPF_{B7D4E073-2185-4912-BBE8-3948C6636D02}".
hw_address = "DE:AD:BE:EF:CA:FE" ; EtherTalk Hardware Address to use for router.
seed_network_min = 3 ; EtherTalk seed network number
seed_network_max = 5 ; EtherTalk seed network
seed_zone = "EtherTalk Network" ; EtherTalk seed zone name
bridge_mode = auto ; auto (default), ethernet, or wifi. Use wifi for bridge-shim rewriting on Wi-Fi adapters.
bridge_host_mac = ; optional host adapter MAC for Wi-Fi bridge shim. Defaults to hw_address when blank.
[MacIP]
; MacIP Gateway Settings. Allows TCP over DDP.
enabled = true ; true to enable MacIP Gateway, false to disable
mode = pcap ; modes are pcap or nat.
zone = ; MacIP Gateway Zone, defaults to EtherTalk zone, otherwise the first zone detected.
nat_subnet = ; in NAT mode, the subnet to use (eg 192.168.100.0/24)
nat_gw = ; in NAT mode, the IP Address to use for the gateway (eg 192.168.100.1)
lease_file = leases.txt ; in NAT mode, persist DHCP leases to the specified file
ip_gateway = ; Upstream/default gateway on the IP-side network
dhcp_relay = true ; DHCP Relay, converts MacTCP Auto Config to DHCP requests
nameserver = 1.1.1.1 ; Name server for DNS
[AFP]
; Apple Filing Protocol Server Settings
enabled = true ; true to enable AFP Server, false to disable
name = "ClassicStack" ; Name of the server to use. Max length of 31 characters.
zone = "EtherTalk Network" ; Name of the AppleTalk Zone to list the server in
protocols = ddp,tcp ; Protocols to use. Supports ddp (AppleTalk) and tcp (TCP/IP). They can be combined (eg ddp,tcp)
binding = ":548" ; When TCP is enabled, the IP+Port to bind the service to.
extension_map = "extmap.conf" ; Netatalk compatible extension mapping file
[Volumes.Default]
name = "Welcome"
path = "./dist/Sample Volume"
read_only = true
[Volumes.TestVolume]
; AFP Volume Configuration. Each volume must have a section for this.
name = "Test Volume" ; Volume Name. Max Length of 31 characters.
path = "C:\Mac\Test" ; Host path for the volume. Eg "/media/Mac", "C:\Foo"
cnid_backend = ; leave blank for default. Default is "memory" and is currently the only mode supported
use_decomposed_names = true ; Encode host-reserved filename characters using 0xNN tokens when mapping AFP paths. Default is true.
fork_backend = AppleDouble ; Fork backend to use. Currently only "AppleDouble" is implemented.
appledouble_mode = "modern" ; AppleDouble mode to use if using AppleDouble. Supported options are "legacy" and "modern".
; Legacy is the NetaTalk 2.x ".appledouble" folder approach.
; Modern is the NetaTalk 4.x method of "._" side cars. Default is "modern".
rebuild_desktop_db = false ; When true, rebuilds the desktop database from resource forks. Default is false.
[Volumes.Volume68k]
; AFP Volume Configuration. Each volume must have a section for this.
name = "Volume 68K" ; Volume Name. Max Length of 31 characters.
path = "C:\Mac\Volume68K" ; Host path for the volume. Eg "/media/Mac", "C:\Foo"
cnid_backend = ; leave blank for default. Default is "memory" and is currently the only mode supported
use_decomposed_names = true ; Encode host-reserved filename characters using 0xNN tokens when mapping AFP paths. Default is true.
fork_backend = AppleDouble ; Fork backend to use. Currently only "AppleDouble" is implemented.
appledouble_mode = "legacy" ; AppleDouble mode to use if using AppleDouble. Supported options are "legacy" and "modern".
; Legacy is the NetaTalk 2.x ".appledouble" folder approach.
; Modern is the NetaTalk 4.x method of "._" side cars. Default is "modern".
rebuild_desktop_db = false ; When true, rebuilds the desktop database from resource forks.
[Logging]
level = debug
parse_packets = true
log_traffic = true