02-04-2004
Quote:
Originally posted by sirex
I'm looking to setup a VPN server on my BSD box but I'm lost. Can anyone guide me in the right way?
I found quite a few tutorials on
google.
For example:
Tutorial: Setting up a VPN on OpenBSD
Is this what you need?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi all :
i am new to unix and linux world , my experience is near zero, so i am seeking your help to maintain a learning environment to try to catch up with linux and unix in the same time , furthermore win 2000 server is a must for my current job , so what do u think , can this triple boot... (1 Reply)
Discussion started by: behmoth
1 Replies
2. UNIX for Dummies Questions & Answers
By following the Samba.org how-to's and various finds on groups.google.com I've succeeded in getting a FreeBSD (5.2.1-RELEASE) / Samb-3.0.0,1 server in to my MSFT 2003 Active Directory domain as a member server, but there is a little problem I'm having trouble resolving.
Newly created user... (0 Replies)
Discussion started by: ccy
0 Replies
3. BSD
I need to migrate an existing master.passwd file to new FreeBsd Unix Box. I will moving from 4.1 to 6.1. I already have the home directories copied over. Once I copy over the masterpasswd file what do I need to do to make the system use the new master.passwd file? (0 Replies)
Discussion started by: rbizzell
0 Replies
4. IP Networking
Hope I can explain my problem well enough.
I have a DNS server that I'm wanting to replace with an older system. I configured this system exactly the same way as an older system running FreeBSD 6.3.
Here's the problem. Within the network, its working perfectly: performing queries, all the... (2 Replies)
Discussion started by: Alpha_Harblo
2 Replies
5. IP Networking
Hi All,
I am a newbie in Unix and Networking. Let me explain what I want.
In my office, we work with terminals in windows as interface to Unix Server (HP-UX, AIX, Solaris). I would like to have the same set up at home. I am using a VMWare version of FreeBSD v7.0. I want it to be my Unix Server... (0 Replies)
Discussion started by: ahamed101
0 Replies
6. BSD
Hello, I'm trying to create a NTP server on a FreeBSD machine inside my local network, so all the clients of that network can actually query for that machine.
Should be of no problem right?
Here's the configuration of the /etc/ntp.conf on the FreeBSD machine:
server br.pool.ntp.org burst
... (1 Reply)
Discussion started by: Zarnick
1 Replies
7. IP Networking
Hello all,
I have configured Freebsd 8.1 Bind DNS as DNS server for intrenal domain and clients on one subnet 192.168.10.0/24 . What do I have to change in zone file and in in-addr.arpa zone file if I have two additional subsets 192.168.20.0/24 and 192.168.30.0/24? Do I have to create another... (0 Replies)
Discussion started by: kreno
0 Replies
8. Emergency UNIX and Linux Support
Hi guys.
I am going to build a Linux VPN server(PPTP) for my friend but here is the problem:
He don't know Linux and command line to manage users, monitor server, etc
anyone knows a good GUI for this problem? I need some solution like nttacplus (2 Replies)
Discussion started by: majid.merkava
2 Replies
9. Debian
Dear All
My scenario is
Debian with PPTP Server in which I am able to connect to through other machines. Ive enable echo 1 > /proc/sys/net/ipv4/ip_forward and through client machine i can browse internet as well
I created another pptp client in debian server which connects to another... (0 Replies)
Discussion started by: kazimnaim
0 Replies
10. UNIX for Beginners Questions & Answers
I have a HP Proliant server with centOS.
This is the software that I run:
- SSH + SFTP
- NGINX
- PHP7
- Bitcoind
- MYSQL
Would you recommend FreeBSD or CentOS for this software.
Also how hard is it to set this up with FreeBSD compaired to CentOS?
I never used FreeBSD before, is it hard... (3 Replies)
Discussion started by: jwz104
3 Replies
LEARN ABOUT XFREE86
ng_pptpgre
NG_PPTPGRE(4) BSD Kernel Interfaces Manual NG_PPTPGRE(4)
NAME
ng_pptpgre -- PPTP GRE protocol netgraph node type
SYNOPSIS
#include <sys/types.h>
#include <netgraph/ng_pptpgre.h>
DESCRIPTION
The pptpgre node type performs Generic Routing Encapsulation (GRE) over IP for the PPTP protocol as specified by RFC 2637. This involves
packet encapsulation, sequencing, acknowledgement, and an adaptive timeout sliding window mechanism. This node type does not handle any of
the TCP control protocol or call negotiation defined by PPTP.
This node type expects to receive complete IP packets, including the IP header, on the ``lower'' hook, but it transmits outgoing frames with-
out any IP header. The typical use for this node type would be to connect the ``upper'' hook to one of the link hooks of a ng_ppp(4) node,
and the ``lower'' hook to the ``inet/raw/gre'' hook of a ng_ksocket(4) node.
HOOKS
This node type supports the following hooks:
session_hhhh Session 0xhhhh data packets to the upper protocol layers
upper Same as session_hhhh, but for single session with configurable cid (legacy)
lower Connection to the lower protocol layers
CONTROL MESSAGES
This node type supports the generic control messages, plus the following:
NGM_PPTPGRE_SET_CONFIG
This command resets and configures hook for a session. If corresponding session_hhhh hook is not connected, upper hook will be con-
figured. This command takes a struct ng_pptpgre_conf as an argument:
/* Configuration for a session */
struct ng_pptpgre_conf {
u_char enabled; /* enables traffic flow */
u_char enableDelayedAck; /* enables delayed acks */
u_char enableAlwaysAck; /* always send ack with data */
u_char enableWindowing; /* enable windowing algorithm */
u_int16_t cid; /* my call id */
u_int16_t peerCid; /* peer call id */
u_int16_t recvWin; /* peer recv window size */
u_int16_t peerPpd; /* peer packet processing delay
(in 1/10 of a second) */
};
The enabled field enables traffic flow through the node. The enableDelayedAck field enables delayed acknowledgement (maximum 250
milliseconds), which is a useful optimization and should generally be turned on. enableAlwaysAck field enables sending acknowledge-
ments with every data packet, which is probably helpful as well.
enableWindowing enables the PPTP packet windowing mechanism specified by the protocol. Disabling this will cause the node to violate
the protocol, possibly confusing other PPTP peers, but often results in better performance. The windowing mechanism is a design
error in the PPTP protocol; L2TP, the successor to PPTP, removes it.
The remaining fields are as supplied by the PPTP virtual call setup process.
NGM_PPTPGRE_GET_CONFIG
Takes two byte argument as cid and returns the current configuration as a struct ng_pptpgre_conf.
NGM_PPTPGRE_GET_STATS
This command returns a struct ng_pptpgre_stats containing various node statistics.
NGM_PPTPGRE_CLR_STATS
This command resets the node statistics.
NGM_PPTPGRE_GETCLR_STATS
This command atomically gets and resets the node statistics, returning a struct ng_pptpgre_stats.
SHUTDOWN
This node shuts down upon receipt of a NGM_SHUTDOWN control message, or when both hooks have been disconnected.
SEE ALSO
netgraph(4), ng_ksocket(4), ng_ppp(4), ngctl(8)
K. Hamzeh, G. Pall, W. Verthein, J. Taarud, W. Little, and G. Zorn, Point-to-Point Tunneling Protocol (PPTP), RFC 2637.
S. Hanks, T. Li, D. Farinacci, and P. Traina, Generic Routing Encapsulation over IPv4 networks, RFC 1702.
HISTORY
The ng_pptpgre node type was implemented in FreeBSD 4.0.
AUTHORS
Archie Cobbs <archie@FreeBSD.org>
BUGS
The node should not expect incoming GRE packets to have an IP header. This behavior is inherited from the (converse) behavior of raw IP
sockets. An intermediate node that strips IP headers in one direction should be used instead.
BSD
March 29, 2008 BSD