Find the answer to your Linux question:
Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    4

    [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
    Just Joined!
    Join Date
    Apr 2009
    Posts
    90
    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
    Just Joined!
    Join Date
    Jan 2009
    Posts
    4
    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)

  4. $spacer_open
    $spacer_close

Posting Permissions

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