LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Accessing SMB shares from rh pptp connection (https://www.linuxquestions.org/questions/linux-networking-3/accessing-smb-shares-from-rh-pptp-connection-70073/)

ppuddick 07-04-2003 10:06 AM

Accessing SMB shares from rh pptp connection
 
Hi, I have a slight problem. Pulling my hair out! I have set up the "poptop" pptp server on our rh7.3 server here which is sitting behind our DSL router/firewall. Had to modify the kernel and upgrade ppp but got there in the end. I can connect no problem to the pptp server from outside the network and ping all devices on the LAN and print to IP printers from beyond the router. The pptp server has a range of remote IP's which are outside the scope of our DHCP Server


The problem I am having is that I cannot access SMB shares from beyond the router. We are running WINS on an NT Server here and I have put the following line into /etc/resolv.conf

ms-wins 192.168.0.2

This machine with the WINS server on it is also the DHCP Server which dishes out obviously IP address, subnet and gateway. It also dishes out DNS Server, Domain name, WINS Server and WINS node type.

It seems to me as though the rh box is not talking correctly to the WIND/DHCP Server. One reason behind my thinking is that if I do an ipconfig /all on my XP machine at home it says the following:

PPP adaptor pptp:
IP Address : 192.168.0.201
Subnet Mask : 255.255.255.255
Gateway : 192.168.0.201

Whereas it should read something like this:
IP Address : 192.168.0.201
Subnet Mask : 255.255.255.0
Gateway : 192.168.0.254
DHCP Server : 192.168.0.2
DNS Servers : 194.153.0.18
: 194.153.1.10
Primary WINS Server : 192.168.0.2

I can't find anything on in the pptp conf files to do with DHCP relay. Am I barking up the wrong tree?

Any help would be much appreciated


All times are GMT -5. The time now is 12:33 PM.