Let $$n=p_1p_2\cdots p_k$$ where all $p_i$ are distinct and $p_i<p_j$ iff $i<j$ (this number is square-free, since $p|n$ implied $p^2\not|n$ for a prime $p$).
Now, since $p_i-1|n$, we know that either $k=1$ and $n=2$, or $k>1$ and $2|n$, so $$n=2p_2p_3\cdots p_k$$
now $p_2-1|n$ and $p_2-1$ can only have a factor $2$, since $p_2$ is the smallest prime factor of $n$ greater than $2$ - so, $p_2=3$. If $k=2$, then $n=6$. Now let $k>2$. Then $p_3-1$ can only have a factor $2$ and $3$ - so $p_3-1\in\{2,3,6\}$ or $p_3\in\{3,4,7\}$. Since $p_3$ cannot be $3$ as $p_3>p_2$, and not $4$ since it's not prime, $p_3=7$. So if $k=3$, we know $k=3$, then $n=42$. Now let $n>4$. Then $p_4-1$ can only have a factor $2$, $3$, $7$: so $$p_4-1\in\{2,3,6,7,14,21,42\}$$ so $$p_4\in\{3,4,7,8,15,22,43\}$$ Since $p_4$ needs to be a prime and $p_4>p_3$, we know $p_4=43$. So if $k=4$ then $n=1806$. Now let $k>4$. Rinse repeat. $p_5$ has divisors $2$, $3$, $7$, $43$, blah blah blah, $$p_5-1\in\{2,3,6,7,14,21,42,43,86,129,258,301,602,903,1806\}$$ so $$p_5\in\{3, 4, 7, 8, 15, 22, 43, 44, 87, 130, 259, 302, 603, 904, 1807\}$$ and all these numbers are composite or smaller or equal to $43$, thus, $p_5$ doesn't exist. Finally, we're done. We have all solutions: $$n\in\{2,6,42,1806\}$$