SRX

 View Only

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



  • 1.  How to Load Balance 1 Static IP to 3 Local IP Server

    Posted 07-03-2018 01:04

    Somebody please help me on this.
    I'm using SRX300 with one Wan connection.

     

    I want to do load balance for one praticular static IP incoming request distributing within 3 servers.

     

    Example: I'm receiving incoming request for Static IP 123.123.123.123 to port 8080 and I want do load balance request within 3 local server (192.168.1.100 , 192.168.1.101 and 192.168.1.102) by Round Robin, Weights parameter to port 8080


    #srx300
    #Balance
    #load


  • 2.  RE: How to Load Balance 1 Static IP to 3 Local IP Server
    Best Answer

     
    Posted 07-03-2018 01:25

    Scratched in a notepad. Not tested.

    set security nat destination pool dst-nat-pool-1 address 192.168.1.100/32 to 192.168.1.102/32
    set security nat destination rule-set rs1 from interface ge-0/0/0.0
    set security nat destination rule-set rs1 rule r1 match destination-address 123.123.123.123/32
    set security nat destination rule-set rs1 rule r1 match destination-port 8080
    set security nat destination rule-set rs1 rule r1 then destination-nat pool dst-nat-pool-1
    set security nat proxy-arp interface ge-0/0/0.0 address 123.123.123.123/32
    set security address-book global address server1 192.168.1.100/32
    set security address-book global address server2 192.168.1.101/32
    set security address-book global address server3 192.168.1.102/32
    set security policies from-zone untrust to-zone trust policy server-access match source-address any
    set security policies from-zone untrust to-zone trust policy server-access match destination-address [server1 server2 server3 ]
    set security policies from-zone untrust to-zone trust policy server-access match application http-8080
    set security policies from-zone untrust to-zone trust policy server-access then permit

    Regards, Wojtek



  • 3.  RE: How to Load Balance 1 Static IP to 3 Local IP Server

    Posted 07-05-2018 01:05

    Can you share WebUI method.