stating NAT and VPN on server with 3 NICs

mohamad ameri 0 Reputation points

i have a server with 3 NICs. 1st NIC is for inside office network and its ip is 2nd NIC is for my unlimited internet and its ip is 3rd NIC is for internet connection with valid public ip and its ip is (i have DHCP and DNS on my server too). i start NAT for 2nd NIC in routing and remote access and now my clients inside office can access internet. now i wanna start vpn so clients outside office can access my server and its resources. i setup everything and vpn conncetion works fine from outside of office. but the problem is as long as i start vpn service on my server the clients inside office can reach internet through 3rd NIC which is not unlimited. and when i disconnect the 3rd NIC cable then internet swith bach to 2nd NIC. (i start NAT for both 2nd and 3ed NICs, and do port forwarding on 3rd NICs NAT and also turn on DMZ on modem with valid public ip) can someone help me how to setup internet so ouside clients ca connect to server through 3rd NIC and inside office clients connect to internet through 2nd NIC?

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,514 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,310 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,011 Reputation points

    Hello there,

    This issue may occur if you configure the VPN connection to use the default gateway on the remote network. This setting overrides the default gateway settings that you specify in the Transmission Control Protocol/Internet Protocol (TCP/IP) settings.

    To resolve this issue, configure the client computers to use the default gateway setting on the local network for Internet traffic and a static route on the remote network for VPN-based traffic.

    This article describes how to set up routing and remote access for an Intranet.

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments