Raspi as VPN Gateway

sashpta

Commendable
Oct 25, 2016
43
0
1,540
hey,
i want to use my raspi as vpn gateway. I managed to setup the vpn on the raspi (and i also fixed the dns leaks) but when i connect with another device to it i am connected but i dont have internet
to connect to it i choose my router at wifi, put in the routers password, gave my device an ip, took the raspis ip as gateway and for dns i tried raspis ip, the dns servers my vpn provider(pia) recommends and i also tried googles but none worked :/

can u maybe help me to fix this pls ?
 
Solution
YOu should check with the guide you've followed when building your VPN gateway.
For best results - you want to have two NICs on the RPi, connected to separate networks (two switches).

Also, when talking about "Gateway" - this means that you want to connect to another network, and become part of it. What is your usage scenario?
YOu should check with the guide you've followed when building your VPN gateway.
For best results - you want to have two NICs on the RPi, connected to separate networks (two switches).

Also, when talking about "Gateway" - this means that you want to connect to another network, and become part of it. What is your usage scenario?
 
Solution


The plan was that I can connect to my raspi to have a vpn connection (while normally i need to download my vpn providers program)
People told me it's a gateway ^^
I followed the guide but unfortunately it didnt work :/

so I need to buy another NIC? or is the default of the raspi 3 enough (i've got wifi, ethernet and bluetooth, if u can do something with bluetooth at all, by default)