LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-14-2009, 04:44 AM   #1
oe1ssu
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
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.

But i can not get it working. Ißve read rtfm, howtos, etc.

If someone could help me, i would realy appreciate!!!!


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 are my configs:

/etc/pptpd.conf:
Quote:
option /etc/ppp/options-pptpd
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

/etc/ppp/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

/etc/ppp/chap_secrets:
Quote:
#username pptpd password *
oe1ssu pptpd YEP 172.19.1.30
/etc/ppp/pap_secrets:
Quote:
# Secrets for authentication using PAP
# client server secret IP addresses
oe1ssu pptpd YEP 172.19.1.30
ifconfig:
Quote:
<root@hugo:18:~>$ ifconfig
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.xxx netmask 0xfffffff8 broadcast 83.xxx.xxx.xxx
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 0x0
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
groups: tun
at the moment i am absolut clueless.
 
Old 10-14-2009, 04:46 AM   #2
oe1ssu
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Forgotten . here is the sysctl.conf
/etc/sysctl.conf:

Quote:
net.inet.ip.forwarding=1 # 1=Permit forwarding (routing) of IPv4 packets
net.inet.gre.allow=1
net.inet.esp.enable=1 # 0=Disable the ESP IPsec protocol
net.inet.ah.enable=1 # 0=Disable the AH IPsec protocol
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PopTop almost there :D zuzu Linux - Networking 0 02-05-2006 01:13 PM
POPTop Daemon g_goblin Linux - Security 4 05-10-2005 09:51 PM
PoPToP VPN with Shorewall: can only reach PoPToP server pgwillemsen Linux - Networking 0 12-27-2004 07:11 AM
How to use VPN with Poptop? hp83 Linux - Networking 0 07-26-2004 01:53 AM
plz plz solve my route mapping problem nedian123 Linux - Networking 1 07-12-2004 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration