PPTP Pass-through through Juniper NS 5GT Firewall
Got a question on this one in my comments page and hence thought of putting it together. Say there is a PPTP server residing on the trust side of your NS firewall (applicable to all/most of the NS firewalls running Screen OS). For simplicity, assuming that the device is in NAT mode and you want to allow connections coming from internet for PPTP VPN, follow the steps here;
First create a custom service to address the PPTP requirement (This is Microsoft windows specific);
set service CustomPPTP group "other" 47 src 2048-2048 dst 2048-2048
set service CustomPPTP + tcp src 0-65535 dst 1723-1723
The first line above creates a custom service named “CustomPPTP” with protocol number 47 (GRE) with source/destination port as 2048.
The second line adds to the same service for PPTP (port 1723 TCP).
Then the next step would be to NAT the internal PPTP server to publically accessible server using a public ip address. Here we’d use the same address assigned on the untrust interface (single public ip available scenario);
set vip multi-port
set interface ethernet0/0 vip 2048 CustomPPTP 10.1.1.10
The first line above states that it is a multi-port VIP. Normally a VIP listens only on a single port, if a single ip address is used and you want to have multiple ports forwarded, multi-port VIP is needed.
The second line above sets a VIP for port 2048 for the internal server (PPTP Server) 10.1.1.10 (assuming the ip of the internal PPTP server to be this).
almost done; the only thing pending is a policy to allow traffic to pass through this condition;
set policy from untrust to trust "any" "VIP::1" "CustomPPTP" permit
The above policy allows any machine from untrust zone (internet) to connect to VIP address (trust zone) for the service “CustomPPTP”.
Just save the configuration and you should have it working just fine…
One of the best part about 