Автор: funk2256, 2 лет назад, написана на языке Plain Text.
Встраивание на сайт
  1. Gentoo-Desktop# ip a
  2. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
  3.     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  4.     inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
  5.        valid_lft forever preferred_lft forever
  6.     inet6 ::1/128 scope host
  7.        valid_lft forever preferred_lft forever
  8. 2: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
  9.     link/ether 54:04:a6:7f:30:0e brd ff:ff:ff:ff:ff:ff
  10.     inet 192.168.0.103/24 brd 192.168.0.255 scope global dynamic noprefixroute enp5s0
  11.        valid_lft 7072sec preferred_lft 6172sec
  12.     inet6 fe80::83bd:b881:3d2c:4dc/64 scope link
  13.        valid_lft forever preferred_lft forever
  14. 3: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
  15.     link/sit 0.0.0.0 brd 0.0.0.0
  16. 5: wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN group default qlen 1000
  17.     link/none
  18.     inet 10.13.13.2/32 scope global wg0
  19.        valid_lft forever preferred_lft forever
  20.  
  21. Gentoo-Desktop# ip r
  22. 0.0.0.0 dev wg0 scope link
  23. default via 192.168.0.1 dev enp5s0 proto dhcp src 192.168.0.103 metric 1002
  24. 192.168.0.0/24 dev enp5s0 proto dhcp scope link src 192.168.0.103 metric 1002
  25.  
  26. Gentoo-Desktop# cat /etc/resolv.conf
  27. # Generated by resolvconf
  28. nameserver 10.13.13.1
  29.