LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-22-2006, 10:51 AM   #1
billamn
LQ Newbie
 
Registered: Aug 2006
Distribution: Redhat 8
Posts: 14

Rep: Reputation: 0
Connected to VPN(PPTP) but no shares.


Using PPTP, I'm able to connect from a remote Windows XP machine to a Windows 2000 VPN Server on 192.168.1.101, via a Redhat gateway. But I can't see or connect to any of the shares! e.g. \\VPNserver\share. I added the following lines to Redhat's iptables enabling the VPN connectivity ...

iptables -t nat -A PREROUTING -i ppp0 -p 47 -s <remoteIP> -j DNAT --to 192.168.1.101

iptables -t nat -A PREROUTING -i ppp0 -p tcp -s <remoteIP> --dport 1723 -j DNAT --to 192.168.1.101:1723

iptables -I FORWARD 1 -p 47 -m state --state NEW -s <remoteIP> -d 192.168.1.101 -j ACCEPT

iptables -I FORWARD 1 -p tcp -m state --state NEW -s <remoteIP> -d 192.168.1.101 --dport 1723 -j ACCEPT


What am I missing to be able to access any shares?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pptp Vpn coolb Linux - General 2 08-01-2006 08:42 AM
VPN Connected. Question about accessing shares via smbclient tstein Linux - Networking 4 03-27-2006 07:58 AM
Vpn, Pptp???? ABL Linux - Networking 3 03-11-2005 05:54 PM
poptop: pptp - err Port Not Connected. trekk Linux - Networking 37 11-05-2003 04:36 PM
Accessing SMB shares from rh pptp connection ppuddick Linux - Networking 0 07-04-2003 11:06 AM


All times are GMT -5. The time now is 06:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration