Specifying the default gateway

Post Reply
calgarychris
Posts: 2
Joined: Mon Aug 31, 2015 8:27 am

Specifying the default gateway

Post by calgarychris »

Hi,

I currently have the 7800DX and while it has VPN support, doesn't appear to have OpenVPN. I have a number of devices behind my router, as most do, and would like them all to go out via the connection to my VPN (i.e. I am not looking to use the router as a VPN server, but rather as the client end). The VPN provider only provides PPTP and OpenVPN and I don't want to use PPTP.

I have purposed a Raspberry pi 2 for the task of being the gateway and when I change the settings on my computer, specifying the pi as the gateway, it works and its public ip is that of my VPN provider. What I would like however, is for all traffic, including wlan to use the pi without me having to manually set them up and this is where I hope I can do this somewhere in the 7800. I have read the sections on static routing and policy routing, but these seem to require specifying every device (and I'm not even sure this is the right section). Can anyone shed some light? Alternatively, is this a bad idea for whatever reason (and if so, why?) I am admittedly a noob, but enjoy tinkering so long as I'm not seriously compromising security or performance.

Note that my ISP only provides 14Mbps, so I'm not too worried about the performance hit if my internet is a little slower.

Thanks very much
billion_fan
Posts: 5398
Joined: Tue Jul 19, 2011 4:30 pm

Re: Specifying the default gateway

Post by billion_fan »

calgarychris wrote:Hi,

I currently have the 7800DX and while it has VPN support, doesn't appear to have OpenVPN. I have a number of devices behind my router, as most do, and would like them all to go out via the connection to my VPN (i.e. I am not looking to use the router as a VPN server, but rather as the client end). The VPN provider only provides PPTP and OpenVPN and I don't want to use PPTP.

I have purposed a Raspberry pi 2 for the task of being the gateway and when I change the settings on my computer, specifying the pi as the gateway, it works and its public ip is that of my VPN provider. What I would like however, is for all traffic, including wlan to use the pi without me having to manually set them up and this is where I hope I can do this somewhere in the 7800. I have read the sections on static routing and policy routing, but these seem to require specifying every device (and I'm not even sure this is the right section). Can anyone shed some light? Alternatively, is this a bad idea for whatever reason (and if so, why?) I am admittedly a noob, but enjoy tinkering so long as I'm not seriously compromising security or performance.

Note that my ISP only provides 14Mbps, so I'm not too worried about the performance hit if my internet is a little slower.

Thanks very much
Has you raspberry PI device have a DHCP server function, if it does enable it, and disable the DHCP on the 7800, that should do the trick
calgarychris
Posts: 2
Joined: Mon Aug 31, 2015 8:27 am

Re: Specifying the default gateway

Post by calgarychris »

The Pi is just a linux box, so I think I'd end of opening a can of worms (I'm a noob) - I think I'd then have to worry about firewalls etc. etc. and I don't want to compromise security.

I think DD-WRT routers can do this, so maybe I'll poke around there. Was just hoping to save the cash.
Post Reply