Junos OS

 View Only
last person joined: yesterday 

Ask questions and share experiences about Junos OS.
  • 1.  Destination NAT

    Posted 12-08-2022 10:27
    Edited by spuluka 12-09-2022 11:33
    Hello,  

    I have a Juniper Srx340 Firewall. I want to make a web server available to the public; I have a few public IP's given to me by the service provider. I tried to use J-web to configure this but I keep getting 404 error code when I visit the public IP. 

    Can someone please help me??




    ------------------------------
    INDERAJ SINGH
    ------------------------------


  • 2.  RE: Destination NAT

    Posted 12-08-2022 14:42
    Not sure what it looks like in jweb, but you will need both a nat rule and a security policy to permit the traffic and possibly a proxy arp if the public ip address is in the same subnet as an interface but not the interface ip address.

    Could you have a look at the configuration on your SRX compared to the example:
    ip to ip translation:
    https://www.juniper.net/documentation/us/en/software/junos/nat/topics/topic-map/security-nat-destination.html#id-example-configuring-destination-nat-for-single-address-translation

    ip with port translation:
    https://www.juniper.net/documentation/us/en/software/junos/nat/topics/topic-map/security-nat-destination.html#id-example-configuring-destination-nat-for-ip-address-and-port-translation

    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------