RTDELETE(1)

NAME
rtdelete - delete IPSec routing entries

SYNOPSIS
rt isrc isrcmask idst idstmask proto sport dport raddr spi fespath

DESCRIPTION
The rtdelete utility deletes a routing entry for IPSec created by rt(1). The arguments are:

isrc
    The initial source address as given to rt(1).

isrcmask
    The network mask for the initial source address.

idst
    The initial destination address.

idstmask
    The network mask for the initial destination address.

proto
    The protocol number given to rt(1).

sport
    The source port of a packet if applicable. Specify -1 as wildcard.

dport
    The destination port aof a packet if applicable. Specify -1 as wildcard.

raddr
    The destination address of the security association. If you dont use tunnel mode that will be the same as idst.

spi The Security Parameter Index of the security association.

fespah
    Specifies the security protocol of the SA. Use either 0 for AH or 1 for ESP.

EXAMPLE
Delete routing entry for ESP in transport mode:

rt 0.0.0.0 255.255.255.255 remote 255.255.255.255 -1 -1 -1 remote SPI 1

rt localip 255.255.255.255 remote 255.255.255.255 -1 -1 -1 remote SPI 1

SEE ALSO
ipsecadm(1), /proc/net/ipsec-route(5), photurisd(1), rt(1), route(8).