DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 14th October 2009
oe1ssu oe1ssu is offline
New User
 
Join Date: Oct 2009
Posts: 6
Thumbs down poptop - Radioamateur needs help plz

Hello!

I am runing serveral public proxy for echolink radio amateur networks.

Everthing is runing absolut perfect!

For security reason i need to setup an easy VPN daemon. Therefore i picked up poptop.


Hardware:
1 Server with 1 NIC. Distri: openBSD 3.9 (i do not want to ruin the uptime )

I´ve set up tun devices, did the options, pptpd.conf, chap secrets, etc.

Unfortunately i get this error:
Oct 14 08:11:09 hugo ppp[11791]: Warning: iface rm: ioctl(SIOCDIFADDR_IN6, fe80:9::204:75ff:febe:fc96/64): Can't assign requested address

Here is my pptpd.conf:

option /etc/ppp/options-pptpd
Quote:
localip 172.19.1.1
remoteip 172.19.1.30-50
# PID file (can be used for monitoring)
pidfile /var/run/pptpd.pid
noipparam
options-pptpd:
Quote:
name pptpd
lock
mtu 1450
mru 1450
proxyarp
auth
ipcp-accept-local
ipcp-accept-remote
lcp-echo-failure 3
lcp-echo-interval 5
deflate 0

# Handshake Auth Method
+chap
+mschap-v2

# Data Encryption Methods
mppe required
remoteip 172.19.1.30-50
ppp.conf:
Quote:
loop:
set timeout 0
set log phase chat connect lcp ipcp command
set device localhostptp
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 172.19.1.1 172.19.1.30-172.19.1.50 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
# Disable unsecured auth
disable pap
disable chap
enable mschapv2
disable deflate pred1
deny deflate pred1
disable ipv6
accept mppe
enable proxy
accept dns
# DNS Servers to assign client
# Use your own DNS server IP address :
set dns 10.100.10.10
set device !/etc/ppp/secure
chap secret:
Quote:
#username pptpd password *
oe1ssu pptpd YEP 172.19.1.30
pap secret:
Quote:
# Secrets for authentication using PAP
# client server secret IP addresses
oe1ssu pptpd jojo 172.19.1.30
Ifconfig:
<root@hugo:47:~>$ ifconfig
Quote:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
groups: lo
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:04:75:be:fc:96
groups: egress
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 83.xxx.xxx.xx netmask 0xfffffff8 broadcast 83.xxx.xxx.xx
inet6 fe80::204:75ff:febe:fc96%xl0 prefixlen 64 scopeid 0x1
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33224
pfsync0: flags=0<> mtu 1460
enc0: flags=41<UP,RUNNING> mtu 1536
tun1: flags=11<UP,POINTOPOINT> mtu 3000
groups: tun
tun2: flags=11<UP,POINTOPOINT> mtu 3000
groups: tun
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
groups: ppp
inet 0.0.0.0 --> 0.0.0.0 netmask 0xffffff00
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
groups: tun

I hope someone can help me. Fact is, i love openBSD and this is the very first time where i´ve not found a solutions in howtos, rtfms etc.
Reply With Quote
 

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
poptop on OpenBSD 4.3 bartman OpenBSD Packages and Ports 15 22nd September 2008 11:18 PM


All times are GMT. The time now is 10:28 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