Results 1 to 2 of 2

Thread: PPTPD VPN Ruting Issues

  1. #1
    Join Date
    Sep 2007
    Location
    Perth, WA
    Beans
    71
    Distro
    Ubuntu 8.10 Intrepid Ibex

    PPTPD VPN Ruting Issues [SOLVED]

    Hi all,

    I'm attempting to setup a VPN server (pptpd) on 8.04 (fully updated),
    I've installed the pptpd packages, and done some basic setup, to the point where I can now connect to the VPN remotely from a windows system.

    The network layout is like this:

    Windows System -> router/modem -> INTERNET ->

    -> router/modem
    -> VPN Server
    -> Printer
    -> Other office workstations etc.

    (I hope that makes sense!)

    However, I think I'm having some issues with routing, or at the least, my understanding of how a VPN is meant to work must be flawed.

    While (once the VPN is connected) I can ping the VPN servers internal ip from the windows system, I cannot ping/see any of the other things on the internal network (Such as the printer, or even the router/modem).

    I figure that I've got to somehow tell the VPN server that it should be forwarding traffic to the appropriate internal network locations, but I'm not sure how.

    Anyone have any ideas where to start ?
    Last edited by un_dave; April 29th, 2009 at 02:52 PM. Reason: Updating Title

  2. #2
    Join Date
    Sep 2007
    Location
    Perth, WA
    Beans
    71
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: PPTPD VPN Ruting Issues

    Well, it seems that the helpful folks on IRC managed to point me in the right direction.

    For anyone else with the same issue, all i needed to do was enable ip forwarding.

    to check the status of ip forwarding:
    Code:
    cat /proc/sys/net/ipv4/ip_forward
    to update it, something like this:
    Code:
    echo 1 > /proc/sys/net/ipv4/ip_forward
    and to perminantly apply it, just put:
    Code:
    net.ipv4.ip_forward=1
    in /etc/sysctl.conf (or i found it was already there, i just needed to uncomment it)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •