Skip to content

Instantly share code, notes, and snippets.

@parthibx24
Created September 25, 2023 16:43
Show Gist options
  • Save parthibx24/d0fd1f2ab343ce76a745fae865aa75ea to your computer and use it in GitHub Desktop.
Save parthibx24/d0fd1f2ab343ce76a745fae865aa75ea to your computer and use it in GitHub Desktop.
  vrlan NEW-----------> [XX] lan
  lan   NEW-----------> [OK] vrlan
  vrlan ESTABLISHED---> [OK] lan
config rule
        option src 'vrlan'
        option dest 'lan'
        option target 'REJECT'

config rule
        option src 'lan'
        option dest 'vrlan'
        option target 'ACCEPT'

config rule
        option src 'vrlan'
        option dest 'lan'
        option ctstate 'ESTABLISHED'
        option target 'ACCEPT'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment