dialup question

2004-02-23 Thread Roberto Pereyra
Hi

I want to setup a dialup freebsd 5.2 server.

My setup is:

---INTERNET-| GATEWAY |-|DIALUP SERVER| -|192.160.0.171
192.169.0.1 192.168.0.170|192.168.0.172
 |192.168.0.173
  8 lines
My ppp.conf is:

default:
pap:
  set debug phase lcp chat
  set timeout 0 set debug phase lcp chat
  enable pap
  set ifaddr 192.168.0.1 192.168.0.171-192.168.0.178 255.255.255.0
  enable proxy
  accept dns
  set dns 192.168.0.1
  load server
  set radius /etc/radius.conf

I have enable the eight lines in my /etc/ttys

ttyd0  /usr/local/sbin/mgetty -s 115200 dialup on secure
ttyd1  /usr/local/sbin/mgetty -s 115200 dialup on secure
..


Some question:

I must enable

pseudo-device   tun 1

1 must be 8 or this setup is automatic for freebsd 5.2 ?

Is my ppp.conf rigth ?

Is the set ifaddr  line rigth ?

I have in both sides USR 56K  and not have more than 32k with analog lines. How can I 
have more speed ?

Thanks in advance

roberto





___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dialup question ?

2004-02-21 Thread Tony Frank
Hi,

On Fri, Feb 20, 2004 at 07:37:49PM -0300, Roberto Pereyra wrote:
 
 A question:
 
 I want to configure a simple dial-up server and have this ppp.conf
 
 --
 default:
 
 pap:
   set debug phase lcp chat
   set timeout 0 set debug phase lcp chat
   enable pap
   set ifaddr 192.168.0.1 192.168.0.101-192.168.0.104 255.255.255.0
   enable proxy
   accept dns
   set dns 192.168.0.1
   load server
   set radius /etc/radius.conf
 
 
 My dial-up server (192.168.0.170) is not the internet gateway (192.168.0.1)
 
 The line:
 
   set ifaddr 192.168.0.1 192.168.0.101-192.168.0.104 255.255.255.0
 
 is right ? the first ip must be the system gateway or must be the dial-up server ip ?

I think it should be the gateway as you are going to be proxying the dialup users onto
your local LAN.
The dialup box will proxy-arp the dialup users to the LAN and will forward their
packets to the gateway.

I have a similar setup to what you describe.
In my case the dialup is also the gateway which makes it simpler.

My config is:

server:
 set timeout 0
 set enddisc mac
 enable chap chap81 pap passwdauth
 enable proxy
 set ifaddr 192.168.3.2 192.168.3.80-192.168.3.100 255.255.255.255
 set server /var/run/ppp/ppp-server-%d  0177
 set dns 192.168.3.2
 set nbns 192.168.3.2
 accept dns

Regards,

Tony
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dialup question ?

2004-02-20 Thread Roberto Pereyra
Hi all !

A question:

I want to configure a simple dial-up server and have this ppp.conf

--
default:

pap:
  set debug phase lcp chat
  set timeout 0 set debug phase lcp chat
  enable pap
  set ifaddr 192.168.0.1 192.168.0.101-192.168.0.104 255.255.255.0
  enable proxy
  accept dns
  set dns 192.168.0.1
  load server
  set radius /etc/radius.conf


My dial-up server (192.168.0.170) is not the internet gateway (192.168.0.1)

The line:

  set ifaddr 192.168.0.1 192.168.0.101-192.168.0.104 255.255.255.0

is right ? the first ip must be the system gateway or must be the dial-up server ip ?

Thanks in advance

roberto


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]