Allow ingress
to serve as tailscale exit node
This commit is contained in:
parent
b83e239123
commit
8424b3211b
1 changed files with 5 additions and 4 deletions
|
@ -30,7 +30,7 @@ table inet filter {
|
|||
|
||||
# NAT - because the proxmox machines may not have routes back
|
||||
ip saddr {{ nebula.cidr }} ip daddr {{ pve_hosts.internal_cidr }} counter masquerade
|
||||
ip saddr {{ tailscale_cidr }} ip daddr {{ pve_hosts.internal_cidr }} counter masquerade
|
||||
ip saddr {{ tailscale_cidr }} counter masquerade
|
||||
}
|
||||
|
||||
chain FORWARD {
|
||||
|
@ -44,8 +44,9 @@ table inet filter {
|
|||
# Allow monitoring of nebula network
|
||||
ip saddr {{ pve_hosts.forrest.ip }}/32 ip daddr {{ nebula.cidr }} accept
|
||||
|
||||
# Allow traffic from Tailscale to proxmox network
|
||||
ip saddr {{ tailscale_cidr }} ip daddr {{ pve_hosts.internal_cidr }} accept
|
||||
ip saddr {{ pve_hosts.internal_cidr }} ip daddr {{ tailscale_cidr }} ct state related,established accept
|
||||
# Allow Tailscale exit node
|
||||
ip saddr {{ tailscale_cidr }} ip daddr 192.168.0.0/16 drop
|
||||
ip saddr {{ tailscale_cidr }} accept
|
||||
ip daddr {{ tailscale_cidr }} ct state related,established accept
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue