Modify

Opened 11 years ago

Closed 11 years ago

#1993 closed defect (worksforme)

br-lan name not determinable in scripts like /etc/firewall.user

Reported by: sleemburg@… Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:

Description

If you want to use firewall.user to allow for example forwarding over an OpenVPN tunnel, you need to put iptable entries in for the br-lan interface. There is no way to obtain this information with uci, you can only get the LAN interface which is not usable, as you'll need the bridge interface. It would be helpfull if uci could provide this with a 'runtime.lan.interface' config from /tmp.

Attachments (0)

Change History (1)

comment:1 Changed 11 years ago by mbm

  • Resolution set to worksforme
  • Status changed from new to closed

From the firewall script -

      include /lib/network
      scan_interfaces

      config_get WAN wan ifname
      config_get WANDEV wan device
      config_get LAN lan ifname

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.