Привет всем! Скажите есть модем подключеный через com1 /dev/cuacu0 есть последовательная консоль на стороне сервера На строне сервера модем ждет приема как впн сервер + dialin как из под freebsd дозвониться до сервера и сделать vpn соединение в windows это vpn с дозвоном а здесь как Вобщем проверил так cu /dev/acua0 at OK Знаю что можно mpd сделать сделал так dialup: # Create static modem link named L1 create link static L1 modem # Configure modem set modem device /dev/cuau0 set modem var $DialPrefix "DT" set modem var $Telephone "87501010101" set modem script DialPeer set modem idle-script Ringback # We expect to be authenticated by peer using any protocol. set link disable chap pap set link accept chap pap # Configure the account name. Password will be taken from mpd.secret. set auth authname administrator # To make Ringback work we should specify how to handle "incoming" # calls originated by it. set link action bundle B1 set link enable incoming # Create static bundle named B1 create bundle static B1 # Enumerate links participating in DoD set bundle links L1 # Configure the interface: dial on demand, default route, idle timeout. set iface addrs 1.1.1.1 2.2.2.2 set iface route default set iface enable on-demand set iface idle 900 # "Open" interface (but don't actually dial until there's demand) open ifaceifconfig показывает 1.1.1.1 2.2.2.2 но модем не куда не звонил! Подскажите как! Как сделать впн с дозвоном на номер ?
|