[pptp-server] routing realworld ip addresses via pptp

Steve steve at iconz.co.nz
Tue Nov 16 02:01:05 CST 1999


Hiyas :)

i'm new to this list and havent quite gotten to the point of setting up
PoPToP yet but was wondering if anyone had a solution to this.

basicly, what i want to do is try and route a small netblock of realworld
IP addresses via a NAT'd ADSL connection back to the net. the setup would
be similar to the following..

| 210.48.7.0/240 |---|Linux|-----|ADSL|-----|Linux|---|Internet..
                             |            |     |
192.168.1.0/24 (NAT)---------/            |     |
                                          |     |
(NZ Telecoms ADSL Network 210.48.81.0/24)-/     |
                                                |
(Work LAN - 210.48.22.0/24)---------------------/

from the way i figure it (which is probably completely wrong :) ) is that i
should be setting up a ppp interface on the local linux box in the
210.48.7.0/240 subnet which is used by the local clients as teh gateway and
one end of the tunnel, then establish a tunnel back thru to the linux box
at the far end useing PoPToP - terminating the tunnel with an address in
say the 210.48.23.0/24 range, then turn on ip forwarding on the
210.48.22.0/24 server and add a static route pointing to that machine for
the 210.48.7.0/240 network.

this is probably a particuarly long winded way to do things and i saw
previously a post by someone advising the person to use vpnd - had a quick
look at that but was wanting to try and find some way of useing PPTP as the
same could possibly be done with an NT server behind the ADSL box (not sure
if vpnd would work in that instance) connecting back to the linux machine
and authenticateing with PoPToP.

can someone please shoot me down over this idea ? :)

TIA

--
Steve.





More information about the pptp-server mailing list