E
E
Evdokim2020-02-20 22:35:57
linux
Evdokim, 2020-02-20 22:35:57

How to let pptp traffic through openvpn?

There was a need to first connect to the openvpn server from https://www.vpngate.net, and then connect via PPTP to the server in the office with the received IP's.

If I have Debian, what is the correct way to wrap PPTP traffic through OpenVPN? Do I need to write iptables?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
T
Talyan, 2020-02-20
@flapflapjack

Do I need to write iptables?

And what, do you have prohibiting rules in iptables?
What's the problem then?

W
Wexter, 2020-02-20
@Wexter

Do I need to write iptables?

No need, write a route to the IP address of the office server through the gateway in the VPN tunnel

A
Alexey Dmitriev, 2020-02-21
@SignFinder

1. Switch the use of openvpn from the tun interface to tap.
2. Check the passage of the GRE protocol inside OpenVPN

K
Karpion, 2020-02-21
@Karpion

After creating an OpenVPN session, you will have a new interface and a pair of IP addresses - your own and that server. Next, you need route add ...the IP addresses of the PPTP server on this new interface or one of these IP addresses.
And you also need to make sure that the PPTP server has the correct addressing - your IP address (the one that is called "own" above) must be routed to the OpenVPN server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question