Problem:
I tried using my AC68u as vpn router, but network slows down too much if vpn runs directly on AC68u. I began thinking of an alternative solution and then I thought maybe a raspberry pi would be great for handling the encryption. Raspberry pi 4 has a quad-core processor and 4gb of ram. No router can match those specs except maybe the Vilfo (a $500 solution, unfortunately). Raspberry pi 4 would be a $65 solution.
In high-level overview..
I want the only job for the rPi to be the vpn encryption tunnel to either encrypt or not encrypt data depending on the device -- I don't need everything to run through the VPN tunnel so I would set vpn-bypass for certain devices like the Google Nest. My router can perhaps be the bridge between the raspberry pi and my cable modem.
I am thinking of two possibilities of setup (picture a network):
Scenario 1:
-internet
-cable modem
-router ----- raspberry pi (so raspberry pi running off the router's lan port with the only job being vpn encryption)
-my pc
Scenario 2:
-internet
-cable modem
-raspberry pi (so rPi as a bridge/gateway/whatever the term would be)
-router
-my pc
Regardless of the scenario, I want all wired/wireless devices to connect to the router, not the rPi.
I essentially want two networks. As depicted in scenario #1.. Network #1 I want the packets to run to the router, through the rPi, encrypt then run to the cable modem to the internet. Network #2 bypasses the VPN and packets runs straight through the router to the cable-modem to the internet (this network would probably use guest network).
Or must the rPi be physically located between the router and modem as depicted in scenario 2? In that case, the router would have to be setup as the access point for the devices. In this situation though, the rPi would be along main path. Is that a good safe idea? I fear it would slow down too much if the entire network runs through rPi. I don't think rPi is a great replacement for router.
Scenario #1 is what I was hopeful of doing. Or is this not realistic or too much trouble?
I tried using my AC68u as vpn router, but network slows down too much if vpn runs directly on AC68u. I began thinking of an alternative solution and then I thought maybe a raspberry pi would be great for handling the encryption. Raspberry pi 4 has a quad-core processor and 4gb of ram. No router can match those specs except maybe the Vilfo (a $500 solution, unfortunately). Raspberry pi 4 would be a $65 solution.
In high-level overview..
I want the only job for the rPi to be the vpn encryption tunnel to either encrypt or not encrypt data depending on the device -- I don't need everything to run through the VPN tunnel so I would set vpn-bypass for certain devices like the Google Nest. My router can perhaps be the bridge between the raspberry pi and my cable modem.
I am thinking of two possibilities of setup (picture a network):
Scenario 1:
-internet
-cable modem
-router ----- raspberry pi (so raspberry pi running off the router's lan port with the only job being vpn encryption)
-my pc
Scenario 2:
-internet
-cable modem
-raspberry pi (so rPi as a bridge/gateway/whatever the term would be)
-router
-my pc
Regardless of the scenario, I want all wired/wireless devices to connect to the router, not the rPi.
I essentially want two networks. As depicted in scenario #1.. Network #1 I want the packets to run to the router, through the rPi, encrypt then run to the cable modem to the internet. Network #2 bypasses the VPN and packets runs straight through the router to the cable-modem to the internet (this network would probably use guest network).
Or must the rPi be physically located between the router and modem as depicted in scenario 2? In that case, the router would have to be setup as the access point for the devices. In this situation though, the rPi would be along main path. Is that a good safe idea? I fear it would slow down too much if the entire network runs through rPi. I don't think rPi is a great replacement for router.
Scenario #1 is what I was hopeful of doing. Or is this not realistic or too much trouble?
Last edited: