Coder Social home page Coder Social logo

Comments (1)

ogarcia avatar ogarcia commented on June 11, 2024

First question, can I run the allowDefault=1 setting on the OpenWrt (PC based).

Yes, the same as with any other machine.

Second, can I still route all my home traffic through the OpenWrt/zerotier PC to exit out my cloud node?

Yes, by telling the router that your outgoing route to the internet is the ZT interface, the rest of the traffic leaving your router will also go that way.

In short, the scheme would be as follows:

LAN -> ROUTER -> (ZT TUNNEL) -> OUTPUT -> INTERNET

Your local network would be routed through the router and the router would be routed through the ZT tunnel to the exit node.

For this to work you should enable in the Zerotier configuration a config_path, something similar to this:

config zerotier 'myzerotier'
	option enabled '1'
	option config_path '/etc/zerotier'
	option copy_config_path '1'
	list join 'networkid'
        option secret 'networksecret'

So that once you start Zerotier you can run the command zerotier-cli set <network_id> allowDefault=1 and it will be persistent.

You can also create a /etc/zerotier/networks.d/<network-id>.local.conf file to enter the allowDefault setting so that you do not need to run the zerotier-cli set <network_id> allowDefault=1 command. See here for more information.

from zerotier-openwrt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.