Solved

config ssg-20 juniper router

Posted on 2014-03-31
8
431 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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
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 69

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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Hit router interface limit 7 64
ISP has issued 5 static IP addresses 4 39
Recovering ASA 5505 vpn config from flash card? 7 34
ASA 5506 Port Forward 4 41
For months I had no idea how to 'discover' the IP address of the other end of a link (without asking someone who knows), and it drove me batty. Think about it. You can't use Cisco Discovery Protocol (CDP) because it's not implemented on the ASAs.…
When speed and performance are vital to revenue, companies must have complete confidence in their cloud environment.
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…
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…

685 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