L
L
Lexaz2017-08-25 09:51:17
VPN
Lexaz, 2017-08-25 09:51:17

How to set up routes?

Need help setting up routes. In general, there is a VPS with SOFTETHR. The VPS has an IP address of 100.100.100.100. There is a router that connects via L2TP to the VPS.
VPN addresses 10.10.0.0/24. Behind the router, the network is 192.168.0.0/24. When accessing the VPS at 100.100.100.100
, one or another port in the 192.168.0.0/24 network was opened according to NAT rules, as it happens when you access the router's WAN. Moreover, the traffic itself from the network 192.168.0.0/24 needs to be driven not through the VPN but through the WAN, that is, the Internet is available through the WAN and it must accept connections from the VPN

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
poisons, 2017-08-25
@poisons

And how do you imagine this?
Do you have a client, let the browser break on tcp / 80 100.100.100.100, and the answer arrives from the address that is attached to the WAN of the router?
It will not work, but it is possible to configure such behavior, yes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question