Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

config ssg-20 juniper router

Posted on 2014-03-31
8
Medium Priority
?
436 Views
Last Modified: 2014-06-14
Hi,

I have a SSG-20 router at workplace. Never worked with them. I have to use CLI. I need to change the port forwarding.

For example the CLI shows : set interface ethernet 0/0 vip interface-ip 90 "http" 192.168.1.55 manual.

I want to change the "http" to a port number? Can i also get a list of commands?

What are the commands i should i be using to edit ?

Thanks
0
Comment
Question by:o0JoeCool0o
  • 4
  • 3
8 Comments
 
LVL 18

Expert Comment

by:Sanga Collins
ID: 39969885
What port number do you want to change HTTP to? You will need to create a custom service first if it is not a port that is part of the preloaded services.

Also just curious, is there any specific reason you can not use the webinterface? If you can connect via web, this process would be a breeze.
0
 
LVL 4

Author Comment

by:o0JoeCool0o
ID: 39970286
9675 is the port number. i juts want to change the "http" to a port number 9675 for a external website.

I am not able the router though a web interface
0
 
LVL 18

Expert Comment

by:Sanga Collins
ID: 39970427
ok, then you will have to create a custom service using this command

set service "http9675" protocol tcp src-port 0-65535 dst-port 9675-9675
set interface ethernet 0/0 vip interface-ip 90 "http9675" 192.168.1.55
0
Ready for your healthcare security check-up?

In the past few years, healthcare organizations have become a prime target for advanced attacks. Does your organization have what it needs to defend itself? Schedule your healthcare security check-up today and download our free Healthcare Security Resource Kit today!

 
LVL 4

Author Comment

by:o0JoeCool0o
ID: 40001689
for some reason its not working for me. any idea as how can i enable web-interface on this router so that it can be easy?
0
 
LVL 71

Expert Comment

by:Qlemo
ID: 40003811
You should be able to use the Web GUI if you try from a local machine, e.g. RDP.  Or, if you have a VPN connectiion to the router, that one should work too.
Exception is, of course,  if anybody switched off Web GUI on all interfaces, or restricted it to managed IPs (allowing only specific IP addresses to access it).
0
 
LVL 18

Expert Comment

by:Sanga Collins
ID: 40003954
you need to know what interface you are connecting to the device from. So first thing to do is:

get interface

Then using the name of the appropriate interface from the results

set interface ethernet0/2 manage web


Please note ethernet0/2 is an example, you must use the actual interface name appropriate for how you are connected
0
 
LVL 4

Accepted Solution

by:
o0JoeCool0o earned 0 total points
ID: 40122455
had to call Juniper and got the issue resolved by them.
0
 
LVL 4

Author Closing Comment

by:o0JoeCool0o
ID: 40133821
juniper tech team fixed the issue for me. it was a firmware issue.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
Let’s face it: one of the reasons your organization chose a SaaS solution (whether Microsoft Dynamics 365, Netsuite or SAP) is that it is subscription-based. The upkeep is done. Or so you think.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question