mpd4
PPTP_server:
load pptp1
load pptp2
load pptp3
load pptp4
load pptp5
load pptp6
load pptp7
load pptp8
load pptp9
load pptp10pptp1:
new -i ng1 pptp1 pptp1
set ipcp ranges 192.168.7.200/24 192.168.7.201/24
load pptp_standart
pptp2:
new -i ng2 pptp2 pptp2
set ipcp ranges 192.168.7.200/24 192.168.7.202/24
load pptp_standart
pptp3:
new -i ng3 pptp3 pptp3
set ipcp ranges 192.168.7.200/24 192.168.7.203/24
load pptp_standart
pptp_standart:
set iface disable on-demand
set bundle disable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link keep-alive 60 180
set ipcp yes vjcomp
#set ipcp dns 192.168.7.1
set ipcp nbns 192.168.7.1
set iface enable proxy-arp
set pptp self 0.0.0.0
set pptp enable incoming
set pptp disable originate
set pptp disable windowing
set pptp enable always-ack
resolv.conf у меня пустой так как freebsd мой - кэш DNS
named.conf
acl ACCESS {
127.0.0.1;
192.168.7.0/24;
};
options {
// Relative to the chroot directory, if any
directory "/etc/namedb";
pid-file "/var/run/named/pid";
dump-file "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";
listen-on {
127.0.0.1;
192.168.7.1;
};
allow-recursion { ACCESS;};
version "Bind DNS Server";
check-names master ignore;
check-names slave ignore;
check-names response ignore;
forwarders {
8.8.8.8;
};
};
logging {
category lame-servers { null; };
};
zone "." {
type hint;
file "named.root";
};