Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Vpn setup help?
#1
I need some help setting up a vpn on a debian 7 OS, with pptp and openvpn. I have set up a vpn before and the speeds were awesome, but i think i am doing something wrong like the iptables and the speeds are slow af. Any can find a good tutorial, or help me with iptables.
[Image: walter-white-onewhoknocks.gif]
Reply
#2
(04-09-2014, 11:00 PM)Heisenberg Wrote: I need some help setting up a vpn on a debian 7 OS, with pptp and openvpn. I have set up a vpn before and the speeds were awesome, but i think i am doing something wrong like the iptables and the speeds are slow af. Any can find a good tutorial, or help me with iptables.


Sure, I can help you with that. Post your server.conf file from your OpenVPN server. Are you trying to tunnel all traffic through, or is this going to be a split-tunnel? Are your DNS servers being pushed down via OpenVPN? If so, are they in the correct geographical location?

Additionally, why are you using PPTP? Just use generic OpenVPN w/ UDP... it's much faster.
Reply
#3
(04-10-2014, 12:56 AM)Mr. Zane Wrote:
(04-09-2014, 11:00 PM)Heisenberg Wrote: I need some help setting up a vpn on a debian 7 OS, with pptp and openvpn. I have set up a vpn before and the speeds were awesome, but i think i am doing something wrong like the iptables and the speeds are slow af. Any can find a good tutorial, or help me with iptables.


Sure, I can help you with that. Post your server.conf file from your OpenVPN server. Are you trying to tunnel all traffic through, or is this going to be a split-tunnel? Are your DNS servers being pushed down via OpenVPN? If so, are they in the correct geographical location?

Additionally, why are you using PPTP? Just use generic OpenVPN w/ UDP... it's much faster.

I like pptp better, just a personal preference, i dont like the openvpn client.

Is it possible to setup both on the vps?
[Image: walter-white-onewhoknocks.gif]
Reply
#4
FOR LINUX

Using RPM package:

If you are using a Linux distribution which supports RPM packages (SuSE, Fedora, Redhat, etc.), it's best to install using this mechanism. The easiest method is to find an existing binary RPM file for your distribution. You can also build your own binary RPM file:

Code:
rpmbuild -tb openvpn-[version].tar.gz
Once you have the .rpm file, you can install it with the usual

Code:
rpm -ivh openvpn-[details].rpm
or upgrade an existing installation with

Code:
rpm -Uvh openvpn-[details].rpm

Installing OpenVPN from a binary RPM package has these dependencies:
-openssl
-lzo
-pam

Furthermore, if you are building your own binary RPM package, there are several additional dependencies:
-openssl-devel
-lzo-devel
-pam-devel

See the openvpn.spec file for additional notes on building an RPM package for Red Hat Linux 9 or building with reduced dependencies.

Without RPM package:

If you are using Debian, Gentoo, or a non-RPM-based Linux distribution, use your distro-specific packaging mechanism such as apt-get on Debian or emerge on Gentoo.

It is also possible to install OpenVPN on Linux using the universal ./configure method. First expand the .tar.gz file:

Code:
tar xfz openvpn-[version].tar.gz

Then cd to the top-level directory and type:

Code:
./configure
make
make install
PacketPunks
Knowledge talks, wisdom listens.
PM me with any questions or comments
Reply
#5
Let's start with what distro you're using.

And yes, you can run both PPTP and OpenVPN on the same server, as they listen on different ports.
Reply
#6
(04-10-2014, 04:35 AM)Mr. Zane Wrote: Let's start with what distro you're using.

And yes, you can run both PPTP and OpenVPN on the same server, as they listen on different ports.

I dont know what you mean by distro.
Im using Debian 7, if that is what you mean. Im sort of slow with these kind of things.
[Image: walter-white-onewhoknocks.gif]
Reply
#7
If you're really in need of help go here:

https://wiki.debian.org/OpenVPN

Your best bet Smile

Best regards,
-Siberia
PacketPunks
Knowledge talks, wisdom listens.
PM me with any questions or comments
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)