LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   VPN Lan to Lan (https://www.linuxquestions.org/questions/linux-networking-3/vpn-lan-to-lan-155499/)

OpsVentus 03-09-2004 02:05 PM

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.


All times are GMT -5. The time now is 12:44 AM.