Jump to content
Not connected, Your IP: 18.117.12.181
loskings

[SOLVED] Configuring OpenVPN client in a Tomato router to NOT tunnel certain ports thru VPN

Recommended Posts

Hi

 

As the topic say - does anyone know how to configure the openvpn client in a tomato (shibbys) firmware router not to tunnel traffic on a specific port.

 

Example: I want everything except Utorrent port 4548 and Usenet port 119 to be tunneled thru airvpn.

 

My LAN is based on a 192.168.1.x subnet (where my router router has 192.168.1.3

 

 

Regards

Daniel

Share this post


Link to post

Hello!

 

You might apply policy routing. It's not what you asked but it's very simple and it can achieve the same purpose if you have more than one computer connected to the router. You could reject the routes push from our servers (route-nopull directive) and then build your table according to the devices you want to be tunneled. So you could avoid tunneling for a computer dedicated to run a p2p client and a Usenet client (or whatever you do not wish to be tunneled).

 

In the following thread, check out the message starting with "I finally did it"

http://serverfault.com/questions/382498/howto-only-tunnel-specific-hosts-route-through-openvpn-client-on-tomato

 

If the above does not meet your needs, splitting traffic on an outbound ports basis will be necessary (see the subsequent message in the very same thread).

 

Kind regards

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...