it-kombinat / splunk-demo

Splunk-Demo - Install Splunk and Rsyslog Clients to demonstrate splunk
0 stars 0 forks source link

ansible-cowried: Port redirection #10

Open it-kombinat opened 5 years ago

it-kombinat commented 5 years ago
- name: Installing Snort and Docker Collector
  hosts: snort
  become: true
  remote_user: ec2-user
  remote_port: 23
  tags: snort
  vars:
  ....
iptables -t nat -A PREROUTING -p tcp --dport 22 -j REDIRECT --to-port 2222