package documentation

IPSec utilities

From __init__.py:

Function add_trusted_interface Add the interface to the 'ipsec' trusted zone. The function also creates the trusted zone, if needed.
Function init_ipsec Initialize IPSec global configuration, if needed.
Function open_firewall_ports Open firewall ports for IPSec tunnels, if need.
Constant IPSEC_ZONE Undocumented
def add_trusted_interface(uci, interface): (source)

Add the interface to the 'ipsec' trusted zone. The function also creates the trusted zone, if needed.

Changes are saved to staging area.

Arguments:
  • uci -- EUci pointer
def init_ipsec(uci): (source)

Initialize IPSec global configuration, if needed.

Changes are saved to staging area.

Arguments:
  • uci -- EUci pointer
def open_firewall_ports(uci): (source)

Open firewall ports for IPSec tunnels, if need.

Changes are saved to staging area.

Arguments:
  • uci -- EUci pointer
IPSEC_ZONE: str = (source)

Undocumented

Value
'ipsec'