DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 23rd March 2012
sparky's Avatar
sparky sparky is offline
Fdisk Soldier
 
Join Date: Mar 2012
Posts: 73
Default Point of Presence server emulation

Hi,

I'm wondering if anyone has any experience in setting up a small ISP or at least a server allowing DSL based routers to dial in?


Basically what I would like to achieve is to create a Point of Presence server with the following services running on it:

Code:
DHCP
PPPoE Dial-in
Free or Open RADIUS or TACACS+
IPCP
I have already had a look at these links:

http://www.undeadly.org/cgi?action=a...20040221205008

http://monkey.org/openbsd/archive/mi.../msg00337.html

http://monkey.org/openbsd/archive/mi.../msg01822.html

http://monkey.org/openbsd/archive/mi.../msg00338.html

http://monkey.org/openbsd/archive/mi.../msg00424.html

http://monkey.org/openbsd/archive/mi.../msg00435.html


which give some indication on how to create a PPP dial in server. However, since I've never done this before I'd like to know if instead of using the Serial RS232c interface I would be able to use the Ethernet interface in order to create a PPPoE setup?


I plan on getting a Zyxel IES-1000 DSLAM:

http://www.zyxel.com/uk/en/products_...ries.shtml?t=p


Then hooking this up to one of the NICs on the server I plan to use then allowing my Cisco routers to "dial-in" using the traditional DSL PPPoE method as there will be no ATM cloud in the chain to use PPPoA.


Authentication wise I will be using CHAP of which in order to use I will need a RADIUS or TACACS+ server.


Has anyone ever done anything like this or can anyone give me any advice with anything that I've listed?


Many thanks for any response!
Reply With Quote
  #2   (View Single Post)  
Old 23rd March 2012
sparky's Avatar
sparky sparky is offline
Fdisk Soldier
 
Join Date: Mar 2012
Posts: 73
Default

[EDIT]
Also for the PPP server portion of this what's best to use: ppp userland or the pppd kernel based service?
Reply With Quote
  #3   (View Single Post)  
Old 23rd March 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by sparky View Post
ppp userland or the pppd kernel based service?
pppd(8) may give greater performance, but its configuration many consider more tricky.
Reply With Quote
  #4   (View Single Post)  
Old 24th March 2012
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

I vote for pppd also. While I've never set up a dial-in server, I do use PPP for dial-out. Some time ago (a year ... give or take) I tried the userland ppp program. It didn't always work as documented, so my sense is pppd is a better quality software. Whether it has the features, capabilities or security requirements for sparky's project I don't know.
Reply With Quote
  #5   (View Single Post)  
Old 26th March 2012
sparky's Avatar
sparky sparky is offline
Fdisk Soldier
 
Join Date: Mar 2012
Posts: 73
Default

Thanks for the responses!

I kinda fudged together some config - no idea if it's gona work or not without the Zyxel DSLAM sitting infront of me:

Code:
incoming:
 enable chap
 enable proxy
 set ifaddr 192.168.0.1 192.168.0.2
 set server +3000 mypass
 allow users
 set log Phase Chat LCP IPCP CCP tun command
 enable dns
 set nbns
 set device "!/usr/sbin/pppoe"
 set mtu max 1492
 set mru max 1492
 set speed sync
 disable acfcomp protocomp
 deny acfcomp
I think that is for ppp.conf though, I will need to read the man for the pppd service though and see if I can do something similar on that.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why does the opera need linux emulation ? sw2wolf OpenBSD Packages and Ports 6 20th March 2012 12:18 PM
Floating point DoS attack (PHP) J65nko News 0 6th January 2011 02:08 AM
shared libraries and linux emulation Business_woman FreeBSD General 4 16th November 2008 10:03 AM
Linux emulation Mr-Biscuit FreeBSD General 2 9th October 2008 09:44 PM
Point-to-Point VPN + Firewall + Router (sorta) - What should I use? Bruco FreeBSD General 6 5th July 2008 11:09 PM


All times are GMT. The time now is 08:53 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick