VPN на FreeBSD

Discussion in 'Linux, Freebsd, *nix' started by mailbrush, 5 Dec 2009.

  1. mailbrush

    mailbrush Well-Known Member

    Joined:
    24 Jun 2008
    Messages:
    1,997
    Likes Received:
    996
    Reputations:
    155
    Сабж... Как поднять VPN сервер на FreeBSD с возможностью подключения через Windows?

    Code:
    readmysms# uname -a
    FreeBSD readmysms.ru 6.3-STABLE FreeBSD 6.3-STABLE #3: Tue Oct  6 10:32:18 CEST 2009     [email protected]:/root/src/sys/i386/compile/ISPSYSTEM_PAE  i386
    
     
  2. RedAlert

    RedAlert Elder - Старейшина

    Joined:
    26 May 2008
    Messages:
    66
    Likes Received:
    10
    Reputations:
    0
    mpd5 , openvpn вариантов много
     
  3. shellz[21h]

    shellz[21h] Elder - Старейшина

    Joined:
    20 Dec 2007
    Messages:
    311
    Likes Received:
    68
    Reputations:
    6
    http://www.linux-bsd-central.com/index.php/content/view/8/
     
  4. W@r.N0i$e

    Joined:
    2 Jun 2009
    Messages:
    54
    Likes Received:
    51
    Reputations:
    12
    Видео уроки по FreeBSD. В 10 показывается, как поднять VPN. Может пригодится.
    http://torrents.ru/forum/viewtopic.php?t=2419166
     
  5. freelsd

    freelsd Elder - Старейшина

    Joined:
    25 Oct 2007
    Messages:
    108
    Likes Received:
    25
    Reputations:
    10
    OpenVPN можно сделать через nat, однако линукса быстрее.
     
  6. lo0

    lo0 Elder - Старейшина

    Joined:
    6 Mar 2006
    Messages:
    113
    Likes Received:
    20
    Reputations:
    14
    8.0R
    mpd-5.3 (from ports)
    /usr/local/etc/mpd5/mpd.conf.sample (pptp_server)

    Переименуй mpd.conf.sample и mpd.script.sample
    mpd.conf:
    default:
    load dialup
    Замени на
    default:
    load pptp_server
    Ну и укажи IP, на котором будет сервак слушать в секции pptp_server
    В /etc/rc.conf mpd_enable="YES"
    /usr/local/etc/rc.d/mpd5 start
    И подключайся :)

    PS: WinXP, FreeBSD6.4 & 8.0 подключилсь без проблем.
    Если будут вопросы - задавай, поможем ;)
     
  7. Ex@rcist

    Ex@rcist New Member

    Joined:
    4 Sep 2009
    Messages:
    22
    Likes Received:
    3
    Reputations:
    0
    _http://forum.k0d.cc/showthread.php?t=2229 - хорошая статья.