Link to home
Start Free TrialLog in
Avatar of fl4ian
fl4ian

asked on

Setting up Port Forwarding on Juniper Netscreen 5gt

I'm trying to setup port forwarding on a NetScreen 5gt, version 5.0.0r8.1.

What I'd like to have accomplished here is to have https traffic going to (public IP: port) A.B.C.D:1122 be forwarded to (private IP) E:F:G:H.

the pubic IP A.B.C.D is already setup as VIP:1 in the router.

any help would be appreciated.
Avatar of Halindar
Halindar
Flag of Netherlands image

Use the following commands in the CLI (use telnet to connect to the CLI from the trust interface)

set interface untrust vip A.B.C.D 1122 https E.F.G.H
set policy from untrust to trust any vip(A.B.C.D) https permit
save

This should forward traffic as you need.
ASKER CERTIFIED SOLUTION
Avatar of AndrewCink
AndrewCink

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fl4ian
fl4ian

ASKER

Thanks for the comments, guys. I will try these when I get back to the office on Monday.
Any luck with the trying? It's been a while and I was wondering if our suggestions helped.
Avatar of fl4ian

ASKER

on the money.
Avatar of fl4ian

ASKER

Andrew's solution was right on the money.  I did a set vip mult-port with a reset afterwards for good measure.  Working perfectly.  Thanks again for the input guys.