Samba em 3 redes roteadas (VPN)
Servidor (smb.conf)
Servidor (smb.conf)
[global]
workgroup = INTERNET // Nome do grupo de trabalhoserver string = kyo // Nome da maquina na rede
interfaces = 192.168.0.255/255.255.255.0 192.168.1.255/255.255.255.0 192.168.2.255/255.255.255.0 // Interligando 3 redes
name resolve order = wins bcast
os level = 64
preferred master = Yes
domain master = Yes
wins support = Yes
remote announce = 192.168.0.255/INTERNET 192.168.1.255/INTERNET 192.168.2.255/INTERNET
remote browse sync = 192.168.0.255 192.168.1.255 192.168.2.255 // ips das 3 redes
Filial 02 (smb.conf)
[global]
workgroup = INTERNETnetbios name = slackware01
server string = Samba slackware01
interfaces = 192.168.2.0/24, eth1, 127.0.0.0/8
os level = 32
preferred master = Yes
domain master = No
dns proxy = No
wins server = 192.168.0.1 // IP do servidor Samba (Matriz)
Filial 03 (smb.conf)
[global]
workgroup = INTERNETnetbios name = slackware03
server string = Samba slackware03
interfaces = 192.168.3.0/24, eth1, 127.0.0.0/8
os level = 32
preferred master = Yes
domain master = No
dns proxy = No
wins server = 192.168.0.1 // IP do servidor Samba (Matriz)
0 Comentários:
Postar um comentário