Re: dialup question ?
From: Tony Frank (tfrank_at_optushome.com.au)
Date: 02/21/04
- Previous message: VA: "thanks - firewalling policy"
- In reply to: Roberto Pereyra: "dialup question ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 21 Feb 2004 20:24:49 +1100 To: Roberto Pereyra <rjpereyra@gualeguaychu.gov.ar>
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
_______________________________________________
freebsd-isp@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
- Previous message: VA: "thanks - firewalling policy"
- In reply to: Roberto Pereyra: "dialup question ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|