Route internet traffic through head office Firewall for IPSEC LAN to LAN VPN tunnel

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Route internet traffic through head office Firewall for IPSEC LAN to LAN VPN tunnel

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Route internet traffic through head office Firewall for IPSEC LAN to LAN VPN tunnel
Route internet traffic through head office Firewall for IPSEC LAN to LAN VPN tunnel
2022-09-26 10:57:13
Tags: #VPN
Model: ER605 (TL-R605)  
Hardware Version: V2
Firmware Version: 2.0.0 Build 20220106 Rel.56391

I configured LAN-to-LAN IPsec VPN onER605 Router (main office LAN and branch office LAN).

 

I need all internet traffic from the branch office to be routed to the main office to pass through the main office firewall.

 

At this moment, the Internet traffic from the branch office goes out to the Internet directly through the Router from the branch office.

 

Can this be configured on TP-Link equipment?

  0      
  0      
#1
Options
5 Reply
Re:Route internet traffic through head office Firewall for IPSEC LAN to LAN VPN tunnel
2022-09-27 08:00:50 - last edited 2022-09-27 08:02:03

  @itas 

 

Yes you can do that, but you will need to use L2TP VPN.

Main office router set up as VPN server; then on the branch office side configure router as VPN client.

 

On branch office site router, configure Policy Routing. Source IP: All LAN; Destination IP: Any; WAN choose the VPN tunnel name.

 

  0  
  0  
#2
Options
Re:Route internet traffic through head office Firewall for IPSEC LAN to LAN VPN tunnel
2022-09-27 09:12:13

  @itas 

ipsec is a perfect vpn type for site to site but it is not for routing traffic like what you described. if you simply want to do site to site vpn, use the ipsec, it won't let you down. 

try out what Somnus said. 

ScReW yOu gUyS. I aM GOinG hoMe. —————————————————————— For heaven's sake, can you write and describe your issue based on plain fact, common logic and a methodologic approach? Appreciate it.
  0  
  0  
#3
Options
Re:Route internet traffic through head office Firewall for IPSEC LAN to LAN VPN tunnel
2022-09-27 10:41:21

  @Somnus L2TP Client-to-LAN require Working Mode NAT for client, so the router will act as a proxy and the firewall does not see every computer that accesses the Internet from branch office.
To be a effective firewall, the IP address of each computer at the branch office should be visible on the firewall at the headquarters - the router should be in ROUTER mode, not NAT mode.

Does L2TP allow the client to be in ROUTER mode?

 

  0  
  0  
#4
Options
Re:Route internet traffic through head office Firewall for IPSEC LAN to LAN VPN tunnel
2022-09-28 04:30:36

  @itas 

 

No, I don't think so. Your requirement can't be done via one VPN tunnel.

 

If you have two WAN modems on both side, you can try to build two VPN connections. One is IPSec for site-to-site; another one is L2TP/PPTP for porxy Intenret only

  0  
  0  
#5
Options
Re:Route internet traffic through head office Firewall for IPSEC LAN to LAN VPN tunnel
2022-10-13 15:44:10

  @Somnus I made the following progress: at the main office I installed a pfsense that has a lot of firewall options and at the branch office I used TP-LINK ER605 routers.

I made the connection on L2TP over IPSEC. Everything goes well if the L2TP client on the ER605 is in NAT mode (computers in the branch office can access the LAN from the main office.).

If the L2TP client on the ER605 is in Routing mode, the packets from the branch office do not reach the LAN from the main office.

The L2TP client on the ER605 in NAT mode does not allow me to see on the Firewall every computer from the branch office, only the traffic on the VPN connection to the branch office.

Some ideas - why doesn't the L2TP client on the ER605 don't work in Routing mode?

  0  
  0  
#6
Options

Information

Helpful: 0

Views: 706

Replies: 5

Tags

Related Articles