Fortinet white logo
Fortinet white logo

CLI Reference

config firewall vip64

config firewall vip64

Configure IPv6 to IPv4 virtual IPs.

config firewall vip64
    Description: Configure IPv6 to IPv4 virtual IPs.
    edit <name>
        set arp-reply [disable|enable]
        set color {integer}
        set comment {var-string}
        set extip {user}
        set extport {user}
        set id {integer}
        set ldb-method [static|round-robin|...]
        set mappedip {user}
        set mappedport {user}
        set monitor <name1>, <name2>, ...
        set portforward [disable|enable]
        set protocol [tcp|udp]
        config realservers
            Description: Real servers.
            edit <id>
                set ip {ipv4-address-any}
                set port {integer}
                set status [active|standby|...]
                set weight {integer}
                set holddown-interval {integer}
                set healthcheck [disable|enable|...]
                set max-connections {integer}
                set monitor {string}
                set client-ip {user}
            next
        end
        set server-type [http|tcp|...]
        set src-filter <range1>, <range2>, ...
        set type [static-nat|server-load-balance]
        set uuid {uuid}
    next
end

config firewall vip64

Parameter

Description

Type

Size

arp-reply

Enable ARP reply.

option

-

Option

Description

disable

Disable arp reply.

enable

Enable arp reply.

color

Color of icon on the GUI.

integer

Minimum value: 0 Maximum value: 32

comment

Comment.

var-string

Maximum length: 255

extip

Start-external-IP [-end-external-IP].

user

Not Specified

extport

External service port.

user

Not Specified

id

Custom defined id.

integer

Minimum value: 0 Maximum value: 65535

ldb-method

Load balance method.

option

-

Option

Description

static

Distribute sessions based on source IP.

round-robin

Distribute sessions based round robin order.

weighted

Distribute sessions based on weight.

least-session

Distribute sessions to the server with the lowest session count.

least-rtt

Distribute sessions to the server with the lowest Round-Trip-Time.

first-alive

Distribute sessions to the first server that is alive.

mappedip

Start-mapped-IP [-end-mapped-IP].

user

Not Specified

mappedport

Mapped service port.

user

Not Specified

monitor <name>

Health monitors.

Health monitor name.

string

Maximum length: 79

name

VIP64 name.

string

Maximum length: 79

portforward

Enable port forwarding.

option

-

Option

Description

disable

Disable port forwarding.

enable

Enable port forwarding.

protocol

Mapped port protocol.

option

-

Option

Description

tcp

TCP.

udp

UDP.

server-type

Server type.

option

-

Option

Description

http

HTTP

tcp

TCP

udp

UDP

ip

IP

src-filter <range>

Source IP6 filter (x:x:x:x:x:x:x:x/x).

Src-filter range.

string

Maximum length: 79

type

VIP type: static NAT or server load balance.

option

-

Option

Description

static-nat

Static NAT.

server-load-balance

Server load balance.

uuid

Universally Unique Identifier (UUID; automatically assigned but can be manually reset).

uuid

Not Specified

config realservers

Parameter

Description

Type

Size

id

Real server ID.

integer

Minimum value: 0 Maximum value: 4294967295

ip

Mapped server IP.

ipv4-address-any

Not Specified

port

Mapped server port.

integer

Minimum value: 1 Maximum value: 65535

status

Server administrative status.

option

-

Option

Description

active

Server status active.

standby

Server status standby.

disable

Server status disable.

weight

weight

integer

Minimum value: 1 Maximum value: 255

holddown-interval

Hold down interval.

integer

Minimum value: 30 Maximum value: 65535

healthcheck

Per server health check.

option

-

Option

Description

disable

Disable per server health check.

enable

Enable per server health check.

vip

Use health check defined in VIP.

max-connections

Maximum number of connections allowed to server.

integer

Minimum value: 0 Maximum value: 2147483647

monitor

Health monitors.

string

Maximum length: 79

client-ip

Restrict server to a client IP in this range.

user

Not Specified

config firewall vip64

config firewall vip64

Configure IPv6 to IPv4 virtual IPs.

config firewall vip64
    Description: Configure IPv6 to IPv4 virtual IPs.
    edit <name>
        set arp-reply [disable|enable]
        set color {integer}
        set comment {var-string}
        set extip {user}
        set extport {user}
        set id {integer}
        set ldb-method [static|round-robin|...]
        set mappedip {user}
        set mappedport {user}
        set monitor <name1>, <name2>, ...
        set portforward [disable|enable]
        set protocol [tcp|udp]
        config realservers
            Description: Real servers.
            edit <id>
                set ip {ipv4-address-any}
                set port {integer}
                set status [active|standby|...]
                set weight {integer}
                set holddown-interval {integer}
                set healthcheck [disable|enable|...]
                set max-connections {integer}
                set monitor {string}
                set client-ip {user}
            next
        end
        set server-type [http|tcp|...]
        set src-filter <range1>, <range2>, ...
        set type [static-nat|server-load-balance]
        set uuid {uuid}
    next
end

config firewall vip64

Parameter

Description

Type

Size

arp-reply

Enable ARP reply.

option

-

Option

Description

disable

Disable arp reply.

enable

Enable arp reply.

color

Color of icon on the GUI.

integer

Minimum value: 0 Maximum value: 32

comment

Comment.

var-string

Maximum length: 255

extip

Start-external-IP [-end-external-IP].

user

Not Specified

extport

External service port.

user

Not Specified

id

Custom defined id.

integer

Minimum value: 0 Maximum value: 65535

ldb-method

Load balance method.

option

-

Option

Description

static

Distribute sessions based on source IP.

round-robin

Distribute sessions based round robin order.

weighted

Distribute sessions based on weight.

least-session

Distribute sessions to the server with the lowest session count.

least-rtt

Distribute sessions to the server with the lowest Round-Trip-Time.

first-alive

Distribute sessions to the first server that is alive.

mappedip

Start-mapped-IP [-end-mapped-IP].

user

Not Specified

mappedport

Mapped service port.

user

Not Specified

monitor <name>

Health monitors.

Health monitor name.

string

Maximum length: 79

name

VIP64 name.

string

Maximum length: 79

portforward

Enable port forwarding.

option

-

Option

Description

disable

Disable port forwarding.

enable

Enable port forwarding.

protocol

Mapped port protocol.

option

-

Option

Description

tcp

TCP.

udp

UDP.

server-type

Server type.

option

-

Option

Description

http

HTTP

tcp

TCP

udp

UDP

ip

IP

src-filter <range>

Source IP6 filter (x:x:x:x:x:x:x:x/x).

Src-filter range.

string

Maximum length: 79

type

VIP type: static NAT or server load balance.

option

-

Option

Description

static-nat

Static NAT.

server-load-balance

Server load balance.

uuid

Universally Unique Identifier (UUID; automatically assigned but can be manually reset).

uuid

Not Specified

config realservers

Parameter

Description

Type

Size

id

Real server ID.

integer

Minimum value: 0 Maximum value: 4294967295

ip

Mapped server IP.

ipv4-address-any

Not Specified

port

Mapped server port.

integer

Minimum value: 1 Maximum value: 65535

status

Server administrative status.

option

-

Option

Description

active

Server status active.

standby

Server status standby.

disable

Server status disable.

weight

weight

integer

Minimum value: 1 Maximum value: 255

holddown-interval

Hold down interval.

integer

Minimum value: 30 Maximum value: 65535

healthcheck

Per server health check.

option

-

Option

Description

disable

Disable per server health check.

enable

Enable per server health check.

vip

Use health check defined in VIP.

max-connections

Maximum number of connections allowed to server.

integer

Minimum value: 0 Maximum value: 2147483647

monitor

Health monitors.

string

Maximum length: 79

client-ip

Restrict server to a client IP in this range.

user

Not Specified