Linux Networking : Linux Networking By Alexandro Colorado
Content : Content Networking
Protocols
Client-server
NFS and Samba
Authentication
Network backup
Syncing information
Networking : Networking Allow computers to talk to each other
Network allow systems like e-mail and internet work as a unique system
Companies use networks to connect their business
Networks can also become secure channels to transmit ifnormation and multimedia
Protocol : Protocol Linux system have many network protocols
Network protocols vary on speed security and compliance
NFS and SAMBA are the most common protocols for LAN
WebDAV, SSH, Telenet, FTP, ZeroConf, VFS provide other ways to create networks
Phisical layers are other protocols that are OS agnostic
Client server : Client server Most network layer are based on a Client-server arquitecture
Server authenticate the access to the files and resources
The client specify the server resources it wants from the client
On linux usually you will mount this remote locations and store it as filesystems
NFS and Samba : NFS and Samba samba-server/common/client
nfs-common nfs-user-server
mount -t
nfs 192.168.x.x:/path/to/resource
smb \\NETWORK\Windows\Folder
Server files:
/etc/exports
/etc/samba/smb.conf
Samba NFS server : Samba NFS server sudo vim /etc/samba/smb.conf
security = user
[myshare]path = /home/user/sharesbrowsable = yesread only = novalid users = otheruserpublic = yes
smbpasswd -a otheruser sudo vim /etc/exports
/home/user/shares192.168.1.100/150(root_squash, anonuid=500,anongid=500,async,rw)
WebDav and SSH and VPN : WebDav and SSH and VPN Linux can network through the web
WebDAV is a protocol that can help you have a web filesystem
SSHFS is a filesystem based from SSH access Konqueror can build this networking rather easily
VPN and Ipsec are good protocol to create a virtual private network but have some configuration issues with Windows
IPSec diagram : IPSec diagram
Backups : Backups Backula uses SAMBA to do remote backups
Rsync is a good tool to do synchronization of files and directories