by Lt_Flash » Aug 19 04 12:30 am
I've had similiar problem.
1. I've had Microsoft RAS (VPN) on my server
2. I've had Microsoft Routing and Remote Access on server
3. I've set up WinGate 5.2.3
4. Clients were able to connect, but unable ping any computer in my network
5. They could work normally when I disable WinGate
6. Solution was to stop both Routing and Remote Access and WinGate. Then, you start RAS, and then WinGate, with "Router" enabled in WinGate ENS driver. It pick up routes already established on Routing and Remote Access and translates packets to Routing and Remote Access server. Everything worked fine. For excpet that:
1. I often got BSOD on my server when RAS VPN user under XP disconnects.
2. Demand-dial routes in Routing and Remote Access failed to initiate dialing - seems like WinGate didn't allow IP packets to go throw.
At last I found solution
1. On router with VPN dialin enabled I closed all ports except for 3389 (RDP for control if something goes wrong) and 1723 for PPTP VPN. Router has 2 interfaces - external for Internet, and internal for LAN. Internal IP is 10.0.0.210
2. I put WinGate on another server with one external interface and one internal. WinGate works as proxy-server and NAT. Internal IP is 10.0.0.211
3. Because I need my router to connect to other offices, I've set up on WinGate server (10.0.0.211) static route like this - route add 192.168.0.0 mask 255.255.0.0 10.0.0.210 -p
4. In DHCP I've set up 10.0.0.211 as a default gateway for WinGate to catch all IP requests
Now everything works fine.
PS. After that, I've made some upgrades to my network...Now, not all routes to other offices handled by router (10.0.0.210)...I have 9 offices to connect to, all has 192.168.0.0 (255.255.0.0) IP addresses. 5 of these offices are connected via WinGate VPN, 4 others - via Microsoft Routing and Remote Access...All you need to do is:
1. Delete persistent route we created in step 3 on WinGate server
2. Now we have to make class C routes, not class B as we did in example above...This happends because my offices has IP addresses like 192.168.0.xxx, 192.168.1.xxx and so on. When all routes to these networks were on router (10.0.0.210), all we need to do is to make one route for class B IP space (192.168.0.0/255.255.0.0). Now, when 5 of these routes are handled by WinGate, we need to make 4 persistent routes for class C IP space (192.168.0.0/255.255.255.0, 192.168.1.0/255.255.255.0 and so on). So, we create them by command issued on WinGate server computer:
route add 192.168.0.0 mask 255.255.255.0 10.0.0.210 -p
route add 192.168.1.0 mask 255.255.255.0 10.0.0.210 -p
route add 192.168.3.0 mask 255.255.255.0 10.0.0.210 -p
route add 192.168.4.0 mask 255.255.255.0 10.0.0.210 -p
3. Now we configure WinGate to handle VPN traffic.
So, we have this at the end:
1. On router 10.0.0.210 we have dial-in VPN server and demand-dial router to other four VPN networks.
2. On proxy-server 10.0.0.211 we have WinGate installed for head office to browse internet and to process mail and so on.
3. On proxy-server 10.0.0.211 we have WinGate VPN, which connects us to five other VPN networks
4. On proxy-server 10.0.0.211 we have persistent routes for networks of four offices, which are not covered by WinGate VPN
So, this is my configuration...It requires 2 computers with 2 external IP addresses...But I know another configuration, which still requires 2 computers, but with only on external IP address...If you are interested, I could help you.