All pastes #453019 Raw Edit

bleh

public ini v1 · immutable
·published 2007-04-22 18:18 UTC
rendered paste body
v0id magari # iptables -L -vChain INPUT (policy DROP 38 packets, 3400 bytes) pkts bytes target     prot opt in     out     source               destination           454 52343 ACCEPT     all  --  lo     any     anywhere             anywhere              194 24357 ACCEPT     all  --  eth1   any     anywhere             anywhere             2920 1867K ACCEPT     all  --  eth0   any     anywhere             anywhere            state RELATED,ESTABLISHED     0     0 REJECT     tcp  --  eth0   any     anywhere             anywhere            tcp dpt:auth reject-with icmp-port-unreachable     0     0 ACCEPT     tcp  --  eth0   any     anywhere             anywhere            tcp dpt:ssh     1    64 ACCEPT     tcp  --  eth0   any     anywhere             anywhere            tcp dpt:http     1    48 ACCEPT     tcp  --  eth0   any     anywhere             anywhere            tcp dpt:smtp Chain FORWARD (policy DROP 31 packets, 1356 bytes) pkts bytes target     prot opt in     out     source               destination             0     0 DROP       all  --  eth0   any     anywhere             anywhere            state INVALID,NEW    29  3829 ACCEPT     all  --  eth1   eth0    10.1.2.0/24          anywhere               33 24297 ACCEPT     all  --  eth0   eth1    anywhere             10.1.2.0/24         Chain OUTPUT (policy ACCEPT 21M packets, 17G bytes) pkts bytes target     prot opt in     out     source               destination         v0id magari # iptables -L -v -t natChain PREROUTING (policy ACCEPT 410K packets, 23M bytes) pkts bytes target     prot opt in     out     source               destination         Chain POSTROUTING (policy ACCEPT 90650 packets, 6163K bytes) pkts bytes target     prot opt in     out     source               destination           478 33513 MASQUERADE  all  --  any    eth0    anywhere             anywhere            Chain OUTPUT (policy ACCEPT 91113 packets, 6196K bytes) pkts bytes target     prot opt in     out     source               destination         v0id magari # cat /etc/conf.d/net# This blank configuration will automatically use DHCP for any net.*# scripts in /etc/init.d.  To create a more complete configuration,# please review /etc/conf.d/net.example and save your configuration# in /etc/conf.d/net (this file :]!).config_eth0=( "10.1.1.33 netmask 255.255.255.0 brd 10.1.1.255" )routes_eth0=( "default gw 10.1.1.66" )config_eth1=( "10.1.2.11 netmask 255.255.255.0 brd 10.1.2.255" )routes_eth1=( "default gw 10.1.1.66" )v0id magari #