mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-27 03:02:51 +08:00
33 lines
686 B
Plaintext
33 lines
686 B
Plaintext
config natflow 'main'
|
|
option enabled '1'
|
|
option debug '3'
|
|
option hwnat '0'
|
|
# option hwnat_wed_disabled '0'
|
|
# option delay_pkts '0'
|
|
# option go_slowpath_if_no_qos '0'
|
|
# option ifname_group_type '0'
|
|
# list ifname_group 'eth0'
|
|
# option tc_classid_mode '1'
|
|
|
|
config zone
|
|
option type 'lan'
|
|
option id '1'
|
|
option ifname 'br-lan'
|
|
|
|
config zone
|
|
option type 'wan'
|
|
option id '2'
|
|
option ifname 'wan' # or mask prefix: 'eth+'
|
|
|
|
# config vline
|
|
# option type 'vline' # vline | relay
|
|
# option src 'br-lan'
|
|
# option dst 'usb0'
|
|
# option family 'ipv6' # ipv4 | ipv6 | all
|
|
|
|
# config qos
|
|
# option user '192.168.1.0/24'
|
|
# option proto 'tcp'
|
|
# option rxbytes '1310720'
|
|
# option txbytes '655360'
|