Solved

eX4500 port forward

Posted on 2014-12-10
8
194 Views
Last Modified: 2015-04-07
is there any possible way to forward all 587 port traffic to an email gateway and get the traffic back to default vlan on Ex4500
0
Comment
Question by:Cahit Eyigunlu
  • 4
  • 4
8 Comments
 
LVL 32

Expert Comment

by:dpk_wal
ID: 40498666
We would need to use routing instances and yes then we can redirect all traffic on port 587 to email gateway IP address.

Please have a look at link below:
http://www.juniper.net/techpubs/en_US/junos14.2/topics/topic-map/filter-based-forwarding-policy-based-routing.html

Please implement and update.

Thank you.
0
 

Author Comment

by:Cahit Eyigunlu
ID: 40498809
the port mentioned in the test is not an ip port it is ethernet port ,
0
 
LVL 32

Expert Comment

by:dpk_wal
ID: 40498868
If you look at the link posted; there are configuration example for both, to a specific outgoing interface also specific destination IP.

Please implement and update.

Thank you.
0
Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

 

Author Comment

by:Cahit Eyigunlu
ID: 40499179
i am not looking for interface forwarding i am looking for smtp port amreked packets forwarding
0
 
LVL 32

Expert Comment

by:dpk_wal
ID: 40499662
Hi Cahit,

Did you look at the link at all.

We create a firewall filter and do then based on the match criteria forward traffic on port 587; protocol as you specify to a specific IP or specific port.

If this is not what you want please clearly state your requirements so we can help.

Thank you.
0
 

Author Comment

by:Cahit Eyigunlu
ID: 40517037
should you please send a sample config for this
0
 
LVL 32

Accepted Solution

by:
dpk_wal earned 500 total points
ID: 40521430
Let's say you want the UDP 587 traffic to egress out of port ge-0/0/23 and rest of traffic out through port ge-0/0/22.
You wish to configure this filtering on port ge-0/0/0 till ge-0/0/9

Configure firewall filter:
set firewall family ethernet-switching filter filterUDP587 term t1 from protocol udp destination-port 587
set firewall family ethernet-switching filter filterUDP587 term t1 then interface ge-0/0/23.0
set firewall family ethernet-switching filter filterUDP587 term t2 then interface ge-0/0/22.0

Set filter1 on ingress:
set ge-0/0/0.0 family ethernet-switching filter input filterUDP587
set ge-0/0/1.0 family ethernet-switching filter input filterUDP587
set ge-0/0/2.0 family ethernet-switching filter input filterUDP587
set ge-0/0/3.0 family ethernet-switching filter input filterUDP587
set ge-0/0/4.0 family ethernet-switching filter input filterUDP587
set ge-0/0/5.0 family ethernet-switching filter input filterUDP587
set ge-0/0/6.0 family ethernet-switching filter input filterUDP587
set ge-0/0/7.0 family ethernet-switching filter input filterUDP587
set ge-0/0/8.0 family ethernet-switching filter input filterUDP587
set ge-0/0/9.0 family ethernet-switching filter input filterUDP587

Please implement and update.

Thank you.
0
 

Author Closing Comment

by:Cahit Eyigunlu
ID: 40710814
Thank you
0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
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…

696 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