Advertisement
individuwill

salt iptables state

Apr 27th, 2014
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.29 KB | None | 0 0
  1. dante-fw:
  2.   iptables.insert:
  3.     - comment: "Allow Socks5 connections to dante"
  4.     - position: 1
  5.     - table: filter
  6.     - chain: INPUT
  7.     - match:
  8.      - state
  9.       - comment
  10.     - jump: ACCEPT
  11.     - connstate: NEW,ESTABLISHED
  12.     - dport: 1080
  13.     - proto: tcp
  14.     - save: True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement