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.
|