Firewall Config?

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
jimm1432
Posts: 2
Joined: Sat Mar 03, 2018 2:00 pm

Firewall Config?

Post by jimm1432 »

anyone know the difference between remote_accept and just making a rule? Is there any functionality difference between these two rules?

config remote_accept 'Transmission_Peers'
option zone 'wan'
option local_port '51413'
option remote_port '51413'
option proto 'tcpudp'

And.....

config rule
option name 'Transmission_Peers'
option src 'wan'
option dest_port '51413'
option target 'ACCEPT'
option proto 'tcpudp'

Thanks for any Info.

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Firewall Config?

Post by ispyisail »

probably a better question for openwrt?

jimm1432
Posts: 2
Joined: Sat Mar 03, 2018 2:00 pm

Re: Firewall Config?

Post by jimm1432 »

After having a dig in the config file it seems that remote_accept is a gargoyle feature. The script /usr/lib/gargoyle_firewall_util/gargoyle_firewall_util. sh,
Turns remote_accept rules into iptable rules.
Just incase anyone else wonders about remote_accept rules.

Post Reply