Migrate configuration Juniper Firewall to Sangfor NGAF

DenyFirmansyah Lv1Posted 16 Oct 2022 18:45

Hello Everyone,

I have a question for migrate NAT configuration Juniper SRX (Firewall) to Sangfor NGAF. How to replace for zone Juniper? example the zone in this case are called "Internet" and "DC-A"). Because in Sangfor NGAF the zone just for binding to the interfaces.

this the example configuration of Juniper SRX (Firewall):
nat {
        source {
            pool public-out-dns-server-4 {
                address {
                    103.x.x.x/32;
                }
            }

rule-set rs-DA {
                from zone DC-A ;
                to zone internet;
                rule DNS-4-source-nat-rule {
                    match {
                        source-address 10.252.252.4/32;
                    }
                    then {
                        source-nat {
                            pool {
                                public-out-dns-server-4;
                            }
                        }
                    }
                }
                               
                               

       
                               
                               
zones {
        security-zone internet {
            address-book {
                address openlib-1-svr 202.x.x.x/32;
                address io-svr 119.x.x.x/32;
                address simtu-svr 118.x.x.x/32;
                                }
            screen untrust-screen;
            host-inbound-traffic {
                system-services {
                    all;
                }
                protocols {
                    all;
                }
            }
            interfaces {
                irb.3;
            }
        }
                               
               
                security-zone DC-A  {
            address-book {
                address dashborad-svr 10.252.252.17/32;
                address dns00-svr 10.252.252.4/32;
                address dns01-svr 10.252.252.5/32;
                address idea-svr 10.252.252.30/32;
                address idea-web2-svr 10.252.252.31/32;
                address idea-web1-svr 10.252.252.32/32;
                address pjj-svr 10.252.252.34/32;
                address hosting-svr 10.252.252.98/32;
                                }
            screen DC-A-screen;
            host-inbound-traffic {
                system-services {
                    all;
                }
                protocols {
                    all;
                }
            }
            interfaces {
                lo0.0;
                ae0.0;
                ae1.0;
            }
        }

rivsy has solved this question and earned 10 coins.

Posting a reply earns you 2 coins. An accepted reply earns you 20 coins and another 10 coins for replying within 10 minutes. (Expired) What is Coin?

Enter your mobile phone number and company name for better service. Go

Last edited by rivsy 17 Oct 2022 12:41.

Can I ask the type of configuration and policy you currently use in your Juniper setup?
You can use the Wizard if your configuration is just a basic config
Is this answer helpful?
CTI_JianJie Lv2Posted 07 Nov 2022 16:41
  
Sangfor NGAF did not support CLI/configuration modification, you need to use wizard/UI for configuration.
Jdc Lv2Posted 25 Oct 2022 11:53
  
You can use the Wizard if your configuration is just a basic config
MISMDS Lv3Posted 21 Oct 2022 11:28
  
It would be easier if you used the GUI
MISMIS Lv3Posted 21 Oct 2022 11:20
  
GUI is enough is basic configuration is done
Fuji12 Lv3Posted 21 Oct 2022 11:16
  
nat {
        source {
            pool public-out-dns-server-4 {
                address {
                    103.x.x.x/32;
                }
            }
Jigen87 Lv3Posted 21 Oct 2022 11:12
  
would be easier if you will do it in Juniper's GUI.
LucyHeart Lv3Posted 21 Oct 2022 11:08
  
  security-zone DC-A  {
            address-book {
                address dashborad-svr 10.252.252.17/32;
                address dns00-svr 10.252.252.4/32;
                address dns01-svr 10.252.252.5/32;
                address idea-svr 10.252.252.30/32;
                address idea-web2-svr 10.252.252.31/32;
                address idea-web1-svr 10.252.252.32/32;
                address pjj-svr 10.252.252.34/32;
                address hosting-svr 10.252.252.98/32;
                                }
soneosansan Lv3Posted 21 Oct 2022 11:05
  
rule-set rs-DA {
                from zone DC-A ;
                to zone internet;
                rule DNS-4-source-nat-rule {
                    match {
                        source-address 10.252.252.4/32;
nobitachou Lv2Posted 21 Oct 2022 11:02
  
use in your Juniper setup?
You can use the Wizard
grayice499 Lv2Posted 20 Oct 2022 16:59
  
Click the Launch NAT Wizard button. Follow the wizard prompts. The upper-left area of the wizard page shows where you are in the configuration process.

I Can Help:

Change

Moderator on This Board

0
2
4

Started Topics

Followers

Follow

67
14
3

Started Topics

Followers

Follow

3
0
2

Started Topics

Followers

Follow

1
131
3

Started Topics

Followers

Follow

Board Leaders