iptables -A FORWARD -p tcp --dport 23 -m policy --dir out --pol ipsec --proto esp --mode tunnel -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -m policy --dir in --pol ipsec --proto esp --mode tunnel -m state --state ESTABLISHED,RELATED -j ACCEPT