Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- iptables -P FORWARD DROP
- iptables -A FORWARD -i eth0 -o eth1 -s 0/0 -d 172.29.5.2 --dport 22 -j ACCEPT
- iptables -A FORWARD -i eth1 -o eth0 -s 172.29.5.2 --sport 22 -d 0/0 -j ACCEPT
Advertisement
Add Comment
Please, Sign In to add comment