Hi, On Mon, Jun 7, 2010 at 7:36 PM, H.S. <hs.sa...@gmail.com> wrote:
> On 07/06/10 01:04 PM, Márcio Luciano Donada wrote: > > Em 7/6/2010 13:54, H.S. escreveu: > >> Consider a LAN with a Debian machine as a router. The Debian machine > >> has three interfaces, eth0, eth1 and wlan0. The interface for VPN is > tun0. > >> ,----------. > >> ppp0 <------eth1 eth0--192.168.0.0/24--->to LAN switch > >> | wlan0--192.168.5.0/24---> WLAN > >> | tun0--172.16.15.0/24---> VPN > >> |__________| > >> > >> | > >> Router, Samba and VPN server machine > >> > >> > >> Now, I have generated the certificates and keys for the VPN server > >> for various client. > >> > > > > Protocol CIFS not roteable. Please read on DNS or wins server (degraded) > > for solution. > > Sorry, I don't think I understand. Could you explain a bit more what I > am looking for? > > With a VPN connection established on the wireless machine as a client, I > can connect my samba share on the server through its LAN ip address > (192.168.0.1) but not by using VPN gateway address (172.16.15.1). The > latter try gives "connection refused" if I try to do it using "sudo > smbmount //172.16.15.1/share /path/to/mountpoint -o user=gues" > 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,