State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
UNCONN 0 0 127.0.0.53%lo:53 0.0.0.0:* users:(("systemd-resolve",pid=709,fd=12))
UNCONN 0 0 172.31.254.3%ens3:68 0.0.0.0:* users:(("systemd-network",pid=707,fd=20))
UNCONN 0 0 0.0.0.0:51820 0.0.0.0:*
UNCONN 0 0 0.0.0.0:111 0.0.0.0:* users:(("rpcbind",pid=641,fd=5),("systemd",pid=1,fd=36))
UNCONN 0 0 0.0.0.0:1701 0.0.0.0:* users:(("xl2tpd",pid=2009,fd=3))
UNCONN 0 0 127.0.0.1:4500 0.0.0.0:* users:(("pluto",pid=1990,fd=20))
UNCONN 0 0 172.31.254.3:4500 0.0.0.0:* users:(("pluto",pid=1990,fd=18))
UNCONN 0 0 10.66.66.1:4500 0.0.0.0:* users:(("pluto",pid=1990,fd=16))
UNCONN 0 0 127.0.0.1:500 0.0.0.0:* users:(("pluto",pid=1990,fd=19))
UNCONN 0 0 172.31.254.3:500 0.0.0.0:* users:(("pluto",pid=1990,fd=17))
UNCONN 0 0 10.66.66.1:500 0.0.0.0:* users:(("pluto",pid=1990,fd=15))
UNCONN 0 0 [::]:51820 [::]:*
UNCONN 0 0 [::]:111 [::]:* users:(("rpcbind",pid=641,fd=7),("systemd",pid=1,fd=38))
UNCONN 0 0 [fd42:42:42::1]:500 [::]:* users:(("pluto",pid=1990,fd=22))
UNCONN 0 0 [::1]:500 [::]:* users:(("pluto",pid=1990,fd=21))
Sep 16 07:51:34 instance-20210916-0948 systemd[1]: Stopped WireGuard via wg-qui>
Sep 16 07:52:30 instance-20210916-0948 systemd[1]: Starting WireGuard via wg-qu>
Sep 16 07:52:30 instance-20210916-0948 wg-quick[35979]: [#] ip link add wg0 typ>
Sep 16 07:52:30 instance-20210916-0948 wg-quick[35979]: [#] wg setconf wg0 /dev>
Sep 16 07:52:30 instance-20210916-0948 wg-quick[35979]: [#] ip -4 address add 1>
Sep 16 07:52:30 instance-20210916-0948 wg-quick[35979]: [#] ip -6 address add f>
Sep 16 07:52:30 instance-20210916-0948 wg-quick[35979]: [#] ip link set mtu 892>
Sep 16 07:52:30 instance-20210916-0948 wg-quick[35979]: [#] iptables -A FORWARD>
Sep 16 07:52:30 instance-20210916-0948 systemd[1]: Finished WireGuard via wg-qu>
Sep 17 07:06:15 instance-20210916-0948 systemd[1]: Stopping WireGuard via wg-qu>
Sep 17 07:06:15 instance-20210916-0948 wg-quick[54866]: [#] ip link delete dev >
Sep 17 07:06:16 instance-20210916-0948 wg-quick[54866]: [#] iptables -D FORWARD>
Sep 17 07:06:16 instance-20210916-0948 systemd[1]: wg-quick@wg0.service: Succee>
Sep 17 07:06:16 instance-20210916-0948 systemd[1]: Stopped WireGuard via wg-qui>
-- Reboot --
Sep 17 07:06:48 instance-20210916-0948 systemd[1]: Starting WireGuard via wg-qu>
Sep 17 07:06:49 instance-20210916-0948 wg-quick[942]: [#] ip link add wg0 type >
Sep 17 07:06:49 instance-20210916-0948 wg-quick[942]: [#] wg setconf wg0 /dev/f>
Sep 17 07:06:49 instance-20210916-0948 wg-quick[942]: [#] ip -4 address add 10.>
Sep 17 07:06:49 instance-20210916-0948 wg-quick[942]: [#] ip -6 address add fd4>
Sep 17 07:06:50 instance-20210916-0948 wg-quick[942]: [#] ip link set mtu 8920 >
Sep 17 07:06:50 instance-20210916-0948 wg-quick[942]: [#] iptables -A FORWARD ->
Sep 17 07:06:50 instance-20210916-0948 systemd[1]: Finished WireGuard via wg-qu>
lines 14-36/36 (END)
Sep 16 07:51:34 instance-20210916-0948 systemd[1]: Stopped WireGuard via wg-quick(8) for wg0.
Sep 16 07:52:30 instance-20210916-0948 systemd[1]: Starting WireGuard via wg-quick(8) for wg0...
Sep 16 07:52:30 instance-20210916-0948 wg-quick[35979]: [#] ip link add wg0 type wireguard
Sep 16 07:52:30 instance-20210916-0948 wg-quick[35979]: [#] wg setconf wg0 /dev/fd/63
Sep 16 07:52:30 instance-20210916-0948 wg-quick[35979]: [#] ip -4 address add 10.66.66.1/24 dev wg0
Sep 16 07:52:30 instance-20210916-0948 wg-quick[35979]: [#] ip -6 address add fd42:42:42::1/64 dev wg0
Sep 16 07:52:30 instance-20210916-0948 wg-quick[35979]: [#] ip link set mtu 8920 up dev wg0
Sep 16 07:52:30 instance-20210916-0948 wg-quick[35979]: [#] iptables -A FORWARD -i ens3 -o wg0 -j ACCEPT; iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o ens3 -j MASQUERADE; ip6tables -A FORWARD -i wg0 -j ACCEPT;>
Sep 16 07:52:30 instance-20210916-0948 systemd[1]: Finished WireGuard via wg-quick(8) for wg0.
Sep 17 07:06:15 instance-20210916-0948 systemd[1]: Stopping WireGuard via wg-quick(8) for wg0...
Sep 17 07:06:15 instance-20210916-0948 wg-quick[54866]: [#] ip link delete dev wg0
Sep 17 07:06:16 instance-20210916-0948 wg-quick[54866]: [#] iptables -D FORWARD -i ens3 -o wg0 -j ACCEPT; iptables -D FORWARD -i wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o ens3 -j MASQUERADE; ip6tables -D FORWARD -i wg0 -j ACCEPT;>
Sep 17 07:06:16 instance-20210916-0948 systemd[1]: wg-quick@wg0.service: Succeeded.
Sep 17 07:06:16 instance-20210916-0948 systemd[1]: Stopped WireGuard via wg-quick(8) for wg0.
-- Reboot --
Sep 17 07:06:48 instance-20210916-0948 systemd[1]: Starting WireGuard via wg-quick(8) for wg0...
Sep 17 07:06:49 instance-20210916-0948 wg-quick[942]: [#] ip link add wg0 type wireguard
Sep 17 07:06:49 instance-20210916-0948 wg-quick[942]: [#] wg setconf wg0 /dev/fd/63
Sep 17 07:06:49 instance-20210916-0948 wg-quick[942]: [#] ip -4 address add 10.66.66.1/24 dev wg0
Sep 17 07:06:49 instance-20210916-0948 wg-quick[942]: [#] ip -6 address add fd42:42:42::1/64 dev wg0
Sep 17 07:06:50 instance-20210916-0948 wg-quick[942]: [#] ip link set mtu 8920 up dev wg0
Sep 17 07:06:50 instance-20210916-0948 wg-quick[942]: [#] iptables -A FORWARD -i ens3 -o wg0 -j ACCEPT; iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o ens3 -j MASQUERADE; ip6tables -A FORWARD -i wg0 -j ACCEPT; i>
Sep 17 07:06:50 instance-20210916-0948 systemd[1]: Finished WireGuard via wg-quick(8) for wg0.
Starting Nmap 7.80 ( https://nmap.org ) at 2021-09-17 12:37 UTC
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0000070s latency).
Not shown: 996 closed ports
PORT STATE SERVICE
111/udp open rpcbind
500/udp open|filtered isakmp
1701/udp open|filtered L2TP
4500/udp open|filtered nat-t-ike
Nmap done: 1 IP address (1 host up) scanned in 1.31 seconds