How to access the internet by using VPN Server as a proxy gateway

TL-R600VPN( V4 ) , TL-ER6120( V2 V3 ) , TL-ER6020( V2 )
Recent updates may have expanded access to feature(s) discussed in this FAQ. Visit your product's support page, select the correct hardware version for your device, and check either the Datasheet or the firmware section for the latest improvements added to your product. Please note that product availability varies by region, and certain models may not be available in your region.
There is a common requirement for a VPN connection, accessing the internet by using the VPN Server as a gateway. That’s to say all the traffic from VPN client will go through the VPN Server. It always be used to break some restriction of the local network or some other goals. To achieve that by a TP-Link SMB VPN Router, you may need to follow the guide.
Requirement:
For example, a remote client connect to the VPN Server by PPTP/L2TP Client to LAN VPN. Besides accessing the LAN of the VPN Server, he also want all his traffic can be sent to the VPN Server, and get to internet by using it as a gateway.
Note: Only the PPTP/L2TP Client to LAN VPN can achieve that.
Different VPN IP Pool setting has different ways to achieve our goal.
Case1. The same as VPN Server’s LAN subnet.
Step 1:
Set the VPN IP Pool. For example, the VPN Server’s LAN IP subnet 192.168.0.0/24 while the VPN address pool be set as 192.168.0.50-192.168.0.100.
Step 2:
Configure the VPN connection on the client. Once we finished the dial-up setting, a VPN Virtual adapter will be created automatically. Then we need to follow the VPN Connection---Properties---Networking---Internet Protocol Version 4(TCP/IPv4) ---Advanced.
Check the option Use default gateway on remote network. Which means all the traffic will use the remote gateway to get to the internet by changing the routing item of default gateway.
Case2. Different from the VPN Server’s LAN subnet.
Step 1:
Set the VPN IP Pool. For example, the VPN Server’s LAN IP subnet 192.168.0.0/24 while the VPN address pool be set as 10.10.10.100-10.10.10.200.
Step 2:
Keep the same as the setting on Case1.
Check the option Use default gateway on remote network.
Step 3:
Because the VPN Client IP Subnet is not the same as VPN Server’s LAN. So when the data transfer to the VPN Server, it will not be transmitted to WAN side. There is no such a routing on the routing table to deal with the traffic from unknown subnet. So we need to add a Multi-Nets NAT to achieve that.
Follow the Transmission---NAT---Multi-Nets NAT. Add an item of 10.10.10.0/24.
After that, the data from VPN clients can be transmitted to the internet normally.
Note: Some old version firmware (before 141031) has an option called Enable VPN to Internet on the configuration page of VPN. It has the same effect with the Multi-Nets NAT setting.
このFAQは役に立ちましたか?
サイトの利便性向上にご協力ください。
どのような点がご満足いただけませんでしたか?
- 製品自体が不満
- 複雑すぎる
- タイトルが分かりづらい
- 探している内容がなかった
- 曖昧すぎる
- その他
お役に立てて何よりです。
ご意見をお寄せいただきありがとうございます。
TP-Linkカスタマーサポートにはこちらからお問い合わせいただけます。
Basic Cookies
These cookies are necessary for the website to function and cannot be deactivated in your systems.
TP-Link
SESSION, JSESSIONID, accepted_local_switcher, tp_privacy_base, tp_privacy_marketing, tp_smb-select-product_scence, tp_smb-select-product_scenceSimple, tp_smb-select-product_userChoice, tp_smb-select-product_userChoiceSimple, tp_smb-select-product_userInfo, tp_smb-select-product_userInfoSimple, tp_top-banner, tp_popup-bottom, tp_popup-center, tp_popup-right-middle, tp_popup-right-bottom, tp_productCategoryType
YouTube
id, VISITOR_INFO1_LIVE, LOGIN_INFO, SIDCC, SAPISID, APISID, SSID, SID, YSC, __Secure-1PSID, __Secure-1PAPISID, __Secure-1PSIDCC, __Secure-3PSID, __Secure-3PAPISID, __Secure-3PSIDCC, 1P_JAR, AEC, NID, OTZ
Zendesk
OptanonConsent, __cf_bm, __cfruid, _cfuvid, _help_center_session, _pendo___sg__.<container-id>, _pendo_meta.<container-id>, _pendo_visitorId.<container-id>, _zendesk_authenticated, _zendesk_cookie, _zendesk_session, _zendesk_shared_session, ajs_anonymous_id, cf_clearance
Analysis and Marketing Cookies
Analysis cookies enable us to analyze your activities on our website in order to improve and adapt the functionality of our website.
The marketing cookies can be set through our website by our advertising partners in order to create a profile of your interests and to show you relevant advertisements on other websites.
Google Analytics & Google Tag Manager
_gid, _ga_<container-id>, _ga, _gat_gtag_<container-id>
Google Ads & DoubleClick
test_cookie, _gcl_au