Networking :: Pptp Seems To Be Working But No Access To Vpn Server?

Apr 16, 2010

I'm trying to use a vpn server which uses pptp. I've set up pptp as per the Debian Howto and it seems to be working, but I'm not actually acessing the net via the server.Not sure what info would be useful but here are route -n and ifconfig.Can anyone suggest what is wrong here, and how to test if the vpn link is actually working?

View 6 Replies


ADVERTISEMENT

Networking :: IPtables - Allow PPTP Server To Access Internet

Jan 24, 2010

I'm running an own PPTP Server, but I can't get it to access the internet. All my PCs at home run in the 192.168.0.0/24 net, the PPTP Server has local IP192.168.0.5 and remote IP 192.168.0.80-99. The router to the internet is at 192.168.0.1, and the IP of eth0 on the machine where the pptpd runs is 192.168.0.4. I want to be able to connect to the internet trough that VPN and access my local LAN servers (which works fine so far). I can ping internet and local IPs successfully, but can not access them with a browser, or connect to them in any other way. I have 'accepted' all in/output and forwards.

I am running a Squid proxy on the same machine, and if I do:
iptables -t nat -A PREROUTING -j REDIRECT -i ppp0 -s 192.168.0.0/24 -p tcp --dport 80 --to-port 3128
I can access the internet through Squid, but of course Jabber/ICQ etc. Won't work then because it just refers port 80. But I want the PPTP Clients to connect to the internet directly, if I don't use that rule it's not possible to load any pages. But pinging works all the time. DNS is also working fine, but I can't even access webpages via IP directly. How can I allow the PPTP IPs 192.168.0.80-99 to get direct access to the Internet with Iptables?

View 3 Replies View Related

Networking :: PPTP Client Fails To Connect To Microsoft ISA PPTP Server?

Sep 17, 2009

I'm trying to connect to a Microsoft ISA PPTP server from my Linux box. The box I'm connecting from is itself a router. I have no problem connecting a Windows XP machine to the VPN via this machine. This is fine, but I would rather connect via the Linux machine, giving me far more advanced routing options (i.e. no to send every packet from the XP box completely unnecessarily via the PPTP tunnel). The Linux router is running Debian Lenny.

I've checked iptables. There were initially some issues. I've fixed those.

Invoking pppd from the console, I can see that authentication succeeds, but then some negotiation goes wrong and the server terminates the connection. Here's the output from pppd, with the more sensitive stuff removed:

Code:
<hostname>:~# pppd call <peer> nodetach debug
using channel 19
Using interface ppp0
Connect: ppp0 <--> /dev/pts/2
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe3e45f75> <pcomp> <accomp>]
code....

View 1 Replies View Related

Networking :: PPTP-vpn On Debian, Can Connect But No Internet Access?

Jan 7, 2011

I have started a newly started a VPN-service with some friends and are offering both OpenVPN and PPTP-vpn.The OpenVPN works perfectly, but we have some problem with the PPTP.It is possible to connect to the VPN, but once connected you can't get any type of access to the outside world ( the interner ).I've googled (Ok, not I, but the tech-guy has) and havn't found any solution so therefor we try here.We are running Debian 5.0 on a XEN VPS.On the machines we've tested OpenVPN works like a charm.

View 12 Replies View Related

Ubuntu Networking :: 10.04 - PPTP VPN Not Working

Apr 25, 2011

10.04 Ubuntu, Have tried every single combination of fields in the Advanced options area when setting up the VPN.

Code:
Apr 25 02:48:10 John NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Apr 25 02:48:10 John NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 12263
Apr 25 02:48:10 John NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' just appeared, activating connections
Apr 25 02:48:10 John NetworkManager: <info> VPN plugin state changed: 1
Apr 25 02:48:10 John NetworkManager: <info> VPN plugin state changed: 3
[Code].......

View 1 Replies View Related

CentOS 5 Networking :: Pptp Vpn Not Working ?

Jul 16, 2011

I can't get the CentOS version of pptpd to work. I have a Debian 6 one with the exact same setup that does work. The required port is open according to various external port checking websites. It's giving me random errors when trying to connect, including 800, 809, 619. This is what I did so far;

Step 1. Installing pptpd the pptpd is the daemon that runs the pptp server.

To install this:

Step2. Next you will need to modify the pptpd.conf

Step 3. The vpn server is now configured and now you must setup authenticated users:

Step 4. When pptpd was installed it started automatically so we will need to restart it to apply the changes:

Now, if you would like to add internet access over this vpn, you can do this:

And find the line for ipv4 forwarding and make sure it = 1:

Then use iptables to get the net forwarded:

View 1 Replies View Related

Ubuntu Networking :: Cannot Connect To PPTP VPN (The Synchronous Pptp Option Is NOT Activated )?

Jan 7, 2011

I am trying to connect to a PPTP VPN at work, and I cannot accomplish that. Both server and client are using Ubuntu 10.10.

Code:
Jan 7 11:32:26 multicore-dev03 NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...

[code]....

View 9 Replies View Related

Networking :: Make PPTP Routing / Specify An Expired Date For Each Pptp User?

Mar 13, 2010

i have a VPN server PPTPD on Centos 5.3

eth0: 62.2.2.x (public on the internet)
GW: 62.2.2.1 (cisco router)

i want to configure my ppptp server to allow users access internet with their own public ips of class 62.2.3.0 62.2.4.0 62.2.5.0

every time i configure my server all users can get thier IPs but they only go out with my server IP same as NAT not routing.

can you show me the proper configuration to make my users connect with public IP and have internet access. use specific DNS ( i did this but some users can not brows by DNS)

is there any way to specify an expired date for each pptp user.

View 1 Replies View Related

Ubuntu Networking :: PPTP VPN Connection Stopped Working?

Oct 6, 2010

I managed to set up a PPTP VPN connection in Ubuntu 10.04, and it worked first time.This was about 3 months ago. It was working yesterday (Oct 05 2010), but when I came to log in to the VPN today it doesn't work. I tried the same VPN connection on my wife's laptop which runs Vista and it works. I have tried re-entering the details, even deleting and setting up from scratch via network manager. And yes I have the correct VPN plugins. what I should do. Is there a log file so I can have a look at it to see what the problem is. If there is where is it located. The computer is able to connect to the internet without any problems, just can't connect to the VPN. The only thing I can think of is that the update manager popped up this morning so a few things have got updated today. maybe something in there broke the VPN connection.

View 4 Replies View Related

Fedora Networking :: PPTP Server Set Up But Can't Connect?

May 8, 2010

I've got a FC PPTP server up and running but can't connect to it using VPN. I'm using NetworkManager but the connection fails each time. On the server, I'm seeing the following in the /var/log/messages:

Quote:

May 8 16:37:05 li99-23 pppd[2113]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so is for pppd version 2.4.3, this is 2.4.4
May 8 16:37:05 li99-23 pptpd[2112]: GRE: read(fd=6,buffer=8059780,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs

[Code].....

Ive checked that the name,passwords all match, which they do. Has anybody seen this before ?

View 1 Replies View Related

Networking :: Clients Can't Connect To PPTP Server

Dec 30, 2010

I'm trying to get a pptp server up and running. The server starts just fine, but encounters errors when a client tries to connect.

Code:

CTRL: I wrote 32 bytes to the client.
Dec 29 23:27:48 frankenstein pptpd[9402]: CTRL: Sent packet to client
Dec 29 23:27:48 frankenstein pptpd[9403]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd

[code]....

I assume the failed read line is the culprit. I am currently running on a test machine. There is no firewall. I read on this error points to a firewall misconfiguration, but there isn't one.

View 1 Replies View Related

Ubuntu Networking :: Installing PPTP VPN Server Via Webmin

May 9, 2010

Tried to install pptp vpn server via webmin, and I tried connecting remotely from my laptop, but it keeps failing on the verify username and password - I get a error 778 it was not possible to verify the identity of the server. Not sure what could be wrong with the config..

View 1 Replies View Related

Ubuntu Networking :: PPTP Server Some Websites Don't Load?

Jun 24, 2011

Running Ubuntu 11.04 Server 32bit fresh install

I did this walk-through trying both iptables and ufw

I am able to connect to my VPN server using both windows 7 and Ubuntu desktop just fine, and using wireshark verify that all packets are being compressed and sent through the VPN tunnel.

Many sites work but there are several that will not load while using the VPN, one of them is ubuntu forums also sourceforge.

I can ping the servers while connected but the websites just will not load, and time out. The second I disconnect from the VPN they load instantly.

View 1 Replies View Related

Ubuntu Networking :: Connecting Xp Machine To PPTP Server

Jul 8, 2011

I have been wanting to switch from my routers VPN to my headless linux box VPN. I have everything setup in the PPTP and then forwarded the ports to it. Heres the kicker. My APPLE Iphone connects to the VPN without a problem at all. Views Intranet pages etc.

My Windoz XP is kicking and screaming and one error after another. This is my setup on XP: I entered Ip Entered exact same credentials as used for connecting with my iphone turned off "use gateway on remote network" Changed type to PPTP VPN connecting my xp machine to this PPTP server on linux?

View 3 Replies View Related

Ubuntu Networking :: Lucid PPTP VPN Failure Connecting To MS Server

Sep 10, 2010

I'm attempting to get 10.04 to connect to an SBS 2003 pptp vpn server, but for the life of me have been unable to find or implement a working solution. System previously had 8.x and 9.x and had no difficulty connecting to same server, but on a fresh install of 10.04 cannot connect.

tail -f /var/log/syslog shows the following:

Code:
Sep 10 15:19:32 ubuntu NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Sep 10 15:19:32 ubuntu NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started

[Code]....

View 1 Replies View Related

Fedora Networking :: Pptp Vpn Connection - Failed To Parse Server Response

Nov 11, 2009

I am trying to connect to our work server (windows), however, without succes In the log I get the message: "Failed to parse server response"

And when I close the vpn connection window I get "there were no valid vpn secrets"

I Use F10 with xfce on an aspire one.

View 2 Replies View Related

Networking :: In PPTP Server - Limit Bandwidth Per User & No. Of Connection Per Account?

Apr 2, 2010

recently i rent a xen vps intended to setup a PPTPD vpn server for me and my friends. so we can by-pass the great firewall in china and get back on ....., facebook and stuff. i have already setup the server and i can connect to it without any problem. but i still want to do some further configuration the server:

1. i want to limit the bandwidth to 400k/s per connection.
2. i also want to limit the max connection per user a/c

i have some thoughts on the 2nd requirement. in the user configuration file of /etc/ppp/chap-secret, you can specify the range of ip the user can get, does it limit the max connection per user a/c? or they can connect anyway, just every now and then a box pop up says conflict in IP address?

View 1 Replies View Related

Ubuntu Networking :: VPN PPTP Connects But Fails If Remote Session Established On Server

May 10, 2010

I am trying to connect to a windows 2000 VPN server at work, with my current settings in DOES connect to the VPN and i can ping the domain server which is 10.1.1.2 but the first issue is i cannot ping the other computers on the network(via hostnames) can't remember the ip address of the other machines . second issue is when the connection is established and i RDP into 10.1.1.2 ok great i am connected to the server but any interaction in the RDP session even moving the mouse on the screen kills the session and the VPN connection fails.

Running Ubuntu 10.04 LTS 64Bit

Image of current settings in network manager:

Syslog:

Code:
May 11 12:08:04 oliver-desktop NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
May 11 12:08:04 oliver-desktop NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started

[Code].....

View 1 Replies View Related

Server :: Only Allow User Access Web-server On Working Hours?

Aug 3, 2010

I only allow my users to access my web-server (apache) on working hours (mon to fri and 08:00 to 17:00).. how to configure my Apache?

View 2 Replies View Related

Networking :: Unable To See Shares On Samba Server - No Authentication Access Desired (open Access)

Jun 12, 2009

I've been running a Samba server under RedHat 8 for five years without a hiccup. I want to cut over to a F10 box but cannot get shares accessible. smbclient attempts fail over NT password error. SELinux is disabled. Server is visible on the network. Users require no password access to shared data.

smb.conf follows:

# Samba config file created using SWAT
# from UNKNOWN (>)
# Date: 2009/06/12 14:15:15

[code]....

View 1 Replies View Related

Server :: Config A PPTP VPN Server In Ubuntu VPS?

Mar 24, 2010

I have setupped the PPTP, but failed the config it. My local mechine's IP is dynamic.

IP=66.96.223, user=root pass=nJAG1kK1Tp

View 1 Replies View Related

Fedora :: Setup PPTP VPN Server?

Jan 18, 2010

I want to be able to use my Dial-up networking VPN connection on either my windows desktop or Fedora 12 laptop to dial into my network. My server is Fedora 10. This question is how do I setup the server. I already have the clients configured..I've tried this but it looks like its for LPT2 or IPSEC tunnels. I am looking for PPTP (Dial-up

View 3 Replies View Related

General :: Setup A PPTP Vpn Server

Oct 29, 2010

I need to setup a PPTP vpn server i am planing to get a VPS server from ixwebhosting they will install either on for the following os

1...centOS
2...debian
3...openSUSE

which would be best for a PPTP server, i belive i would have to install POPTOP server on them my self! or is there a better way to do it?

View 4 Replies View Related

Server :: No Internet Traffic Through The PPTP VPN Connection?

Feb 21, 2011

everything works fine, clients can connect to the vpn server with no problems and they can ping local machines! but no internet access through the vpn connection unless i uncheck the default gateway option on my client machine which is not what i want. I want my clients to get my server's ip address. my server is behind a router (router's ip : 192.168.0.1 | server's local ip: 192.168.0.100) so i used localip 192.168.0.100 & remoteip 192.168.0.234-238 in pptpd.conf. it think there is something wrong with routing or firewall rules, because it seems that the DNS resolution works .. when i try to browse a website my browser says "Waiting for xxxxx.com..." and it stays on that stage forever ! the funny part is that google.com works fine (don't know how).

p.s :
* I have already opened the port in on my router. I even tried it locally to make sure that the router is not the problem here. * already added ms-dns 208.67.222.222 / ms-dns 208.67.220.220 to pptpd-options. (found another guide that suggested to do this, before adding these two lines even dns resolution was not working.)

View 1 Replies View Related

Server :: File Access Permissions - Working With Groups And Users?

Sep 15, 2009

Having set up many windows servers with complex permissions on shared folders, I now have to do the same in Linux (and I'm such a noob to Linux) I understand that each file/folder is assigned a user + group, and that the rights can be set for the user, the group and global (aka everybody else) My challenge is this, inside my shared folder there is a folder that should be RW to some users, READ ONLY to others, and not accessible at all to the rest of the users. (lets call the folder MyFolder ) All 3 groups have more than 1 user, so they have to be groups (right?) How would this model work in Linux ? If there is no other way, I guess I can nest the MyFolder in a folder that has permissions to allow all users that may access MyFolder, and block the rest, then on MyFolder, set owner group the RW users, and set global to READ ONLY.

Ps : The server I'm setting up runs Debian Lenny, files will be accessed from windows workstations using samba.

View 2 Replies View Related

Software :: Setting Up A VPN Server (l2tp OR Pptp) On Arch?

Sep 26, 2010

I am interested in setting up a l2tp OR pptp VPN server under arch linux. I have apache, mysql, and other server software installed, if that makes any difference. (note: this is a home server, nothing serious).

View 9 Replies View Related

Fedora Networking :: Can Get 13 To Connect Using Pptp?

Jun 16, 2010

This questions is a little complex but here goes.at a central HQ I have a windows server 2008 R2 machine running routing and remote access. At my home office i have a class C lan with a Fedora 13 machine. I can get fedora 13 to connect using pptp no problem. I have my router running tomato set to redirect all traffic to teh 10.0.0.0 network to my linux server. My questions is how to I make the fedora 13 machine pass all the traffic from my network with destination 10.0.0.0 over the vpn tunnel? so for instance if i ping anything 10.x.x.x from any machine on my network it will find it and reply?

View 1 Replies View Related

Ubuntu Networking :: 10.04 - How To Use PPTP After Setup

Oct 15, 2010

Trying to connect to my office as a PPTP client, I have setup my PPTP connection in Ubuntu 10.04, and the connection is active, as I can see from the top bar, and the output of ifconfig:

Code:
eth0 Link encap:Ethernet HWaddr 00:18:8b:b7:a3:ef
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:18

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:580 (580.0 B) TX bytes:580 (580.0 B)

ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.0.166 P-t-P:192.168.0.254 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1400 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:108 (108.0 B) TX bytes:96 (96.0 B)

wlan0 Link encap: Ethernet HWaddr 00:19:d2:7a:96:e5
inet addr:192.168.1.107 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::219:d2ff:fe7a:96e5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8525 errors:0 dropped:0 overruns:0 frame:0
TX packets:8496 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5799296 (5.7 MB) TX bytes:1408867 (1.4 MB)

Now I want to access the folder named ABC on the remote PC with IP address of 192.168.0.12, with username USER1 and password PASS1.

View 2 Replies View Related

Ubuntu Networking :: PPTP VPN Not Connect

Oct 25, 2010

I'm trying to connect to [URL] but it will not work no matter what settings. I have ticked MPPE, configured gateway, username, MSCHAP and MSCHAPv2 are ticked, using 128-bit encryption. I have tried to forward port 1723 and 1127 in my router, I have also ticked "enable PPTP PassThrough" in the router. I cannot telnet to vpn.itshidden.com. This is on Ubuntu Lucid. These are my logs from an unsuccessful connection attempt:

[Code]....

View 1 Replies View Related

Ubuntu Networking :: Can't Connect To A Pptp Vpn?

Jan 18, 2011

I am having trouble connecting back to my vpn at work while I'm at home. Mainly need to get our local svn repos for at home development. I successfully connected to the vpn following this [URL]..I am running Lucid Lynx 64bit and I followed the 9.10 section of the tutorial on setting up PPTP connection.

It worked fine. Then I walked away from my computer and it was disconnected when I came back 2 hours later. I was unable to connect back to it. I used my laptop which is running windows 7 and it connected just fine. So, now I am unable to connect to it and have no idea why. I viewed my system log and don't know what to do with the information. Could someone help me out on this.

Jan 18 18:51:43 david-desktop NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Jan 18 18:51:43 david-desktop NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 5532
Jan 18 18:51:43 david-desktop NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' just appeared, activating connections

[Code]...

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved