LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-09-2004, 02:05 PM   #1
OpsVentus
LQ Newbie
 
Registered: Jan 2004
Location: Nijmegen, the Netherlands
Posts: 17

Rep: Reputation: 0
Unhappy VPN Lan to Lan


Hello,

There are a lott of post on this topic but I still can't solve my problem.

Here's the network layout:

win2k server2a-|-linux router1a-|-internet-|-linux router1b-|-workstation2b
workstation3a--| |-workstation3b

1a is the PPTP server
1b is a PPTP client
2a is a server where workstations logon to the NT domain.
range a = 192.168.1
range b = 192.168.0

There is a connection, a terminal client on 2b can connect to the terminal server on 2a. But I cannot map a network drive trough the tunnel. Also I cannot ping everything. The ip-adressen of the VPN-client/server can be pingt but that's it.

This are the routes in 1b:

iptables --insert OUTPUT 1 --source 0.0.0.0/0.0.0.0 --destination 192.168.1.0/24 --jump ACCEPT --out-interface 'ppp0'
iptables --insert INPUT 1 --source 192.168.1.0/24 --destination 0.0.0.0/0.0.0.0 --jump ACCEPT --in-interface 'ppp0'
iptables --insert FORWARD 1 --source 0.0.0.0/0.0.0.0 --destination 192.168.1.0/24 --jump ACCEPT --out-interface 'ppp0'
iptables --insert FORWARD 1 --source 192.168.1.0/24 --destination 0.0.0.0/0.0.0.0 --jump ACCEPT
iptables --table nat --append POSTROUTING --out-interface 'ppp0' --jump MASQUERADE
iptables --appens FORWARD --protocol tcp --tcp-flags SYN,RST SYN --jump TCPMSS -clamp-mss-to-pmtu

Hope someone got the answer, thanks.
 
  


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 cant connect to Lan Spunky Linux - Networking 10 10-17-2008 09:18 AM
vpn blocking my local lan, how to get around it? browny_amiga Linux - Networking 1 02-20-2006 02:58 AM
No Internet but LAN and VPN connect LAN work fine??? xavior Suse/Novell 7 11-09-2005 01:14 PM
Advice on setting up VPN/LAN DNS rwalkerphl Linux - Networking 2 10-03-2004 12:32 PM
linux VPN & LAN shojav Linux - Networking 2 02-13-2003 10:21 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration