File: 01_loopback.py

package info (click to toggle)
pyroman 0.6.2-1.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 396 kB
  • sloc: python: 1,706; xml: 89; sh: 57; makefile: 5
file content (6 lines) | stat: -rw-r--r-- 212 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
"""
We don't want to have any restrictions on the loopback interface,
and want to have the allow rules early in the firewall rules
"""
ipXtables("INPUT", "-i lo -j ACCEPT")
ipXtables("OUTPUT", "-o lo -j ACCEPT")