M
M
MakNait2019-06-12 22:26:07
openvpn
MakNait, 2019-06-12 22:26:07

PFsense How to redirect the traffic of a specific application/site to the VPN tunnel?

There is pfsense with a raised channel to a private VPN server.
To bypass blocking, I usually used site aliases, i.e. by default, all traffic went through the provider and the sites from the list went through the VPN tunnel.
5d0150ce60997895767799.jpeg
Until recent events in our country, this worked fine.
How to make a cart or the same YouTube work through a VPN channel? I tried adding site names to the on_vpn alias: youtube.com telegram.org etc. now it doesn't work. Judging by the monitoring, some applications and sites access new IP addresses every time. As far as I understand, it is necessary to add certain subnets, but where exactly and where to get the IP range from?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MakNait, 2019-06-12
@MakNait

Decided so.
Created alias with networks type
add address=149.154.160.0/22 list=telegram
add address=149.154.164.0 /22 list=telegram
add address=149.154.168.0 /22 list=telegram
add address=149.154.172.0 /22 list=telegram
add address=91.108.4.0/22 list=telegram
add address=91.108.56.0/22 list=telegram


In the rules, I redirected everything from the created alias to the vpn tunnel. It seems to work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question