Привожу конфиги и ифконфиг.
---
ifconfigde0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:15:5d:00:10:00
inet x.x.x.x netmask 0xffffffc0 broadcast x.x.x.y
media: Ethernet autoselect (100baseTX)
status: active
de1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:15:5d:00:10:01
inet 10.2.0.7 netmask 0xffffff00 broadcast 10.2.0.255
media: Ethernet autoselect (100baseTX)
status: active
de2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:15:5d:00:10:02
inet 10.0.0.99 netmask 0xffffff00 broadcast 10.0.0.255
media: Ethernet autoselect (100baseTX)
status: active
ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
de0 - internet; de1 - mpd; de2 - localka
---
rc.conf:
keymap="ru.koi8-r"
sshd_enable="YES"
inetd_enable="YES"
gateway_enable="YES"
hostname="pedliceum.altai.ru"
ifconfig_de0="inet x.x.x.x netmask 255.255.255.192"
ifconfig_de1="inet 10.2.0.7 netmask 255.255.255.0"
ifconfig_de2="inet 10.0.0.99 netmask 255.255.255.0"
defaultrouter="x.x.x.y"
named_enable="YES"
firewall_enable="YES"
firewall_nat_enable="YES"
firewall_nat_interface="de0"
firewall_type="OPEN"
sendmail_enable="YES"
sendmail_flags="-bd -q15m"
sshd_enable="YES"
mpd_enable="YES"
mpd_flags="-b"
---
mpd.conf
startup:
# configure mpd users
set user admin admin admin
#configure the console
set console self 127.0.0.1 5005
set console open
# configure the web server
set web self 0.0.0.0 5006
set web open
default:
load pptp_server
pptp_server:
# Define dynamic IP address pool.
set ippool add pool1 10.0.0.121 10.0.0.130
# Create clonable bundle template named B
create bundle template B
set iface enable proxy-arp
set iface idle 0
set iface enable tcpmssfix
set ipcp yes vjcomp
# Specify IP address pool for dynamic assigment.
set ipcp ranges 10.0.0.99/32 ippool pool1
set ipcp dns 10.0.0.100
set ipcp nbns 10.0.0.77
# The five lines below enable Microsoft Point-to-Point encryption
# (MPPE) using the ng_mppc(8) netgraph node type.
set bundle enable compression
set ccp yes mppc
set mppc yes e40
set mppc yes e128
set mppc yes stateless
# Create clonable link template named L
create link template L pptp
# Set bundle template to use
set link action bundle B
# Multilink adds some overhead, but gives full 1500 MTU.
set link enable multilink
set link yes acfcomp protocomp
set link no pap chap eap
set link enable chap
# We can use use RADIUS authentication/accounting by including
# another config section with label 'radius'.
# load radius
set link keep-alive 10 60
# We reducing link mtu to avoid GRE packet fragmentation.
set link mtu 1460
# Configure PPTP
set pptp self 10.2.0.7
# Allow to accept calls
set link enable incoming
---
mpd.secret
user1 "user1" *
user2 "user2" *
Где ошибка?