Hot answers tagged

5 votes
Accepted

PPTP Passthrough Centos 7/Firewalld router to Windows Server

On my rhel7 servers which allow access to a PPTP VPN I set the following in addition to opening the port: sudo firewall-cmd --permanent --zone=public --direct --add-rule ipv4 filter INPUT 0 -p gre -j ...
  • 206
4 votes
Accepted

Iptables block access to IP for VPN clients

The OUTPUT chain only applies to locally generated packets. For packets that are routed via the system, one needs to use the FORWARD chain. So, you need to use this command: iptables -A FORWARD -m ...
3 votes
Accepted

Cannot Connect to PPTP VPN

At least doesn't work just out from the box on Ubuntu 15.04 Mar 15 22:02:24 ubuntu1504 pptpd[5517]: /usr/sbin/pppd: Plugin /usr/lib/pptpd/pptpd-logwtmp.so is for pppd version 2.4.5, this is 2.4.6 Mar ...
  • 7,123
3 votes
Accepted

iptables route PPTP VPN through polipo http proxy

Well, as far as I know Polipo can't be used as a transparent proxy. You must install a Squid proxy or another that supports that feature. You get the Polipo config page because you are accessing ...
3 votes

Can a poor client VPN connection corrupt a database?

If an unreliable connection can cause database corruption, then the problem isn't the connection but that the software is poorly designed.
  • 23k
3 votes

SNAT to from different source IP's to multiple destination IP's

As I can see now, from your detailed update, most likely it seems that you don't have those IP's assigned on your local network interface. You've only added 111.222.62.130 on your server. In order for ...
  • 1,278
3 votes
Accepted

Redirecting OpenVPN traffic to Burp Suite

You need to enable the option 'Support invisible proxying' in Burp's options.
2 votes

Restricting nginx website connection to VPN Users on the same server

VPN server don't redirect web trafic by default, as explained here, adding the line push "redirect-gateway def1" on your openvpn.conf will permit you to have the VPN server IP as your remote IP, and ...
  • 131
2 votes

pptp on Ubuntu server can't ping other machines on the LAN

I had success adding a route after connection, where 192.168.10.0 is the machine I'm trying to connect to, and 255.255.255.0 is the submask of the network: route add -net 192.168.10.0 netmask 255.255....
  • 121
2 votes

Can't establish PPTP VPN windows 8/8.1

I had the same problem. I could connect from iPhone, even from one Win 8.1 Pro desktop machine but not from two laptops running Win 8.1 all connected to the same network. Disabled firewall but no luck....
  • 123
2 votes
Accepted

Pfsense PPTP VPN Error 806

I found that you can just use the redirect option to your VPN server(e.g. 10.81.48.1 in VPN:PPTP confirguation)
2 votes
Accepted

ssh from Server to Client through PPTP tunnel

I finally solved the problem. I had to reduce the MTU from 1492 to 1392 of my PPTP connection. In order to find the right MTU size, try different values directly in your shell by executing ifconfig ...
  • 131
2 votes

When tunnelling through a VPN, block or redirect certain domains

You need to override your VPN clients' DNS server with a DNS server you have control over, and where you can set the overrides for DNS resolving.
2 votes
Accepted

FreeRadius authentication issue

No User-Password or CHAP-Password attribute in the request. This why the request is failing, The request is not supplying any password!
2 votes

Can't connect to mt PPTP VPN server

Turn off and clear iptables and perform a connection test. If it works, more than likely you don't have to proper iptables config to make pptp work. If it works with iptables cleared and disabled, ...
2 votes
Accepted

PowerShell Command to Disable PPTP Remote Access Connections

Use netsh: netsh ras set wanports device="WAN Miniport (PPTP)" rasinonly=disabled maxports=128
2 votes

pptp - 'Administrative Shutdown'. Error code is 0, Cause code is 0

This is not configuration level problem. Probably you have configured your PPPD just fine as the configuration works on another device without NAT. You should not use PPTP at all as it is has come ...
  • 44.8k
2 votes
Accepted

No ping on IPSec tunnel with Strongswan

Solved by adding this iptables rule: sudo iptables -t nat -I POSTROUTING 1 -j ACCEPT -s 10.0.0.0/24 -m policy --dir out --pol ipsec See here for more details: Strongswan vpn tunnel connected but the ...
2 votes

Confused by PPTP's terminology, who is PNS, who is PAC

The confusion is mainly caused by the fact that PPTP isn't used today the way it was originally intended. The PPTP protocol wasn't created as a VPN protocol, the PPTP protocol was created to solve a ...
  • 859
1 vote

cant connect to pptpd vpn

Thanks but the issue was resolved as firewalld was blocking the local and remoteip configured in pptp.conf Issue was resolved by the following command firewall-cmd --add-source=xx.xx.xx.x/24 Thank ...
  • 21
1 vote

Cannot connect to SSTP VPN Error 20227

Certificate's CN means certificate's Common Name and should always match the correct hostname to which your IP is resolving. Suppose you are connecting to x.x.x.x IP that resolves to "mysstpvpn....
1 vote

Windows 10 "Add a VPN connection" stuck on save

I tried adding the VPN using Powershell: Add-VpnConnection -Name "Work VPN" -ServerAddress "8.8.8.8" -TunnelType Pptp -EncryptionLevel Required -AuthenticationMethod MSChapv2 -SplitTunneling -...
1 vote
Accepted

Site-to-site tunnel using two MikroTik routers where one endpoint is behind NAT (LTE modem)

Main Office LAN: 192.168.16.0/24 Branch office LAN: 192.168.1.0/24 Interconnection LAN: 192.168.2.0/30 (for example) On the main office router, add a PPP secret with local address 192.168.2.1 and ...
1 vote

How to route all traffic through a VPN?

You need, at least, this 2 routes: DEFAULT via dev PPP_DEVICE VPN_SERVER via LOCAL_NETWORK_GATEWAY You can have this two routes with this commands: ip route add VPN_SERVER via LOCAL_NETWORK_GATEWAY ...
  • 56
1 vote

Cannot access Apache2 intranet site via VPN (can access other local resources)

What is the output of your /var/log/apache2/error.log and /var/log/apache2/access.log? That should provide some clues as to why it's being denied, and specifically, the client IP. If you're using the ...
1 vote

PPTP: Enable ppp0 interface at boot?

In addition to the comment and answer, I'll describe another way to solve your problem / question: Not sure what OS you're running, because you didn't state this, but if it's some Linux flavor: Allow ...
  • 5,541
1 vote

PPTP: Enable ppp0 interface at boot?

Assuming you are running Linux, you can just make your ppp interface part of system configuration. So that it will be enabled at the start. See : https://access.redhat.com/documentation/en-US/...
  • 111
1 vote
Accepted

ec2 VPC: route from private subnet to vpn subnet on vpc peer

EC2 (VPC) instances have an IP source/destination check enabled on their interfaces by default. For NAT instances, as well as configurations like the one you describe, this needs to be disabled for ...
1 vote

Windows 7 VPN to OS X Server error 629, Tried a lot of options

In case anyone is searching this question off of Google, I have solved the problem. It was because I was using special characters in my L2TP Shared Key set inside of my Mac server. For example "...
  • 133
1 vote

Multiple instances of Openvpn with different server IP numbers

Solved using 2 instances of openvpn and subnet topology. It was enough copy server.conf to server1.conf, change port and server's ip range and also rename some files which clashes with server.conf (...

Only top scored, non community-wiki answers of a minimum length are eligible