1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

A Few VPN Questions

Discussion in 'Tomato Firmware' started by The Doctor, Apr 2, 2012.

  1. The Doctor

    The Doctor LI Guru Member

    I'm running an Asus RT-N16 router with Tomato v1.28.7493 MIPSR2-Toastman-RT K26 USB VPN-NOCAT. Router has been running a few months with no re-boots or trouble of any kind.

    I am interested in using a VPN for privacy, but only on some programs. I've tried a VPN from https://www.vpntunnel.se/en/ on a VM to see how it works. It does the job, but it's all or nothing on the machine it's installed on, you can't use it for individual apps.

    I have setting info to use this VPN through Tomato, but not sure how that can be made to work. There are some programs I want to always use my real IP, and some I would like to always use the VPN.

    Here are the questions:

    I assume that if I don't check "Redirect Internet traffic" on the OpenVPN Client Configuration-->Advanced page that my entire connection won't be forwarded, correct?

    Now, what I would like to do is send all outgoing traffic, regardless of protocol through the VPN if the destination port is in a specified range, for example 50100-50150. All traffic coming in through the VPN to that port range would got to a specific local IP, for example Anything else coming in through the VPN I would not be concerned about.

    If the VPN is down, the traffic I'm trying to send through it should not go through my public IP, it should just go to a black hole and never return.

    In case it matters, that VPN service gives a dynamic IP.

    Is it even possible to do what I want? Could you give me an example of how? Would the VPN automatically try to reconnect if it loses connection?


Share This Page