[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Samba share not accessible from a VPN client



On 07/06/10 03:28 PM, H.S. wrote:
> On 07/06/10 03:11 PM, Javier Barroso wrote:
>> Hi,
>> Did you check "hosts allow" parameter from smb.conf in your server ?
>>
>> I'm not sure if it can works, so please tell us if you get this working  :)
>>
>> Regards,
>>
> 
> I didn't have that in smb.conf file at all. I have included the
> following lines in it and restarted samba:
> hosts allow = 127.0.0.1 192.168.0.0/24 172.16.15.0/24
> hosts deny = 0.0.0.0/0
> 
> So no client from the wireless LAN (192.168.5.0/24) is allowed, and only
> from the wired LAN and VPN are allowed.
> 
> I see a samba log file for the VPN client from which I am trying to
> access the shared folder. Here are the last few lines(the log has lines
> from earlier today as well which say similar stuff as below):
> [2010/06/07 13:58:21,  1] smbd/service.c:1063(make_connection_snum)
>   172.16.15.22 (172.16.15.22) connect to service SharedFolder initially
> as user nobody (uid=65534, gid=65534) (pid 8948)
> [2010/06/07 13:58:46,  1] smbd/service.c:1240(close_cnum)
>   172.16.15.22 (172.16.15.22) closed connection to service SharedFolder
> 
> 
> Does this give any further clues?
> 
> 

Sorry, I misinterpreted those log lines. They are from a couple of hours
old. For some reason, I am not getting any logs named after VPN client's
IP now but I am still getting a connection refused on the VPN client if
I try to smbmount the samba share.



-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


Reply to: