Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    [SOLVED] VPN Ruting Issues

    Hi all, I just asked this question on the ubuntu forums, but I'm yet to get any reply. I figure I'll let improve my odds, and let you all have a look!

    I'm attempting to setup a VPN server (pptpd) on Ubuntu 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 ?

  2. #2
    I think your first point of call is the sysctl, and something to do with the arp and stuff on the interface that connects.

    Sorry to be so vague, but thats all i remember about it

  3. #3
    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:
    cat /proc/sys/net/ipv4/ip_forward
    to update it, something like this:
    echo 1 > /proc/sys/net/ipv4/ip_forward
    and to perminantly apply it, just put:
    in /etc/sysctl.conf (or i found it was already there, i just needed to uncomment it)

  4. $spacer_open

Posting Permissions

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