Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ############ ifconfig
- ens18: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
- inet 192.168.50.22 netmask 255.255.255.0 broadcast 192.168.50.255
- inet6 fe80::341d:21ff:fe91:1d4f prefixlen 64 scopeid 0x20<link>
- ether 36:1d:21:91:1d:4f txqueuelen 1000 (Ethernet)
- RX packets 832 bytes 122633 (122.6 KB)
- RX errors 0 dropped 124 overruns 0 frame 0
- TX packets 142 bytes 17050 (17.0 KB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
- inet 127.0.0.1 netmask 255.0.0.0
- inet6 ::1 prefixlen 128 scopeid 0x10<host>
- loop txqueuelen 1000 (Local Loopback)
- RX packets 84 bytes 6368 (6.3 KB)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 84 bytes 6368 (6.3 KB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- wg0: flags=209<UP,POINTOPOINT,RUNNING,NOARP> mtu 1420
- inet 10.8.139.233 netmask 255.255.255.255 destination 10.8.139.233
- unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC)
- RX packets 8 bytes 952 (952.0 B)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 19 bytes 1352 (1.3 KB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- ############ wg0 conf
- root@wireguard:~# cat /etc/wireguard/wg0.conf
- [Interface]
- Address = 10.8.139.233
- PrivateKey = privkey
- DNS = 10.0.0.243,10.0.0.242
- [Peer]
- PublicKey = pubkey
- Endpoint = 46.246.3.228:1337
- AllowedIPs = 0.0.0.0/0
- PersistentKeepalive = 25
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement