VPN poptop

From: lycanthrope (lycanthrope_at_post.htnet.hr)
Date: 08/31/04

  • Next message: John Murphy: "Re: init: not found in path...panic:no init"
    To: <freebsd-questions@freebsd.org>
    Date: Tue, 31 Aug 2004 16:01:37 +0200
    
    

    Hello!

    I'm using pptpd (PoPToP) on my server to enable clients on LAN to access internet (DSL connected to ethernet card on server). That works perfectly. Users dial VPN to the server,log in and can surf freely.
    Now, I would like to enable internet users to access LAN resources. Server has a registered DNS name, and is pingable from the internet. Simple VPN connection doesnt work-internet clients connect to server,but can not access (ping) LAN users.
    This is pptpd configuration:

    /usr/local/etc/pptpd.conf:

    option /etc/ppp/ppp.conf
    localip 172.16.99.1
    remoteip 172.16.99.15-113
    pidfile /var/run/pptpd.pid

    -----
    /etc/ppp/ppp.conf

    papchap:
            set device PPPoE:ed0
            set speed sync
            set mru 1492
            set mtu 1492
            set ctsrts off

            enable lqr

            set log phase tun

            add default HISADDR
            enable dns

            set authname jbek03@htnet-dsl
            set authkey KR24N8DE

    pptp:
     set timeout 0
     set log phase chat connect lcp ipcp
     set dial
     set login
     set ifaddr 172.16.99.1 172.16.99.15-172.16.99.113 255.255.255.0
     set server /tmp/loop "" 0177
     enable chap
     disable pap
     enable proxy
     accept dns
     set dns 195.29.150.3 195.29.150.4
     set device !/etc/ppp/secure

    ----
    papchap section of ppp.conf is DSL dialing portion, and pptp is the VPN part.
    So, how to enable internet users to access server LAN via VPN, and keep LAN users's capability to access internet via VPN?
    Thank You VERY much!
    Regards, Marin
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: John Murphy: "Re: init: not found in path...panic:no init"

    Relevant Pages

    • RE: Firewall Rule Set not allowing access to DNS servers?
      ... > My LAN is configured with static IP addresses, ... > I have full connectivity with the internet from every machine on my ... > # Allow out access to my ISP's Domain name server. ... > # Interrogate packets originating from the public internet ...
      (freebsd-questions)
    • Re: Access to terminal server problem
      ... Exchange server's LAN IP on port 25, ... Server for internet users. ... site VPN on the Internal side on the SBS ... Just not from the Internet, which is what I thought you meant. ...
      (microsoft.public.windows.server.sbs)
    • RE: VPN Issue
      ... 317025 You Cannot Connect to the Internet After You Connect to a VPN Server ... | first done with a standard usb broadband modem on XP Professional. ...
      (microsoft.public.windows.server.sbs)
    • Re: www.microsoft.com.mydomain.com
      ... Personal i would not image a remote machine via internet. ... You can check out Dual/Multi band routers, they are able to connect 2 or more ADSL lines and provide one interface to the LAN, either load balanced or traffic specific configured. ... Our TS farm in the moment consist's of 7 Terminal servers. ... Except the server backbone all is working with 100Mbit. ...
      (microsoft.public.windows.server.dns)
    • Re: Sometimes it works sometimes it doesnt (VPN data issues)
      ... NIC1 "Internet" is set to ... (the IP of the external firewall) and the DNS is set to ... A connection between the VPN server and the VPN client xxx.xxx.xxx.xxx ...
      (microsoft.public.windows.server.networking)

    Loading