Linux – PPTP VPN on one port

linuxopenvpnpptpvpn

I have a pptp VPN login, it is possible to set this VPN connection to only one port? For example I want to redirect my VPN connection to FTP's port 21. Then access FTP from outside from the VPN adress.

Another question:

It is possible to on router which have VPN client function, forward a single port with VPN connection, and on PC2 (which is outside the network and not using VPN) redirect FTP'21 port to that router's open port and this PC would get the router's IP adress.

ROUTER (vpn client-> forward port 21?) -> PC2 (outside the network) (connect to ROUTER's 21 port from the internet)-> PC2 IP=ROUTER VPN IP

Best Answer

This is not something pptp would be doing, its something you would do with IPTables.