N
N
nak-alexey2020-11-08 16:00:03
VPN
nak-alexey, 2020-11-08 16:00:03

How does AlG work?

There was a task to be connected to PPTP to the server being behind NAT. Until I turned on the application level gateway in my home router, the tunnel did not rise. I don't understand how this thing works?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
ValdikSS, 2020-11-08
@nak-alexey

PPTP uses not (only) TCP/UDP, but also the GRE protocol. NAT, in the general simple case, only works for TCP/UDP, parsing the IP address and port number, and establishing a mapping between them, which is not enough for PPTP. The ALG for PPTP is an additional code that monitors the transmission of data on the PPTP port, understands that the client has begun to establish a connection, and creates a NAT entry for the GRE protocol for this client.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question