Kod:
interfaces = 10.8.0.1/0
Ustawiłem tak po sprawdzeniu definicji interfejsu z którego korzysta mój VPN:Kod:
darek@ubu1st:~$ ifconfig tun0tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:10.8.0.1 P-t-P:10.8.0.2 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:698138 errors:0 dropped:0 overruns:0 frame:0 TX packets:680920 errors:0 dropped:1647 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:416389519 (416.3 MB) TX bytes:450200572 (450.2 MB)
Statystyki: autor: twistered — 12 maja 2018, 18:42
Statystyki: autor: mario_7 — 12 maja 2018, 11:26
Kod:
[global]netbios name = UBUNTUserver string = %h server (Samba, Ubuntu)server role = standalone servermap to guest = Bad Userobey pam restrictions = Yespam password change = Yespasswd program = /usr/bin/passwd %upasswd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .unix password sync = Yeslog file = /var/log/samba/log.%mmax log size = 50timestamp logs = Yesdns proxy = Nousershare allow guests = Yespanic action = /usr/share/samba/panic-action %didmap config * : backend = tdbhosts allow = 10.8.0.1/24interfaces = 10.8.0.1/24 eth0bind interfaces only = Yes[share]comment = Ubuntu File Server Sharepath = /srv/samba/shareread only = Nocreate mask = 0755
Kod:
[2018/05/09 01:36:08.280597, 0] ../source3/lib/util_sock.c:396(open_socket_in) bind failed on port 137 socket_addr = 10.255.255.255. Error = Cannot assign requested address[2018/05/09 01:36:08.282407, 0] ../source3/nmbd/nmbd_subnetdb.c:127(make_subnet) nmbd_subnetdb:make_subnet() Failed to open nmb bcast socket on interface 10.255.255.255 for port 137. Error was Cannot assign requested address[2018/05/09 01:36:08.284725, 0] ../lib/util/become_daemon.c:111(exit_daemon) STATUS=daemon failed to start: NMBD failed when creating subnet lists, error code 13
Kod:
# hosts allow = 10.8.0.1/24# interfaces = 10.8.0.1/24 eth0# bind interfaces only = Yes
Statystyki: autor: twistered — 11 maja 2018, 18:24
Statystyki: autor: mario_7 — 10 maja 2018, 23:17
Statystyki: autor: mario_7 — 09 maja 2018, 10:42