Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@r-12-VM:~/bin# iptables -L -t filter
- Chain INPUT (policy DROP)
- target prot opt source destination
- ACCEPT tcp -- anywhere anywhere tcp dpt:domain
- ACCEPT udp -- anywhere anywhere udp dpt:domain
- ACCEPT esp -- anywhere anywhere
- ACCEPT ah -- anywhere anywhere
- ACCEPT udp -- anywhere 67.xxx.xxx.56 udp dpt:l2f
- ACCEPT udp -- anywhere 67.xxx.xxx.56 udp dpt:4500
- ACCEPT udp -- anywhere 67.xxx.xxx.56 udp dpt:isakmp
- ACCEPT all -- anywhere vrrp.mcast.net
- ACCEPT all -- anywhere 225.0.0.50
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- ACCEPT icmp -- anywhere anywhere
- ACCEPT all -- anywhere anywhere
- ACCEPT udp -- anywhere anywhere udp dpt:bootps
- ACCEPT udp -- anywhere anywhere udp dpt:domain
- ACCEPT tcp -- anywhere anywhere tcp dpt:domain
- ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:3922
- ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:www
- ACCEPT tcp -- 10.11.0.0/16 anywhere state NEW tcp dpt:http-alt
- LOG all -- anywhere anywhere LOG level debug prefix `[FW INPUT]: '
- Chain FORWARD (policy DROP)
- target prot opt source destination
- ACCEPT all -- anywhere anywhere
- ACCEPT all -- anywhere anywhere
- ACCEPT all -- anywhere anywhere
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- ACCEPT all -- anywhere anywhere state NEW
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- FW_OUTBOUND all -- anywhere anywhere
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- FW_OUTBOUND all -- anywhere anywhere
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- FW_OUTBOUND all -- anywhere anywhere
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- FW_OUTBOUND all -- anywhere anywhere
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- FW_OUTBOUND all -- anywhere anywhere
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- FW_OUTBOUND all -- anywhere anywhere
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- FW_OUTBOUND all -- anywhere anywhere
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- FW_OUTBOUND all -- anywhere anywhere
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- FW_OUTBOUND all -- anywhere anywhere
- ACCEPT tcp -- anywhere magento state RELATED,ESTABLISHED /* 67.xxx.xxx.56:80:80 */
- ACCEPT tcp -- anywhere magento tcp dpt:www state NEW /* 67.xxx.xxx.56:80:80 */
- ACCEPT tcp -- anywhere magento state RELATED,ESTABLISHED /* 67.xxx.xxx.56:443:443 */
- ACCEPT tcp -- anywhere magento tcp dpt:https state NEW /* 67.xxx.xxx.56:443:443 */
- ACCEPT tcp -- anywhere magento state RELATED,ESTABLISHED /* 67.xxx.xxx.56:22:22 */
- ACCEPT tcp -- anywhere magento tcp dpt:ssh state NEW /* 67.xxx.xxx.56:22:22 */
- ACCEPT tcp -- anywhere magento state RELATED,ESTABLISHED /* 67.xxx.xxx.56:21:21 */
- ACCEPT tcp -- anywhere magento tcp dpt:ftp state NEW /* 67.xxx.xxx.56:21:21 */
- ACCEPT tcp -- anywhere magento state RELATED,ESTABLISHED /* 67.xxx.xxx.56:5901:5901 */
- ACCEPT tcp -- anywhere magento tcp dpt:5901 state NEW /* 67.xxx.xxx.56:5901:5901 */
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- FW_OUTBOUND all -- anywhere anywhere
- LOG all -- anywhere anywhere LOG level debug prefix `[FW FORWARD ]: '
- Chain OUTPUT (policy ACCEPT)
- target prot opt source destination
- LOG all -- anywhere anywhere LOG level debug prefix `[FW OUTPUT]: '
- Chain FW_EGRESS_RULES (1 references)
- target prot opt source destination
- ACCEPT all -- anywhere anywhere
- Chain FW_OUTBOUND (10 references)
- target prot opt source destination
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- FW_EGRESS_RULES all -- anywhere anywhere
- root@r-12-VM:~/bin# iptables -L -t nat
- Chain PREROUTING (policy ACCEPT)
- target prot opt source destination
- DNAT tcp -- anywhere anywhere tcp dpt:domain to:10.11.0.1
- DNAT tcp -- anywhere 67.xxx.xxx.56 tcp dpt:www to:10.11.79.178:80
- DNAT tcp -- anywhere 67.xxx.xxx.56 tcp dpt:www to:10.11.79.178:80
- DNAT tcp -- anywhere 67.xxx.xxx.56 tcp dpt:https to:10.11.79.178:443
- DNAT tcp -- anywhere 67.xxx.xxx.56 tcp dpt:https to:10.11.79.178:443
- DNAT tcp -- anywhere 67.xxx.xxx.56 tcp dpt:ssh to:10.11.79.178:22
- DNAT tcp -- anywhere 67.xxx.xxx.56 tcp dpt:ssh to:10.11.79.178:22
- DNAT tcp -- anywhere 67.xxx.xxx.56 tcp dpt:ftp to:10.11.79.178:21
- DNAT tcp -- anywhere 67.xxx.xxx.56 tcp dpt:ftp to:10.11.79.178:21
- DNAT tcp -- anywhere 67.xxx.xxx.56 tcp dpt:5901 to:10.11.79.178:5901
- DNAT tcp -- anywhere 67.xxx.xxx.56 tcp dpt:5901 to:10.11.79.178:5901
- Chain POSTROUTING (policy ACCEPT)
- target prot opt source destination
- SNAT all -- anywhere anywhere to:67.xxx.xxx.56
- SNAT all -- anywhere anywhere to:67.xxx.xxx.56
- SNAT all -- anywhere anywhere to:67.xxx.xxx.56
- SNAT all -- anywhere anywhere to:67.xxx.xxx.56
- SNAT all -- anywhere anywhere to:67.xxx.xxx.56
- SNAT all -- anywhere anywhere to:67.xxx.xxx.56
- SNAT all -- anywhere anywhere to:67.xxx.xxx.56
- SNAT all -- anywhere anywhere to:67.xxx.xxx.56
- SNAT tcp -- 10.11.0.0/16 magento tcp dpt:www to:10.11.0.1
- SNAT tcp -- 10.11.0.0/16 magento tcp dpt:https to:10.11.0.1
- SNAT tcp -- 10.11.0.0/16 magento tcp dpt:ssh to:10.11.0.1
- SNAT tcp -- 10.11.0.0/16 magento tcp dpt:ftp to:10.11.0.1
- SNAT tcp -- 10.11.0.0/16 magento tcp dpt:5901 to:10.11.0.1
- SNAT all -- anywhere anywhere to:67.xxx.xxx.56
- Chain OUTPUT (policy ACCEPT)
- target prot opt source destination
- DNAT tcp -- anywhere 67.xxx.xxx.56 tcp dpt:www to:10.11.79.178:80
- DNAT tcp -- anywhere 67.xxx.xxx.56 tcp dpt:https to:10.11.79.178:443
- DNAT tcp -- anywhere 67.xxx.xxx.56 tcp dpt:ssh to:10.11.79.178:22
- DNAT tcp -- anywhere 67.xxx.xxx.56 tcp dpt:ftp to:10.11.79.178:21
- DNAT tcp -- anywhere 67.xxx.xxx.56 tcp dpt:5901 to:10.11.79.178:5901
- root@r-12-VM:~/bin# iptables -L -t mangle
- Chain PREROUTING (policy ACCEPT)
- target prot opt source destination
- VPN_67.xxx.xxx.56 all -- anywhere 67.xxx.xxx.56
- FIREWALL_67.xxx.xxx.56 all -- anywhere 67.xxx.xxx.56
- CONNMARK all -- anywhere anywhere state RELATED,ESTABLISHED CONNMARK restore
- MARK tcp -- anywhere 67.xxx.xxx.56 tcp dpt:www MARK set 0x2
- CONNMARK tcp -- anywhere 67.xxx.xxx.56 tcp dpt:www state NEW CONNMARK save
- MARK tcp -- anywhere 67.xxx.xxx.56 tcp dpt:https MARK set 0x2
- CONNMARK tcp -- anywhere 67.xxx.xxx.56 tcp dpt:https state NEW CONNMARK save
- MARK tcp -- anywhere 67.xxx.xxx.56 tcp dpt:ssh MARK set 0x2
- CONNMARK tcp -- anywhere 67.xxx.xxx.56 tcp dpt:ssh state NEW CONNMARK save
- MARK tcp -- anywhere 67.xxx.xxx.56 tcp dpt:ftp MARK set 0x2
- CONNMARK tcp -- anywhere 67.xxx.xxx.56 tcp dpt:ftp state NEW CONNMARK save
- MARK tcp -- anywhere 67.xxx.xxx.56 tcp dpt:5901 MARK set 0x2
- CONNMARK tcp -- anywhere 67.xxx.xxx.56 tcp dpt:5901 state NEW CONNMARK save
- Chain INPUT (policy ACCEPT)
- target prot opt source destination
- Chain FORWARD (policy ACCEPT)
- target prot opt source destination
- Chain OUTPUT (policy ACCEPT)
- target prot opt source destination
- Chain POSTROUTING (policy ACCEPT)
- target prot opt source destination
- CHECKSUM udp -- anywhere anywhere udp dpt:bootpc CHECKSUM fill
- Chain FIREWALL_67.xxx.xxx.56 (1 references)
- target prot opt source destination
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- RETURN tcp -- anywhere anywhere tcp dpt:www
- RETURN udp -- anywhere anywhere udp dpt:4500
- RETURN icmp -- anywhere anywhere icmp type 0 code 8
- RETURN tcp -- anywhere anywhere tcp dpts:ftp:ssh
- RETURN udp -- anywhere anywhere udp dpt:isakmp
- RETURN udp -- anywhere anywhere udp dpt:l2f
- DROP all -- anywhere anywhere
- Chain VPN_67.xxx.xxx.56 (1 references)
- target prot opt source destination
- ACCEPT esp -- anywhere anywhere
- ACCEPT ah -- anywhere anywhere
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- RETURN all -- anywhere anywhere
Advertisement
Add Comment
Please, Sign In to add comment