Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@DD-WRT:~# iptables -t nat -L
- Chain PREROUTING (policy ACCEPT)
- target prot opt source destination
- DNAT tcp -- anywhere ip70-170-70-49.lv.lv.cox.net tcp dpt:ssh to:192.168.1.1:22
- DNAT icmp -- anywhere ip70-170-70-49.lv.lv.cox.net to:192.168.1.1
- DNAT tcp -- anywhere ip70-170-70-49.lv.lv.cox.net tcp dpt:tcpmux to:192.168.1.99:4000
- DNAT udp -- anywhere ip70-170-70-49.lv.lv.cox.net udp dpt:1 to:192.168.1.99:4000
- TRIGGER 0 -- anywhere ip70-170-70-49.lv.lv.cox.net TRIGGER type:dnat match:0 relate:0
- Chain POSTROUTING (policy ACCEPT)
- target prot opt source destination
- SNAT 0 -- anywhere anywhere to:70.170.70.49
- RETURN 0 -- anywhere anywhere PKTTYPE = broadcast
- MASQUERADE 0 -- 192.168.1.0/24 192.168.1.0/24
- Chain OUTPUT (policy ACCEPT)
- target prot opt source destination
- root@DD-WRT:~# iptables -t filter -L
- Chain INPUT (policy ACCEPT)
- target prot opt source destination
- ACCEPT 0 -- anywhere anywhere state RELATED,ESTABLISHED
- DROP udp -- anywhere anywhere udp dpt:route
- DROP udp -- anywhere anywhere udp dpt:route
- ACCEPT udp -- anywhere anywhere udp dpt:route
- logaccept tcp -- anywhere DD-WRT tcp dpt:ssh
- DROP icmp -- anywhere anywhere
- DROP igmp -- anywhere anywhere
- ACCEPT 0 -- anywhere anywhere state NEW
- logaccept 0 -- anywhere anywhere state NEW
- DROP 0 -- anywhere anywhere
- Chain FORWARD (policy ACCEPT)
- target prot opt source destination
- ACCEPT gre -- 192.168.1.0/24 anywhere
- ACCEPT tcp -- 192.168.1.0/24 anywhere tcp dpt:1723
- ACCEPT 0 -- anywhere anywhere
- TCPMSS tcp -- anywhere anywhere tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU
- lan2wan 0 -- anywhere anywhere
- ACCEPT 0 -- anywhere anywhere state RELATED,ESTABLISHED
- ACCEPT tcp -- anywhere 192.168.1.99 tcp dpt:4000
- ACCEPT udp -- anywhere 192.168.1.99 udp dpt:4000
- TRIGGER 0 -- anywhere anywhere TRIGGER type:in match:0 relate:0
- trigger_out 0 -- anywhere anywhere
- ACCEPT 0 -- anywhere anywhere state NEW
- DROP 0 -- anywhere anywhere
- Chain OUTPUT (policy ACCEPT)
- target prot opt source destination
- Chain advgrp_1 (0 references)
- target prot opt source destination
- Chain advgrp_10 (0 references)
- target prot opt source destination
- Chain advgrp_2 (0 references)
- target prot opt source destination
- Chain advgrp_3 (0 references)
- target prot opt source destination
- Chain advgrp_4 (0 references)
- target prot opt source destination
- Chain advgrp_5 (0 references)
- target prot opt source destination
- Chain advgrp_6 (0 references)
- target prot opt source destination
- Chain advgrp_7 (0 references)
- target prot opt source destination
- Chain advgrp_8 (0 references)
- target prot opt source destination
- Chain advgrp_9 (0 references)
- target prot opt source destination
- Chain grp_1 (0 references)
- target prot opt source destination
- Chain grp_10 (0 references)
- target prot opt source destination
- Chain grp_2 (0 references)
- target prot opt source destination
- Chain grp_3 (0 references)
- target prot opt source destination
- Chain grp_4 (0 references)
- target prot opt source destination
- Chain grp_5 (0 references)
- target prot opt source destination
- Chain grp_6 (0 references)
- target prot opt source destination
- Chain grp_7 (0 references)
- target prot opt source destination
- Chain grp_8 (0 references)
- target prot opt source destination
- Chain grp_9 (0 references)
- target prot opt source destination
- Chain lan2wan (1 references)
- target prot opt source destination
- Chain logaccept (2 references)
- target prot opt source destination
- ACCEPT 0 -- anywhere anywhere
- Chain logdrop (0 references)
- target prot opt source destination
- DROP 0 -- anywhere anywhere
- Chain logreject (0 references)
- target prot opt source destination
- REJECT tcp -- anywhere anywhere tcp reject-with tcp-reset
- Chain trigger_out (1 references)
- target prot opt source destination
Advertisement
Add Comment
Please, Sign In to add comment