Differences between version 4 and predecessor to the previous major change of PPTPServerHowto.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 4 | Last edited on Tuesday, December 10, 2002 5:01:19 pm | by DanielLawson | Revert |
Older page: | version 2 | Last edited on Tuesday, December 10, 2002 4:56:31 pm | by NeilHoughton | Revert |
@@ -2,10 +2,15 @@
!Server setup
First, the installation and configuration of the server. This is a relatively simple matter. The package pptpd contains the poptop server in Debian, and the defaults are reasonable, save for adding your IP range to /etc/pptpd.conf. Also, Debian has defaults in /etc/ppp/pap-secrets which allow users with a /etc/passwd entry to authenticate with ppp. These didn't seem to work out of the box, for some reason, so you may need to manually add a user and password pair in there in the standard pap-secrets format (user * password * or something similar).
+
+you need standard things like ppp_generic, ppp_async and slhc in your kernel. bsd_comp etc might be useful
+
+you will need ip_gre on your server!
(put something about required modules here please? I just used Debian default kernel and it Just Worked).
+
If you have a firewall, you have to pinhole port 1723 TCP and GRE to the server running pptpd.
!Client setup
@@ -16,6 +21,16 @@
Then put in your username and click connect -- all should be go.
!Getting MetaNet to work
+You need to advertise routes for your PPTP'd machine over the MetaNet.
+
+http://www.brienposey.com/ospf_2.htm seems to suggest how to setup OSPF under Windows, since I don't have a windows machine, you're own your own here. -- PerryLorier
+
+Alternatively, just setup a static route, just add
+ ip route ''10.x.y.z/a'' ''device''
+to zebra.conf, eg:
+ ip route 10.42.2.0/16 ppp0
+and add to the "router ospf" section of ospfd.conf
+ redistribute static
-This requires some routing trickery on the machine running pptpd. I don't really know the details, so I'm probably extremely badly qualified to tell you about it. Please AddToMe. Or AskIsomer
.
+Done
.