2

I recently looked into replacing my Netgear VPN router with a Linux machine. I have configured it and everything worked perfectly including port forwarding. Except that when I tried to connect to a web hosting company's PPTP server, it failed with error 619. The previous router has no such issue.

I tried to connect another PPTP server (running on Linux) and it connected successfully.

In the Linux router, I forwared 1723 and gre to an internal PPTP server. I thought that they are only needed for incoming PPTP connections not for outgoing..

MadHatter
  • 81,580
cuteCAT
  • 155

1 Answers1

3

PPTP is one of those modules that you have to make sure a particular netfilter module is loaded for to permit it through a NAT.

Make sure nf_conntrack_pptp, and nf_nat_pptp. are loaded (check with lsmod, load with modprobe).

lsmod/modprobe example output.

# lsmod | grep pptp

modprobe nf_nat_pptp nf_nat_pptp

lsmod | grep pptp

nf_nat_pptp 20480 0 nf_conntrack_pptp 20480 1 nf_nat_pptp nf_nat 57344 3 nf_nat_pptp,nft_chain_nat,xt_MASQUERADE nf_conntrack 176128 6 xt_conntrack,nf_nat,nf_conntrack_pptp,nf_nat_pptp,nf_conntrack_netlink,xt_MASQUERADE

Zoredache
  • 133,737