𝙼
Size: a a a
𝙼
S
S
S
Mar 06 02:12:13 Host wg-quick[7289]: [#] ip -6 route add ::/0 dev wg0 table 51820
Mar 06 02:12:13 Host wg-quick[7289]: [#] ip -6 rule add not fwmark 51820 table 51820
Mar 06 02:12:13 Host wg-quick[7289]: [#] ip -6 rule add table main suppress_prefixlength 0
Mar 06 02:12:13 Host wg-quick[7379]: [#] ip6tables-restore -n
Mar 06 02:12:13 Host wg-quick[7289]: [#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820
Mar 06 02:12:13 Host wg-quick[7289]: [#] ip -4 rule add not fwmark 51820 table 51820
Mar 06 02:12:13 Host wg-quick[7289]: [#] ip -4 rule add table main suppress_prefixlength 0
Mar 06 02:12:13 Host wg-quick[7289]: [#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
Mar 06 02:12:13 Host wg-quick[7389]: [#] iptables-restore -n
S
𝙼
𝙼
Mar 06 02:12:13 Host wg-quick[7289]: [#] ip -6 route add ::/0 dev wg0 table 51820
Mar 06 02:12:13 Host wg-quick[7289]: [#] ip -6 rule add not fwmark 51820 table 51820
Mar 06 02:12:13 Host wg-quick[7289]: [#] ip -6 rule add table main suppress_prefixlength 0
Mar 06 02:12:13 Host wg-quick[7379]: [#] ip6tables-restore -n
Mar 06 02:12:13 Host wg-quick[7289]: [#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820
Mar 06 02:12:13 Host wg-quick[7289]: [#] ip -4 rule add not fwmark 51820 table 51820
Mar 06 02:12:13 Host wg-quick[7289]: [#] ip -4 rule add table main suppress_prefixlength 0
Mar 06 02:12:13 Host wg-quick[7289]: [#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
Mar 06 02:12:13 Host wg-quick[7389]: [#] iptables-restore -n
Б
𝙼
S
[Interface]
Address = $MYADDR
DNS = $MYDNS
PrivateKey = $KEY
[Peer]
PublicKey = $PUBLICKEY
PresharedKey = $PRESHAREDKEY
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = $ENDPOINTIP
PersistentKeepalive = 25
S
𝙼
𝙼
S
𝙼
S
S
𝙼
S
❯ ip r
default via 192.168.0.1 dev wlp3s0 proto dhcp metric 600
10.1.0.0/24 dev wg0 proto kernel scope link src 10.1.0.2
192.168.0.0/24 dev wlp3s0 proto kernel scope link src 192.168.0.2 metric 60
𝙼