ubuntu vpn

2 views
Skip to first unread message

dead...@gmail.com

unread,
May 29, 2007, 9:21:49 PM5/29/07
to mdky
cat /etc/ppp/options.pptp
[quote]###############################################################################
# $Id: options.pptp,v 1.1 2005/02/18 01:40:23 quozl Exp $
#
# Sample PPTP PPP options file /etc/ppp/options.pptp
# Options used by PPP when a connection is made by a PPTP client.
# This file can be referred to by an /etc/ppp/peers file for the
tunnel.
# Changes are effective on the next connection. See "man pppd".
#
# You are expected to change this file to suit your system. As
# packaged, it requires PPP 2.4.2 or later from http://ppp.samba.org/
# and the kernel MPPE module available from the CVS repository also on
# http://ppp.samba.org/, which is packaged for DKMS as
kernel_ppp_mppe.
###############################################################################

# Lock the port
lock

# Authentication
# We don't need the tunnel server to authenticate itself
noauth

# We won't do EAP, CHAP, or MSCHAP, but we will accept MSCHAP-V2
refuse-eap
refuse-chap
refuse-mschap
#refuse-mschap-v2

# Compression
# Turn off compression protocols we know won't be used
nobsdcomp
nodeflate


proxyarp


# Encryption
# (There have been multiple versions of PPP with encryption support,
# choose with of the following sections you will use. Note that MPPE
# requires the use of MSCHAP-V2 during authentication)

# http://ppp.samba.org/ the PPP project version of PPP by Paul
Mackarras
# ppp-2.4.2 or later with MPPE only, kernel module ppp_mppe.o
# {{{
# Require MPPE 128-bit encryption
require-mppe-128
# }}}

# http://polbox.com/h/hs001/ fork from PPP project by Jan Dubiec
# ppp-2.4.2 or later with MPPE and MPPC, kernel module ppp_mppe_mppc.o
# {{{
# Require MPPE 128-bit encryption
#mppe required,stateless
# }}}[/quote]

dead...@gmail.com

unread,
May 29, 2007, 9:31:40 PM5/29/07
to mdky
Server:
name:server name
server:your.server.address
domain:[empty]
username:vpnusername
password:vpnpassword

Routing:
routing style:client to LAN
network routes to be added via Tunnel
Network:192.168.212.0/24
Name:optional

DNS:
uncheck "Automatic" and keep "Servers" and "Options" empty

Encryption:
uncheck all checkboxes

Miscellaneous:
check "debug" if you want to see debug message


Then you can push "start" button

if you see "can't determain proxy arp", redial.
After you dial, if you can only connect the server, add a route to the
ppp connection
sudo route add -net 192.168.212.0 netmask 255.255.255.0 dev ppp1


Reply all
Reply to author
Forward
0 new messages