- Downloading the OpenVPN configuration file.
- I connect to OpenVPN via
openvpn <conf_file>
The tun0 interface appears:
5: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 500
link/none
inet 10.10.16.25/23 scope global tun0
valid_lft forever preferred_lft forever
inet6 dead:beef:4::1017/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::b010:c64b:226d:b340/64 scope link stable-privacy proto kernel_ll
valid_lft forever preferred_lft forever
- I’m trying to connect to ssh with username
htb-student
, passwordHTB_@cademy_stdnt!
to the ip<ip>
and I see (viassh -vvv ...
):
┌─[✗]─[root@parrot]─[~/.ssh]
└──╼ #ssh -vvv htb-student@<ip>
OpenSSH_9.2p1 Debian-2+deb12u2, OpenSSL 3.0.13 30 Jan 2024
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolve_canonicalize: hostname <ip> is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/root/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/root/.ssh/known_hosts2'
debug3: ssh_connect_direct: entering
debug1: Connecting to <ip> [<ip>] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x10
debug1: connect to address <ip> port 22: Connection timed out
ssh: connect to host <ip> port 22: Connection timed ou
What is the problem?