Jump to content
  • 0

How to route traffic to specific websites (e.g. YouTube) through VPN only?


Question

Posted (edited)

So i have my own AmneziaVPN proxy server in netherlands and i successfully added my access policy using this tutorial. Its official amnezia tutorial. So it works really good, and my question is how can i make router use the following policy only when lan user accesses a website from like some kind of white list?image.thumb.png.cf99f1c570682bd20420210cc55582c9.png

Also i'd like to mention that i have synology NAS, so i'd like to route its traffic thru vpn when its downloading torrents, it has static ip setup.

Edited by Anonymos

2 answers to this question

Recommended Posts

  • 0
Posted
17 hours ago, Anonymos said:

So i have my own AmneziaVPN proxy server in netherlands and i successfully added my access policy using this tutorial. Its official amnezia tutorial. So it works really good, and my question is how can i make router use the following policy only when lan user accesses a website from like some kind of white list?

1) static route
2) since keenos 5.a 

Introduced a new routing option based on FQDN object-groups, enabling more precise and flexible control over traffic directed to specific domain names. [NDM-3946]

  • dns-proxy route object-group {group} [{interface} | {gateway} [interface]] [auto] [reject] — set routing destination {interface} or {gateway} for domain names listed in the object-group {group}.

3) entware + xxxxx

17 hours ago, Anonymos said:

Also i'd like to mention that i have synology NAS, so i'd like to route its traffic thru vpn when its downloading torrents, it has static ip setup

macvlan network for docker.... will have his own mac

  • 0
Posted
5 hours ago, Leshiyart said:

1) static route
2) since keenos 5.a 

Introduced a new routing option based on FQDN object-groups, enabling more precise and flexible control over traffic directed to specific domain names. [NDM-3946]

  • dns-proxy route object-group {group} [{interface} | {gateway} [interface]] [auto] [reject] — set routing destination {interface} or {gateway} for domain names listed in the object-group {group}.

3) entware + xxxxx

macvlan network for docker.... will have his own mac

Static route is not the way, as at least in my kn3711, it can only process ip addresses and not domains.
However, i will look into that new FQDN routing option, thansk. Also i noticed entware, but i just wasnt sure if this was the way. Anyway thank you for helping me.

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
Answer this question...

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...