Netatalk (Open Source AFP implementation) Centos 7

Install yum -y install netatalk avahi dbus nss-mdns chkconfig netatalk on chkconfig messagebus on chkconfig avahi-daemon on adduser afp passwd afp vi /etc/netatalk/afpd.conf “hostname” -tcp -noddp -uamlist uams_dhx.so,uams_dhx2.so -nosavepassword vi /etc/netatalk/AppleVolumes.default :DEFAULT: “HTTPD” allowed_hosts:10.0.29.0/24 allow:afp rwlist:afp options:upriv,usedots dperm:0770 fperm:0660 ~ “HOME” /var/www/html/ “HTML” vi /etc/nsswitch.conf hosts:      files mdns4_minimal dns mdns mdns4 vi /etc/avahi/services/afpd.service […]

Read More

L2TP VPN Server on Mac OS X Yosemite

create configuration file man 5 vpnd | col -b > /Users/bhr/com.apple.RemoteAccessServers.plist copy configuration file sudo cp /Users/bhr/com.apple.RemoteAccessServers.plist /Library/Preferences/SystemConfiguration/com.apple.RemoteAccessServers.plist sudo chmod 644 /Library/Preferences/SystemConfiguration/com.apple.RemoteAccessServers.plist sudo chown root:wheel /Library/Preferences/SystemConfiguration/com.apple.RemoteAccessServers.plist edit configuration file sudo vi /Library/Preferences/SystemConfiguration/com.apple.RemoteAccessServers.plist <key>com.apple.ppp.l2tp</key> <dict> <key>DNS</key> <dict> <key>OfferedSearchDomains</key> <array> <string></string> </array> <key>OfferedServerAddresses</key> <array> <string>xxx.xxx.xxx.xxx</string> <string>xxx.xxx.xxx.xxx</string> </array> </dict> <key>IPSec</key> <dict> <key>AuthenticationMethod</key> <string>SharedSecret</string> <key>IdentifierVerification</key> <string>None</string> <key>LocalCertificate</key> <data> </data> <key>LocalIdentifier</key> […]

Read More