Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ sudo iptables -vnL
- Chain INPUT (policy DROP 0 packets, 0 bytes)
- pkts bytes target prot opt in out source destination
- 48 5544 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
- 752 59077 ACCEPT all -- p255p1 * 0.0.0.0/0 0.0.0.0/0
- 147 12288 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0
- 533 62949 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
- 1 64 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:3001
- 50 5730 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:10000
- 366 113K ACCEPT all -- em1 * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
- 12 539 LOGGING all -- em1 * 0.0.0.0/0 0.0.0.0/0
- Chain FORWARD (policy DROP 0 packets, 0 bytes)
- pkts bytes target prot opt in out source destination
- 27328 2384K ACCEPT all -- p255p1 em1 0.0.0.0/0 0.0.0.0/0
- 18592 48M ACCEPT all -- em1 p255p1 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
- Chain OUTPUT (policy ACCEPT 1913 packets, 362K bytes)
- pkts bytes target prot opt in out source destination
- Chain LOGGING (1 references)
- pkts bytes target prot opt in out source destination
- 12 539 LOG all -- em1 * 0.0.0.0/0 0.0.0.0/0 limit: avg 5/sec burst 10 LOG flags 0 level 4
- 12 539 DROP all -- em1 * 0.0.0.0/0 0.0.0.0/0
- $ sudo iptables -t nat -vnL
- Chain PREROUTING (policy ACCEPT 1484 packets, 128K bytes)
- pkts bytes target prot opt in out source destination
- 0 0 DNAT tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:3001 to:10.255.230.231:3001
- Chain INPUT (policy ACCEPT 717 packets, 56611 bytes)
- pkts bytes target prot opt in out source destination
- Chain OUTPUT (policy ACCEPT 572 packets, 45585 bytes)
- pkts bytes target prot opt in out source destination
- Chain POSTROUTING (policy ACCEPT 35 packets, 2742 bytes)
- pkts bytes target prot opt in out source destination
- 1230 100K MASQUERADE all -- * em1 0.0.0.0/0 0.0.0.0/0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement