Skip to content

Instantly share code, notes, and snippets.

@bfallik
Created March 20, 2019 04:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bfallik/371226ea4e6de0fa2369870ae78bb527 to your computer and use it in GitHub Desktop.
Save bfallik/371226ea4e6de0fa2369870ae78bb527 to your computer and use it in GitHub Desktop.
$ ifconfig utun1
utun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1420
inet 192.168.66.1 --> 192.168.66.3 netmask 0xfffffffc
$ ifconfig utun2
utun2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1420
inet 192.168.66.2 --> 192.168.66.3 netmask 0xfffffffc
$ sudo wg show utun1
interface: utun1
public key: ilbFmbvSzZZJvnjwpSgoGlXAK99Dl948gsnpMYqq+CA=
private key: (hidden)
listening port: 51820
peer: /JZyTvRg4OV42zA9cmDTay6WYXA1P7KuiikycgNwRnU=
endpoint: 127.0.0.1:51821
allowed ips: 192.168.66.0/30
$ sudo wg show utun2
interface: utun2
public key: /JZyTvRg4OV42zA9cmDTay6WYXA1P7KuiikycgNwRnU=
private key: (hidden)
listening port: 51821
peer: ilbFmbvSzZZJvnjwpSgoGlXAK99Dl948gsnpMYqq+CA=
endpoint: 127.0.0.1:51820
allowed ips: 192.168.66.0/30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment