ubuntu server use netplan, F again
parent
6add6b916b
commit
82bd1cfb32
@ -1,11 +1,15 @@
|
|||||||
---
|
---
|
||||||
interfaces:
|
interfaces:
|
||||||
enp2s0:
|
enp2s0:
|
||||||
ipv4: "45.66.110.3"
|
ipv4: 45.66.110.3
|
||||||
netmaskv4: 24
|
netmaskv4: 24
|
||||||
|
type: static
|
||||||
|
routes:
|
||||||
|
- {subnet: 0.0.0.0, netmask: 0, gateway: 45.66.110.254}
|
||||||
wg0:
|
wg0:
|
||||||
ipv4: "{{ intranet.subnets.physical.subnets.hindley.ipv4 }}"
|
ipv4: "{{ intranet.subnets.physical.subnets.hindley.ipv4 }}"
|
||||||
netmaskv4: "{{ intranet.netmaskv4 }}"
|
netmaskv4: "{{ intranet.netmaskv4 }}"
|
||||||
|
type: wireguard
|
||||||
|
|
||||||
ipv4_forwarding: true
|
ipv4_forwarding: true
|
||||||
ipv6_forwarding: false
|
ipv6_forwarding: false
|
||||||
|
Loading…
Reference in New Issue