I have trouble with PPTP server configuration in RB750 (OS upgraded to V.5.11 right now).
interface port1 -> public connection, static IP with defined mask and def. gateway
interface ports 2-5 -> switched (port2 as master) LAN with defined DHCP server, but some devices in network have static IP. LAN is by default settings behind NAT with masquerade, there're also default settings in Firewall rules.
I use the VNC sw for remote desktop access, so the connection with VNC is to public IP with selected port (each PC in LAN has its port for public network) and there's definition of port-forwarding by dstnat to PC's IP addresses with default VNC port.
All of it works, I can connect to internet from ntb in LAN, remote desktop from internet also OK.
Now I need direct access to another devices in LAN with static IPs, so I'd like to establish a VPN tunel to connect my notebook from internet and obtain IP address from LAN DHCP server. I've enabled PPTP server and defined user in PPP Secrets. For test I set static local and remote address in PPP default profile, later it'll be changed to DHCP poll (or another IP poll range). Also ARP enabled on interface1 and proxy-arp on the others.
I made a test with notebook connected to public port (IP the same as def. gateway of router public port) with defined PPTP client in WinXP, but it couldn't connect. I think the reason could be the LAN behind NAT with masquerade, so is there any NAT rule which I could use before masquerade to make VPN connection or these couldn't work together?
There're other devices connected to switches, but I need to access for example PLC in the picture, which has LAN static IP. Now I'm connected as "Test" notebook.