Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
[email protected] web/email now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!

Paste

Pasted as Plain Text by anon ( 15 years ago )
home-server:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.193.215 10.111.82.254   255.255.255.255 UGH   0      0        0 eth0
217.195.208.80  10.111.82.254   255.255.255.255 UGH   0      0        0 eth0
85.21.72.83     10.111.82.254   255.255.255.255 UGH   0      0        0 eth0
195.14.50.21    10.111.82.254   255.255.255.255 UGH   0      0        0 eth0
195.14.50.26    10.111.82.254   255.255.255.255 UGH   0      0        0 eth0
89.179.135.67   10.111.82.254   255.255.255.255 UGH   0      0        0 eth0
195.14.40.141   10.111.82.254   255.255.255.255 UGH   0      0        0 eth0
195.14.50.93    10.111.82.254   255.255.255.255 UGH   0      0        0 eth0
217.195.210.0   10.111.82.254   255.255.255.248 UG    0      0        0 eth0
85.21.72.80     10.111.82.254   255.255.255.240 UG    0      0        0 eth0
217.195.210.96  10.111.82.254   255.255.255.240 UG    0      0        0 eth0
192.168.193.0   10.111.82.254   255.255.255.0   UG    0      0        0 eth0
217.118.84.0    10.111.82.254   255.255.255.0   UG    0      0        0 eth0
10.111.82.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
78.107.52.0     10.111.82.254   255.255.255.0   UG    0      0        0 eth0
10.64.0.0       10.111.82.254   255.192.0.0     UG    0      0        0 eth0
10.0.0.0        10.111.82.254   255.0.0.0       UG    0      0        0 eth0
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp0


home-server:~# iptables-save
# Generated by iptables-save v1.4.2 on Tue May 25 14:14:56 2010
*filter
:INPUT ACCEPT [100:10272]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [111:11699]
-A INPUT -s 192.168.0.0/24 -i eth1 -m state --state NEW,ESTABLISHED -j ACCEPT 
-A FORWARD -d 192.168.0.0/24 -i eth0 -m state --state ESTABLISHED -j ACCEPT 
-A FORWARD -j ACCEPT 
-A OUTPUT -d 192.168.0.0/24 -o eth1 -m state --state NEW,ESTABLISHED -j ACCEPT 
COMMIT
# Completed on Tue May 25 14:14:56 2010
# Generated by iptables-save v1.4.2 on Tue May 25 14:14:56 2010
*nat
:PREROUTING ACCEPT [51:4276]
:POSTROUTING ACCEPT [2:168]
:OUTPUT ACCEPT [5:361]
-A POSTROUTING -o eth0 -j MASQUERADE 
COMMIT
# Completed on Tue May 25 14:14:56 2010

home-server:~# cat /proc/sys/net/ipv4/ip_forward 
1

 

Revise this Paste

Your Name: Code Language: