Jump to content
Not connected, Your IP: 3.22.68.228
zjqj

Tomato OpenVPN - Can I bypass VPN tunnel?

Recommended Posts

After using AirVPN client on a few of my home machines for a couple of years now, I've finally flashed my router with Toastmans Tomato and it's working ok (only just set it up, getting 36% download loss so need to work on that).

 

I'm no network expert so have been struggling to figure out if/how I can set certain machines' wireless or physical connection so they can either bypass or use the VPN tunnel on demand.

 

I'm wondering if I can create one vlan for the VPN and another one that doesn't. I'm not sure this is the best approach or even valid.

Or use two routers, one with Tomato VPN set up and another standard one then connect to either router depending if I want to use VPN or not, but I'm thinking that connecting two routers to a VDSL modem isn't possible. (I do actually have a second wireless router set up in a different part of the house with DCHP disabled so it acts as a switch, maybe I could do something with that?)

 

I'm a bit confused as you can probably tell

 

Can anyone help me out?

 

 

Share this post


Link to post

If I set up the Tomato VPN tunnel on my Asus N16 and disable DCHP so the device behaves as a switch, then connect it to my main router (A Netgear), will devices connected to the N16 switch use the VPN tunnel?

Share this post


Link to post

I got this working.

 

I now have 2 routers and a switch that can be connect to via wireless or cable, where the switch and router A connect to the internet using my ISP (BT Infinity), and router B connects through an AirVPN server.

  • Router A (a BT home hub 5 using stock firmware and default connection settings) is the gateway
  • Router B (an ASUS RT-N16 using Toastman's Tomato VPN v1.28 - VPN settings configured using the How-To found here) is connected via cable from the WAN port on router B to one of the LAN ports on router A
  • Switch (a Netgear WGR614v9 using stock firmware default settings except DHCP disabled to make it behave as a switch) is connected via cable from one of the LAN ports on the switch to one of the LAN ports on router A

On router B in Basic > Network LAN bridge 0 the subnet was left at default (192.168.1.x). IP address 192.168.1.1 ,DHCP range 192.168.1.2-254 - and WAN/Internet type set to DHCP

 

On router A the subnet/IP/DHCP was changed to 192.168.10.x in the advanced settings

 

That's all I had to do and it's working well - although my speeds through VPN are poor (30%), but that's unrelated to this configuration because I was getting the same speed loss when I was using router B as the gateway, I guess I need to try a few different AirVPN servers/configs.

 

Anyway, hope this works for anyone who wants to achieve the same - apologies if the terminology is wrong, or if I've explained it incorrectly/missed things out.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...