OpenWRT - VPN Policy Routing in Detail & Case Study

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024

Комментарии • 41

  • @wulfy23
    @wulfy23 2 года назад +1

    Van Tech Corner is the man... not too fast... no too slow... just right! Cheers wulfy23

    • @VanTechCorner
      @VanTechCorner  2 года назад

      Thanks wulfy23, I see you work on github. Nice work, keep it up!

  • @trihar1000
    @trihar1000 2 года назад +2

    Finnally someone explain how to configure this.
    Interesting...
    🤔🤔🤔 with this features
    Can I make custom rules for exclusive gaming rules and another rules with separated. Gaming rules will be come first priority traffic and following by another rules. So we can fix high latency issue when another client doing download/streaming. Is that possible?
    Or we can combine with load balancing, so gaming host will route to ISP1 "wan" and other host to ISP2 "wanB"?
    Anyway thanks you so much, this verry usefull

  • @tharumaravi
    @tharumaravi 2 года назад +1

    Thank you very much, how can I set up multiple VPN client connections and then assign each VPN to a device on LAN?

  • @plica06
    @plica06 2 года назад +2

    Another really useful video. Thank you !

  • @douniwan7233
    @douniwan7233 2 года назад

    Been waiting for this! Will try immediately. Thanks.

  • @cblack2863
    @cblack2863 2 года назад

    OMG! Thank You!! I really needed to learn about this topic. Love your content !!

  • @chuenamsakun7247
    @chuenamsakun7247 2 года назад +1

    Thanks for the video, how to set IPv6 ?

  • @douniwan7233
    @douniwan7233 2 года назад

    There is a question I would like to ask is how to generate GFW rule that can alow blocked site through VPN?Any help would be appreciated!

  • @_ntson
    @_ntson 2 года назад

    Em làm theo hướng dẫn, nhưng thành ra em block hết toàn bộ truy cập vào IP VN, còn IP khác vào bình thường bằng vpn. Em check lại là làm theo hướng dẫn mà vẫn như vậy

  • @simonghoul3602
    @simonghoul3602 2 года назад

    amazing work, it's perfectly clear how you are supposed to do this now
    I want to know though, can this be used on domains? instead of ips
    What I want to do is set my vpn to handle udp traffic. But then I also want to make googlevideo go through a proxy to the clearnet. Problem is, I don't want RUclips or Google to go through the proxy
    I'll keep looking around

  • @huugiangnguyen8366
    @huugiangnguyen8366 10 месяцев назад

    A ơi e muốn cấu hình pppoe tới 1 lan nào đấy có cách ko a?

  • @jerrytancinco
    @jerrytancinco Год назад

    @vantech how about configuring per LAN port?

  • @wavepirates
    @wavepirates Год назад

    Still good for WRT 22.03?

  • @sandroshu
    @sandroshu 2 года назад

    I am experimenting with this using IPv6, but I can not get it to work even with basic policies. With v4 it works correctly. Do you have experience with this?

  • @agustinnacua2818
    @agustinnacua2818 Год назад

    hi , can you make tutorial for softethervpn client on openwrt. thank you.

  • @karpwgalarecie2406
    @karpwgalarecie2406 2 года назад +1

    Can you make video about setup vlans on new open wrt 21?

    • @VanTechCorner
      @VanTechCorner  2 года назад

      Hi, do you mean VLAN for WAN? I have a video regarding this, you can check it out here ruclips.net/video/EwYTV0z6lJk/видео.html

  • @ryanho786
    @ryanho786 2 года назад

    Hi , this is a great video that I 've been looking for. One question, in the Custom User File , can TARGET_FNAME="link_to_IP_list" be assigned with a URL ? let 's say a txt in github?

    • @VanTechCorner
      @VanTechCorner  2 года назад +1

      Hi and sorry for the late response. I have yet to try this and Iassume that it will not working as the file is expected to be available locally.

  • @margauxbelly5543
    @margauxbelly5543 Год назад

    Hi can you give me a script i hope you give me (Only Facebook traffic through VPN, the rest through WAN) can i change to other website?

  • @usto4361
    @usto4361 2 года назад

    Sir, can i have 2 or more vpn connection simultaneously in same router? For example
    My xbox use vpn 1, my pc use vpn2, and other devices use internet w/o vpn. Is it possible? Thank you

  • @wznzgq1354
    @wznzgq1354 2 года назад

    great tutorial, what about ipv6 lists?

    • @VanTechCorner
      @VanTechCorner  2 года назад +1

      Same, you can find it on the National Internet Center of your country or the IPS/Service Provider's homepage.

  • @diyer1190
    @diyer1190 2 года назад

    How can use in OpenVPN ,thanks

  • @ihwanell5704
    @ihwanell5704 2 года назад

    can you upload video policy based routing, please?

    • @VanTechCorner
      @VanTechCorner  2 года назад

      Hi, this is VPN Policy Routing. I am not really sure what is your question?

  • @michaeldina1103
    @michaeldina1103 2 года назад

    YES!!!!!

    • @VanTechCorner
      @VanTechCorner  2 года назад

      I hope this video will be useful for you. I see your comments on VPN related stuff :D

    • @michaeldina1103
      @michaeldina1103 2 года назад

      @@VanTechCorner I enjoy networking topic. Policy routing by autonomous network criteria? First time I have ever seen that.

    • @michaeldina1103
      @michaeldina1103 2 года назад

      @@VanTechCorner I had no idea you can route by autonomous system. I’m learning about networking and OpenWRT is a helpful learning tool. I still have a lot to learn.

  • @kingofsoq
    @kingofsoq 2 года назад

    I see David here. 🤣

  • @wznzgq1354
    @wznzgq1354 2 года назад

    very helpful, i do everything you do, but i get "Error running custom user file '/etc/vpn-policy-routing.aws.user'!"

    • @VanTechCorner
      @VanTechCorner  2 года назад +1

      It is something wrong with the custom config file. Did you try with a different config file?

    • @user-ew5wo5wl1w
      @user-ew5wo5wl1w 2 года назад +1

      Hi Bro, i have the same problem. Solution for me, enabled two options in LuCI "The ipset option for remote policies>use ipset" and "The ipset option for local policies>use ipset". Without this, I had an error in the logs: "ipset v7.3: error in line 1: the set with the given name does not exist". Good luck.

  • @odhiambo0
    @odhiambo0 Год назад

    Thank you for this tutorial.
    I am getting this error on the UI: Error running custom user file '/etc/vpn-policy-routing.ke.user'!
    My /etc/vpn-policy-routing.ke.user is mode 755 (executable).
    My TARGET_FNAME="/etc/KE-IPs.lst" and the file /etc/KE-IPs.lst contains IP subnets in CIDR format, one per line.
    Is there a way to diagnose the cause of the error?
    I have tried to manually run the file /etc/vpn-policy-routing.ke.user and I get the following:
    root@OpenWrt:/etc# export TARGET_IPSET='wan'
    root@OpenWrt:/etc# export TARGET_FNAME="/etc/KE-IPs.lst"
    root@OpenWrt:/etc# awk -v ipset="$TARGET_IPSET" '{print "add " ipset " " $1}' "$TARGET_FNAME" | ipset restore -! && _ret=0
    ipset v7.15: Missing second mandatory argument to command add
    Try `ipset help' for more information.
    root@OpenWrt:/etc#
    What am I missing from the command line?

    • @VanTechCorner
      @VanTechCorner  Год назад +1

      Hi, there is a new version of the VPN Policy Routing package, called Policy-Based-Routing (pbr) from the same author. I am not really good at the diagnose, maybe you can post the question here forum.openwrt.org/t/policy-based-routing-pbr-package-discussion/140639

    • @odhiambo0
      @odhiambo0 Год назад

      @@VanTechCorner thank you very much. I found that new version 3 days ago and I have been using it successfully.