S
S
Sergey2015-05-08 20:58:36
Debian
Sergey, 2015-05-08 20:58:36

How to connect a Debian gateway to a vpn server?

There is a gateway on debian and there is a remote vpn server, how to connect them together so that clients would receive the Internet through the gateway and sit through the vpn that is connected to the gateway?
at the same time it is necessary that on the vpn server there was an access to an internal network?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
n1mda, 2015-05-08
@n1mda

few inputs.
What vpn server? OpenVPN or something else?
I correctly understood that you have a grid in front of the gateway and you want clients from the Internet to connect to some kind of vpn server on the Internet and have access to you on the local network?
So isn't it easier to raise a vpn server on a gateway?

S
Sergey, 2015-05-09
@Weidmann

man route
man iptables
Add to sysctl.conf:
net.ipv4.ip_forward = 1
sysctl -p

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question