mosh -p 60003 ...
iptables -t nat -A OUTPUT -p udp --dport 60003 -j REDIRECT --to-ports 1090
ss-tunnel -u -c <config file path> -l 1090 -L <target_server_address>:60003
/etc/ppp/ip-up.d/02-custom.sh
#!/bin/bash
# This script is called with the following arguments
# Arg Name
# $1 Interface name
# $2 The tty
# $3 The link speed
# $4 Local IP number
# $5 Peer IP number
# $6 Optional ``ipparam'' value foo
ip rule add fwmark 0x01/0x01 table 100
ip route add default dev $1 table 100
# change src addr
iptables -t nat -A POSTROUTING -o $1 -j SNAT --to-source $4
# ssh
iptables -t mangle -A OUTPUT -p tcp --dport 22 -j MARK --set-mark 1
# Mosh
iptables -t mangle -A OUTPUT -p udp -m multiport --dports 60000:61000 -j MARK --set-mark 1
# relax the reverse path source validation
sysctl -w net.ipv4.conf.$1.rp_filter=2