tailscale
This commit is contained in:
parent
126ad4e01b
commit
f725e9cfb5
1 changed files with 7 additions and 2 deletions
|
|
@ -91,11 +91,16 @@ nvim /etc/pf.conf
|
||||||
Contents:
|
Contents:
|
||||||
|
|
||||||
```
|
```
|
||||||
ext_if="em0"
|
|
||||||
block in all
|
block in all
|
||||||
pass in on $ext_if proto tcp to ($ext_if) port ssh
|
|
||||||
|
ext_if="em0"
|
||||||
|
pass in on $ext_if proto tcp to ($ext_if) port 22
|
||||||
pass in on $ext_if proto tcp to ($ext_if) port 80
|
pass in on $ext_if proto tcp to ($ext_if) port 80
|
||||||
pass in on $ext_if proto tcp to ($ext_if) port 443
|
pass in on $ext_if proto tcp to ($ext_if) port 443
|
||||||
|
|
||||||
|
tailscale_if="tailscale0"
|
||||||
|
pass in on $tailscale_if proto tcp to any port 22
|
||||||
|
|
||||||
pass out all keep state
|
pass out all keep state
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue