0

i want to know how a LINUX VPN server delivers a reply packet to a VPN client when the packet's private source IP address (assigned by the VPN server) is replaced with a public address(i access the internet via the VPN tunnel).When the reply packet arrives at the VPN server, the packet's destination address will be the VPN server's public address.So how can the VPN server knows the packet is destined for VPN client and routes it properly. Thanks in advance!

2
  • Because the NAT device at the destination network keeps a NAT table, and when it translates it back, the VPN server responds on the ARP for the IP address and then the VPN server then tunnels it back to the VPN client. The same as any device on your network contacts the VPN client really. May 27, 2015 at 1:32
  • thanks! i've got further understanding by reading this article. firewall.cx/networking-topics/network-address-translation-nat/…
    – JIA
    May 27, 2015 at 2:18

0

You must log in to answer this question.

Browse other questions tagged .