OpenBSD , PopTop and NAT
From: Andrew A. Ozol (andy_at_rocc.ru)
Date: 10/28/03
- Next message: James: "pf and a basic DMZ"
- Previous message: Rudolf Polzer: "Re: Which BSD?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Oct 2003 11:34:10 -0800
Regards of associate.I assembled PopTop 1.1.3 under OpenBSD 3.0 from
source with /configure - with-bsdppp - with-pppd-ip-alloc .It like as
it works, but noted one unpleasant special feature when usual users
from the different addresses they are connected up - all by beam.But
here when users are connected through NAT and have one and the same
address - is connected up only first.Rest as a rule be connected
cannot. As rule - sometimes nevertheless does succeed in .And if user
connect throw NAT with different address - it connect fine.
How resolve this situation ?
It is said subj works under FreeBSD normally in this plan/layout .
Configs
/etc/ppp/ppp.conf
loop:
set timeout 0
set log phase
# set log phase chat connect lcp ipcp tun command LQM
set device localhost:pptp
set dial
set login
# set mppe * stateful
# Server (local) IP address, Range for Clients, and Netmask
# Use the same IP addresses you specified in /etc/pppd.conf :
set ifaddr 10.0.9.2 10.0.11.10-20 255.255.255.0
set server /tmp/loop "" 0177
loop-in:
set timeout 0
set log phase lcp ipcp command
allow mode direct
pptp:
load loop
# enable pap
# enable chap
disable ipv6cp
enable mschapv2
# disable deflate pred1
# accept mppe
# set mppe * *
# enable proxy
# accept dns
# DNS Servers to assign client
# Use your own DNS server IP address :
# NetBIOS/WINS Servers to assign client
# Use your own WINS server IP address :
# set nbns 10.0.0.4
set device !/etc/ppp/secure
????????? ? ??????
pptpd[28808]: GRE: read(fd=6,buffer=6548,len=8196) from PTTY failed:
status = 0 error = No error
pptpd[28808]: CTRL: PTY read or GRE write failed (pty,gre)=(6,5)
--
- Next message: James: "pf and a basic DMZ"
- Previous message: Rudolf Polzer: "Re: Which BSD?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|