mirror of
https://github.com/firehol/firehol.git
synced 2024-06-30 19:02:21 +00:00
allowed inface in SNAT and MASQUERADE
This commit is contained in:
parent
3ae8bfb1eb
commit
9d844c7785
@ -4041,7 +4041,7 @@ masquerade() {
|
||||
|
||||
set_work_function "Masquerade on interface '${f}'"
|
||||
|
||||
rule noowner table nat chain POSTROUTING "${@}" inface any outface "${f}" action MASQUERADE ${ports} ${random} || return 1
|
||||
rule noowner table nat chain POSTROUTING "${@}" outface "${f}" action MASQUERADE ${ports} ${random} || return 1
|
||||
|
||||
FIREHOL_NAT=1
|
||||
FIREHOL_ROUTING=1
|
||||
@ -4214,7 +4214,7 @@ nat_helper() {
|
||||
chains=(POSTROUTING)
|
||||
#possible_chains="POSTROUTING INPUT"
|
||||
action=snat
|
||||
overwrite="inface any"
|
||||
overwrite=""
|
||||
tos=(${to//,/ })
|
||||
;;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user