Menu

pptpd over NAT router

Help
Anonymous
2003-11-10
2012-09-17
  • Anonymous

    Anonymous - 2003-11-10

    Hi,
    I am a beginner in Linux and hope there is someone that can help me configure the following:

    I have a DSL line with a NAT router that connects some clients in a private network to the internet. What I would like to configure is a server that allows Windows clients from the internet to connect to the private network and access some machines there.

    I already tried to configure poptop on a Suse Linux 9 machine to do so, but had no success. Is there a step by step description somewhere that allows even me to configure this?

    Thanks in advance for any help.

    Markus

     
    • Peter-Martijn Kuipers

      perhaps you should go over this step by step:
      first see if you can make the poptop server work for clients within your home/company network,
      then try to make the firewall forward both tcp port 1723 and the gre protocol (nr 47 <- protocol nr _not_ port nr!) to your poptop server.

      I recall having done so earlier on a redhat box, after a linux nat router (freesco, so a tad more configurable than most cheap hardware dsl routers sold nowadays)

       
    • Digital Human

      Digital Human - 2004-03-23

      Yes i do have a step by step description. Its easy.

      Here an example of the /etc/pptpd.conf file
      --------------------------
      speed 115200
      option /etc/ppp/options
      localip 192.168.3.5                   <--Ip Suse system
      remoteip 192.168.3.35-45         <-Clien IP range
      --------------------------

      Now the /etc/ppp/options    file

      ------------------------------
      lock
      name pptpd

      bsdcomp 0

      auth
      require-chap

      ms-dns 192.168.3.5           <--IP of Suse System
      netmask 255.0.0.0
      -----------------------------

      Now the usernames and passwords file:

      /etc/ppp/chap-secrets

      -----------------------------
      # username   server  password            IP addresses
      user1          *       password1             *
      user2          *       password2             *
      -----------------------------
      Now start the pptp  deamon or start it youself by
      entering:    pptpd -l  server_ip_adres

       

Log in to post a comment.