[mod] wireguard+pihole
This commit is contained in:
parent
d2c067fc1a
commit
bfd0979a07
@ -11,13 +11,15 @@ docker network create -d macvlan \
|
||||
```
|
||||
then
|
||||
|
||||
1. sudo ip link set eth0 promisc on
|
||||
1. sudo ip link add macvlan-shim link eth0 type macvlan mode bridge
|
||||
1. sudo ip addr add 192.168.1.60/28 dev macvlan-shim
|
||||
1. sudo ip link set macvlan-shim up
|
||||
```
|
||||
sudo ip link set eth0 promisc on
|
||||
sudo ip link add macvlan-shim link eth0 type macvlan mode bridge
|
||||
sudo ip addr add 192.168.1.60/28 dev macvlan-shim
|
||||
sudo ip link set macvlan-shim up
|
||||
```
|
||||
|
||||
Check
|
||||
ifconfig macvlan-shim
|
||||
`ifconfig macvlan-shim`
|
||||
|
||||
## /usr/local/bin/pi-vlan.sh
|
||||
|
||||
|
@ -18,6 +18,7 @@ services:
|
||||
volumes:
|
||||
- ./config:/config
|
||||
- /lib/modules:/lib/modules
|
||||
- /usr/src:/usr/src
|
||||
ports:
|
||||
- 51820:51820/udp
|
||||
sysctls:
|
||||
|
Loading…
Reference in New Issue
Block a user