ܼ

ŪNAT㡣
10.10.10.1 <-> 192.168.100.100ؤŪNATԤ
ۥȤμ¥ɥ쥹10.10.10.1Ǥꡢ롼ۤйˤϥ롼VIP 192.168.100.100ŪNAT򤹤빽Ȥʤ롣

  • eth1ŪNATѤΥɥ쥹VIPˤ
    configure
    set interfaces ethernet eth1 address 192.168.100.100/24
  • eth0¦Destination NAT10.10.10.1 192.168.100.100
    set service nat rule 10
    edit service nat rule 10
    set inbound-interface eth0
    set destination address 10.10.10.1/32
    set inside-address address 192.168.100.100/32
    set type destination
    commit
    exit
  • eth0¦Source NAT192.168.100.100 10.10.10.1
    set service nat rule 20
    edit service nat rule 20
    set outbound-interface eth0
    set source address 192.168.100.100/32
    set outside-address address 10.10.10.1/32
    set type source
    commit
    exit
  • eth1¦Destination NAT10.10.10.1 192.168.100.100
    set service nat rule 11
    edit service nat rule 11
    set outbound-interface eth1
    set source address 10.10.10.1/32
    set outside-address address 192.168.100.100/32
    set type source
    commit
    exit
  • eth1¦Source NAT192.168.100.100 10.10.10.1
    set service nat rule 21
    edit service nat rule 21
    set inbound-interface eth1
    set destination address 192.168.100.100/32
    set inside-address address 10.10.10.1/32
    set type destination
    commit
    exit
  • ¸
    save

ȥå   Խ ʬ ʎގ̎ ź ʣ ̾ѹ   ǽ   إ   ǽRSS
Last-modified: 2012-07-13 () 19:15:20 (3684d)