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
ADVERTISEMENT
Sep 27, 2009
Recently I notice that when I'm connected to an vpn server (pptpd) and I'm using it as a default gateway my download and upload speed decreases almost to the half of the usual speed. I made a test using iptables in order to count how much GRE packets are generated (except the real traffic itself) in that way:
Code:
iptables -I INPUT -p gre -j ACCEPT
iptables -I OUTPUT -p gre -j ACCEPT
iptables -I FORWARD -s 172.16.10.101 -j ACCEPT
iptables -I FORWARD -d 172.16.10.101 -j ACCEPT
The first 2 rules match all GRE packets between the pptpd server and client, and the next rules - the traffic between the server and the client.
When I turn the counters to zero and begin to generate traffic (to browse, to download etc.) I see that the GRE packets are even more than these in the FORWARD chain.
So, my question is first of all is my test correct and is it true that so much gre traffic is being generated during the browsing (it becames clear that the traffic is double than if the pptpd wasn't used as a gateway) and if yes - can that traffic be reduced?
View 3 Replies
View Related
Jun 25, 2010
I would like to have all traffic from the ethernet connection out through the wireless (basically using the box as a router) however I am having some trouble doing this.
I have done this before on Windows however I am having some trouble doing this on linux, I have tried using Squid Proxy however I am having some trouble using configuring/using it.
I am using Yellow Dog Linux however I am willing to change to any other distro as long as it is compatable with PS3 (as this is what im using linux on)
View 14 Replies
View Related
Jan 29, 2011
I recently installed Kubuntu 10.10 on my machine, and I configured the PPTP VPN connection through which I connect to the internet. I can successfully connect, but it works really slowly. Slower than it does on Windows 7 on the same computer, with the same settings for the PPTP dialer. In about 20 minutes after I connect, the connection fails and even the modem restarts itself. I tried setting the MTU for the pptp connection to 1400 (I checked, and 1372 is the maximum value before the packets start to fragment + 28 bytes for the IP/ICMP headers), but nothing seems to help.
View 3 Replies
View Related
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
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
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
Dec 12, 2010
I installed the PPTP Client [URL] and can successfully connect to my VPN (creates interface ppp0). The problem is, I'm trying to tunnel all of my traffic on my system through the connection. I've seen conflicting howtos and scripts including pptpclient's documentation (the ip-up and ip-down scripts don't work). How does one simply (even if I type it manually) tunnel the traffic?
System Info:
OS: Debian Squeeze, Kernel 2.6.32-5-686
GUI: Gnome (standard one from netisnt unstable install)
Main interface: eth1
PPTP interface: ppp0
View 1 Replies
View Related
Feb 16, 2011
I use a PPTP VPN for privacy and bittorrent. I have been over all very happy, only taking about a 1/4 hit to my over all network speed. However, I recently downgraded my VPN package, and the new sever I connect through is sometimes unstable with a high throughput. Because of this I am trying to find a way to block ALL (HTTP, bittorrent, email, etc) outgoing network traffic when the VPN fails, and then resume the traffic when the VPN reconnects. Essentially forcing all data through the VPN, and creating the illusion of simply having no network connection to the outside world at all when the VPN is offline/re-connecting. This is opposed to the current situation when the VPN will fail, all my traffic will switch to direct (visible) access through my ISP, and the VPN will re-establish sometime later (2-3mins, normally. Unless I manually restart it sooner).
I have tried Google, but have only been finding information on configuring local web access outside of the VPN for the sake of speed. Information of which I cannot seem to find a way to apply to this.
View 1 Replies
View Related
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
Mar 28, 2016
I am in serious situation involving PPTP protocol VPN in Debian 8 Jessie stable. I recently became a paid VPN subscriber. Using PPTP; Is there a way to automatically route all traffic through ppp0? Im getting the vpn service killed (ip address goes back to normal unmasked state) whenever there is a power outage (modem reset) and there are alot of those where I live, Im going to get astabilizer and I need a software solution for the situation as well. Theres gotta be a way to route all traffic through the VPN route ppp0 . I tried adding persist and maxfail 0 to the pptp config file but it did not do what i wanted.
Here's my peer configuration file :
pty "pptp blabla.net --nolaunchpppd"
name blablabla
password blablabla
remotename PPTP
file /etc/ppp/options.pptp
require-mppe-128
refuse-eap noauth
persist
maxfail 0
On a second note, its clear to add that I basically need a way to also auto load the line
pppd call blabla.net
and
route add default dev ppp0
On system startup by default so the computer does not use "Wired" connection ^at all^ when not through ppp0. Any other way of not losing VPN anonymity ever due to hardware malfunction.
Is there a way to do this? Ive looked on the net and everything seems like its either from the nineties or can fry my pc , Im no debian expert, less than a year at linux..
Need it to use wired only if ppp0 is being used so if its no vpn, no connection at all period,
View 1 Replies
View Related
Apr 27, 2010
We have something on our network that is reaking havoc with our content filter. I am trying to track it down, but so far I have been unsuccessful. We have approximately 500 devices in 100+ different locations spread across 9 states. Looking at each computer is not really feasible.
I need a machine that can sit in between our network and our internet connection and graphically monitor in real time and logs how much traffic each device is sending and receiving. It would need to sit inline so it has to have two nics and be able to pass traffic. The machine also needs to be transparent. Reconfiguration of our routers or workstations is not an option.
I have used ethereal and wireshark before. Ethereal may be a viable option, but wireshark seems to provide lots of information, but no practical way to make use of it. how to set up the box to be a transparent device on the network that will allow internet bound traffic to flow (freely)?
View 3 Replies
View Related
Sep 30, 2010
I tried to setup a home server that will redirect the internet traffic through the server before it reach the client. Because i don't want to install anti virus on every machine, it will slow them down a lot. There are some anti virus for ubuntu. Most of my home machines are running windows, which is a pain with virus.
p/s: I'm running 1 ubuntu server 10.04 and the rest are windows 7 machines.
View 9 Replies
View Related
Mar 15, 2011
I wanted to tell my server to block all traffic but US only traffic. So i followed this guide:[URL].. Now I know, it's the best way to help prevent hackers/crackers (doesn't matter to me what they are called. I just have to stop them). My server only deals with US clients anyways so might as well just start right there for my server's security before getting into the brute force and injection preventions. So I got it all done compiled everything moved to the proper directory. I then started to setup my iptables. Like so
Code: iptables -F INPUT
iptables -F OUTPUT
iptables -I INPUT 1 -s *.*.*.* -p tcp --dport 22 -j ACCEPT
iptables -I INPUT 2 -s *.*.*.* -p tcp -j ACCEPT
[Code]...
After seeing that i went digging in the code and figured it was something todo with memory allocation.
View 1 Replies
View Related
Nov 26, 2010
I'm unable to connect to a windows vpn connection using pptp this was working yesterday but for some strange reason it stopped working. My other vpn tunnels to cisco and so on are working great. I have the following log:
[Code]....
Nov 26 17:05:15 falx NetworkManager[1319]: <info> VPN service 'pptp' disappeared I have the latest updates, so that means that selinux was updated today. My selinux policy was enforcing but I changed it to disable and allready rebooted. Iḿ using Fedora 14 (I already regret for making the upgrade from 13, also have a problem with display drivers or something, but thats another story) does anyone encounter a problem like mine with pptp? can you share the solution if there is one?
Alexandre. Update: At the moment after connecting by Ethernet cable to my home network the connection wold be established but no address would work to the remote network, I've disconnected the cable and resumed using my wifi connection and the VPN connection is working again!! I don't have a clue about what just happened.. since itś working I need to get some work done and will provide more info on this matter if I found something new.
View 3 Replies
View Related
Dec 26, 2010
Since I completely switched to Opensuse11.3 From MS-Windows OS. The Problem I had is a PPTP VPN connection in windows, Which I used to connect Via a connection, The VPN provider gave me. Since these connection are for MS-Windows , I can't create a connection manually in Opensuse. I used , KDE control module/Network connection/VPN/add -> PPTP then I entered the host ip in NT DOMAIN field , my username, and password, and left all other options (including Gateway) the way it was. After that, every time I try to connect to this connection, NOTHING happens.
View 2 Replies
View Related
Apr 6, 2011
I am using OpenSuse 11.4 and trying to set up pptp. I think I am almost there but cant seem to make a connection. Here is the log: -
[Code]....
View 1 Replies
View Related
Mar 12, 2010
I setup a PPTP VPN connection in ubuntu 9.10 (x86_64) using NetworkManager. After enabling the VPN connection, I can browse web pages (it's perfect) but after a while the vpn connection is terminated! The following is my syslog after connecting and terminating:
Code:
Mar 12 22:10:10 amir-desktop NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Mar 12 22:10:10 amir-desktop NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 2204
[Code]....
View 7 Replies
View Related
Jun 26, 2011
I have just managed to setup a small server were I run rtorrent through och VPN tunnel pptp based. When I start up my server without starting the tunnel it looks like this.
[Code]...
I guess that something happen with the VPN connection, assigned a new ip number maybe and that that made the change.
View 3 Replies
View Related
Feb 11, 2010
I tried to configure my vpn connection using pptp from the shell following following tutorial: [URL] now, if i use Code: pppd call novax to connect to my vpn i see following appearing in /var/log/messages:
Code:
Feb 10 21:11:57 reg-laptop pppd[2655]: pppd 2.4.5 started by root, uid 0
Feb 10 21:11:57 reg-laptop pppd[2655]: Using interface ppp0
Feb 10 21:11:57 reg-laptop pppd[2655]: Connect: ppp0 <--> /dev/pts/0
Feb 10 21:11:58 reg-laptop pppd[2655]: CHAP authentication succeeded
Feb 10 21:11:59 reg-laptop pppd[2655]: MPPE 128-bit stateless compression enabled
Feb 10 21:12:00 reg-laptop pppd[2655]: local IP address 10.243.249.22
Feb 10 21:12:00 reg-laptop pppd[2655]: remote IP address 10.243.249.20
verifying with ifconfig, my ppp0 ip is correctly set to 10.243.249.22 - i can also ping this ip but i tried to ping other ips in our network and i can't reach any of them - did i mess up the route maybe? Content of my /etc/ppp/ip-up.d/route-traffic:
[Code]...
View 1 Replies
View Related
Mar 6, 2010
I'm using Kubuntu 9.10, my pppd version is 2.4.5 and pptp is 1.7.2 I'm trying to connect to the iPredator VPN service, but I keep running into problems with LCP. I've tried using knetworkmanager, nm-applet, kvpnc and plain old text-based configuration to no avail. Here's a snippet of pppd's output:
[Code].....
(I've got "defaultroute" in my /etc/ppp/peers/ipred config file.) Any ideas what could be causing this? Could it even be my router? It claims to support PPTP, but considering it claims a lot of other things which aren't true, I wouldn't be surprised if it was the culprit.
View 4 Replies
View Related
Sep 15, 2010
i set a pptp -vpn connection.but i cant post anything in facebook. is there any specific settings i have to do?
View 1 Replies
View Related
Sep 20, 2010
I am using relakks.com VPN Service and set it up with gnome's default nm-manager interface. Everything is just perfect when I'm browsing the web. I can do it for hours and nothing happens. On the other hand, when I open up a torrent client - after 15 seconds to 2 minutes - I get a nice kick off the VPN.
It goes like this:
Code:
Sep 20 08:25:11 NPC pptp[3496]: nm-pptp-service-3490 warn[decaps_gre:pptp_gre.c:426]: discarding bogus packet 94236 (expecting 93663)
Sep 20 08:25:11 NPC pptp[3496]: nm-pptp-service-3490 warn[decaps_gre:pptp_gre.c:426]: discarding bogus packet 94237 (expecting 93663)
[Code].....
View 9 Replies
View Related
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
Jul 20, 2011
I am unable to make my VPN connection to my university work correctly. Before, it would work some of the time without changing any settings. Now it never works. Unfortunately my institution does not provide support to linux users (outrageous!) so I'm on my own. Here is a link to the configuration instructions for windows and mac users, I've tried to configure mine based on this information but I have not been able to do it.
View 2 Replies
View Related
Dec 27, 2010
Here's my setup: Slackware 13.1 External IFace = eth0 / DHCP (assigned from comcast) Internal IFace = eth1 / 192.168.0.0/24 I've made it connect/authenticate, but I can't get anything to route through it..
[Code]...
Really wanting to try and get this setup to where all computers on my lan are forced through the VPN, i've tried most of all things I've googled, and no real luck.
View 1 Replies
View Related
Mar 15, 2010
since installing opensuse 11.2 KDE, is that I can connect to the local resources when I'm not connected via the pptp vpn to the Internet but as soon as I establish an Internet connection, I cannot. Under Windows and other distros I've tried, this has never been an issue, usually I can connect to either local or Internet resources, interchangeably. In a nutshell, I don't know how to troubleshoot this.
View 9 Replies
View Related
Oct 6, 2009
I am a newcommer to Centos. I should connect to internet via a pptp vpn connection. I created the connection in "network connections". In other distrows I could connect to created pptp vpn connection simply by clicking on network-manager-applet and selecting the connection, but there is no network-manager-applet in Centos. Is there any way to connect to the vpn connection I created or I should go to do it by manually editing config files?
View 3 Replies
View Related
Feb 12, 2009
I have one server at home, connected through a router that gives me a static IP:192.168.1.2 - My PC192.168.1.3 - CentOS serverI enabled the port 80 into router forwarding system and I can connect properly to CentOS server, using the IP my internet provider gives me. My router automatically forwards a changed IP to my dyndns.com account so I can also access the server through a domain name (I pay to have it linked to one of my domains).My next step is to configure the mail server (dovecot) , so I can send emails from my local server(192.168.1.3).I was wondering if anyone has any tutorial links or tips to have the mail server configured through a home internet provider + home router.
View 5 Replies
View Related
Feb 25, 2010
I have updated the system this morning and the vpn stopped working!It gives me an error: invalid secrets.I use network manager to connect to a pptp vpn connection, I use fedora 12.Does anyone know the problem?
View 2 Replies
View Related