( trey | 2006. 02. 12., v – 18:10 )

iptables -t nat -A PREROUTING -p tcp -i $ext_if --dport 47 --syn -j DNAT --to-destination belso_szerver_ip

iptables -t nat -A PREROUTING -p tcp -i $ext_if --dport 1723 --syn -j DNAT --to-destination belso_szerver_ip

ahol:

ext_if = a külső interfész neve (eth0, ppp0, stb.)
belso_szerver_ip = a VPN szerver privat cime (pl. 10.0.0.1, 192.168.0.1, stb.)

--
trey @ gépház