Public feed #726965

Stuff

public text v1 · immutable
Raw Edit
·published 2007-10-05 17:18 UTC
rendered paste body
atomiku:/etc/ipmasq/rules# iptables -L
Chain INPUT (policy DROP)
target     prot opt source               destination
ACCEPT     0    --  anywhere             anywhere
LOG        0    --  loopback/8           anywhere            LOG level warning
DROP       0    --  loopback/8           anywhere
ACCEPT     0    --  anywhere             255.255.255.255
ACCEPT     0    --  192.168.0.0/24       anywhere
ACCEPT    !tcp  --  anywhere             BASE-ADDRESS.MCAST.NET/4
LOG        0    --  192.168.0.0/24       anywhere            LOG level warning
DROP       0    --  192.168.0.0/24       anywhere
ACCEPT     0    --  anywhere             255.255.255.255
ACCEPT     0    --  anywhere             cpc4-ipsw1-0-0-cust458.colc.cable.ntl.com
ACCEPT     0    --  anywhere             255.255.255.255
LOG        0    --  anywhere             anywhere            LOG level warning
DROP       0    --  anywhere             anywhere

Chain FORWARD (policy DROP)
target     prot opt source               destination
ACCEPT     0    --  192.168.0.0/24       anywhere
ACCEPT     0    --  anywhere             anywhere            state RELATED,ESTABLISHED
LOG        0    --  anywhere             192.168.0.0/24      LOG level warning
DROP       0    --  anywhere             192.168.0.0/24
LOG        0    --  anywhere             anywhere            LOG level warning
DROP       0    --  anywhere             anywhere

Chain OUTPUT (policy DROP)
target     prot opt source               destination
ACCEPT     0    --  anywhere             anywhere
ACCEPT     0    --  anywhere             255.255.255.255
ACCEPT     0    --  anywhere             192.168.0.0/24
ACCEPT    !tcp  --  anywhere             BASE-ADDRESS.MCAST.NET/4
LOG        0    --  anywhere             192.168.0.0/24      LOG level warning
DROP       0    --  anywhere             192.168.0.0/24
ACCEPT     0    --  anywhere             255.255.255.255
ACCEPT     0    --  cpc4-ipsw1-0-0-cust458.colc.cable.ntl.com  anywhere
ACCEPT     0    --  255.255.255.255      anywhere
LOG        0    --  anywhere             anywhere            LOG level warning
DROP       0    --  anywhere             anywhere


NAT:

atomiku:/etc/ipmasq/rules# iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
DNAT       tcp  --  anywhere             anywhere            tcp dpt:5099 to:192.168.0.20

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
MASQUERADE  0    --  192.168.0.0/24       anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
atomiku:/etc/ipmasq/rules#