mirror of
https://github.com/cwinfo/yggdrasil-network.github.io.git
synced 2025-02-28 16:21:33 +00:00
Add ufw
FW command (#271)
* Add `ufw` FW command * Explain `ufw` default * ...
This commit is contained in:
parent
4f2c7bc89d
commit
2cffb100ce
13
faq.md
13
faq.md
@ -30,16 +30,27 @@ No, it is not a goal of the Yggdrasil project to provide anonymity. Direct peers
|
||||
|
||||
Typically yes, you will be routable from other nodes on the network. If you want to restrict incoming connections to your machine, you should use an IPv6 firewall. The steps for this will vary from platform to platform.
|
||||
|
||||
#### Linux (with `ip6tables`)
|
||||
#### Linux
|
||||
|
||||
Assuming your TUN/TAP adapter is named `tun0`:
|
||||
|
||||
##### with `ip6tables`
|
||||
|
||||
```
|
||||
ip6tables -A INPUT -i tun0 -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
|
||||
ip6tables -A INPUT -i tun0 -m conntrack --ctstate INVALID -j DROP
|
||||
ip6tables -A INPUT -i tun0 -j DROP
|
||||
```
|
||||
|
||||
##### with `ufw`
|
||||
|
||||
```
|
||||
# The default of ufw is to block all incoming connections
|
||||
# The following blocks incoming connections if the default has been set to allow by:
|
||||
# ufw default allow
|
||||
ufw deny in on tun0 proto ipv6
|
||||
```
|
||||
|
||||
#### Windows (with Windows Firewall)
|
||||
|
||||
Windows, by default, should classify the TAP adapter as a "Public Network". Configure Windows Firewall to prevent incoming connections on Public networks.
|
||||
|
Loading…
x
Reference in New Issue
Block a user