OpenWRT - VPN Policy Routing in Detail & Case Study

Поділитися
Вставка

КОМЕНТАРІ • 41

  • @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?

  • @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!

  • @huugiangnguyen8366
    @huugiangnguyen8366 Рік тому

    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?

  • @_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

  • @sandroshu
    @sandroshu 3 роки тому

    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?

  • @wavepirates
    @wavepirates Рік тому

    Still good for WRT 22.03?

  • @wulfy23
    @wulfy23 3 роки тому +1

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

    • @VanTechCorner
      @VanTechCorner  3 роки тому

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

  • @plica06
    @plica06 3 роки тому +2

    Another really useful video. Thank you !

  • @douniwan7233
    @douniwan7233 2 роки тому

    Been waiting for this! Will try immediately. Thanks.

  • @chuenamsakun7247
    @chuenamsakun7247 3 роки тому +1

    Thanks for the video, how to set IPv6 ?

  • @cblack2863
    @cblack2863 3 роки тому

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

  • @margauxbelly5543
    @margauxbelly5543 2 роки тому

    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?

  • @diyer1190
    @diyer1190 2 роки тому

    How can use in OpenVPN ,thanks

  • @trihar1000
    @trihar1000 3 роки тому +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

  • @karpwgalarecie2406
    @karpwgalarecie2406 3 роки тому +1

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

    • @VanTechCorner
      @VanTechCorner  3 роки тому

      Hi, do you mean VLAN for WAN? I have a video regarding this, you can check it out here ua-cam.com/video/EwYTV0z6lJk/v-deo.html

  • @agustinnacua2818
    @agustinnacua2818 Рік тому

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

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

  • @usto4361
    @usto4361 3 роки тому

    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.

  • @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?

    • @AlexanderSokolov-j5y
      @AlexanderSokolov-j5y 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.

  • @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?

  • @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 UA-cam or Google to go through the proxy
    I'll keep looking around

  • @kingofsoq
    @kingofsoq 3 роки тому

    I see David here. 🤣

  • @michaeldina1103
    @michaeldina1103 3 роки тому

    YES!!!!!

    • @VanTechCorner
      @VanTechCorner  3 роки тому

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

    • @michaeldina1103
      @michaeldina1103 3 роки тому

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

    • @michaeldina1103
      @michaeldina1103 3 роки тому

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

  • @odhiambo0
    @odhiambo0 2 роки тому

    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  2 роки тому +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 2 роки тому

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