how to onpen port to access a service inside

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

how to onpen port to access a service inside

L2 Linker

hi all

i have a service  camera at : 172.168.2.121:8181

I want access from internet outside.

I creat a service and Nat

but not success

nat.jpgservice.jpg

pls help me

1 accepted solution

Accepted Solutions

L4 Transporter

Hello,

Your second NAT rule is incorrect for this scenario (to only allow access from outside, you can remove 'L3_LAN' as the source zone here). You need a Destination NAT to allow users from outside to access the public camera, so no source translation necessary as well.

You will need a rule like below:

"public access to server" {

        from untrust-L3;

        source any;

        to untrust-L3;

        to-interface  ;

        destination <public-ip>;

        service any/any/any;

        translate-to "dst: private-ip:port";

Here's a good document that explains about configuring NAT in different scenarios:

Hope that helps!

Aditi

View solution in original post

1 REPLY 1

L4 Transporter

Hello,

Your second NAT rule is incorrect for this scenario (to only allow access from outside, you can remove 'L3_LAN' as the source zone here). You need a Destination NAT to allow users from outside to access the public camera, so no source translation necessary as well.

You will need a rule like below:

"public access to server" {

        from untrust-L3;

        source any;

        to untrust-L3;

        to-interface  ;

        destination <public-ip>;

        service any/any/any;

        translate-to "dst: private-ip:port";

Here's a good document that explains about configuring NAT in different scenarios:

Hope that helps!

Aditi

  • 1 accepted solution
  • 2178 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!