Yangshuo is well served with all modes of public transport.
Guilin is the nearest airport to Yangshuo and there are direct flights for many cities in China as wel as international flights from Hong Kong, Malaysia and Japn
If you want to arrive by train, then Yangshuo has easy access to several train stations on the high speed lines. Guilin, Guilin North, Yangshuo (Xingping) and Gongcheng stations are excellent options from where to reach Yangshuo from.
Yangshuo also has two bus stations (North and South) with buses arriving from Guilin, Guangzhou, Shenzhen, Nanning and many other towns, cities