F |
nc - /randisk/hone/root ,c=.,giXl |
64 bytes from 10,10,10,1: icmp_seq=13 tt1=255 time=20,0 ms 64 bytes from 10,10,10,1: icmp_seq=14 tt1=255 time=0,313 ms --- 10,10,10,1 ping statistics --- 14 packets transmitted, 14 received, 0% packęt loss, time 13068ms rtt min/avg/max/mdev = 0,278/7,079/35,161/10,331 ms -bash-2,05b# route del default -bash-2,05b# route add default gw 10,10,10,1 -bash-2,05b# mcedit /etc/resolv.conf -bash-2,05b# iptables -t nat -A P0STR0UTING -o ethO -j SNAT —to-source 10,10,10 .223 -bash-2,05b# echo 1 > /proc/sys/net/ipv4/ip_forward -bash-2,05b # ifconf ig eth1 eth1 L ink encap:Ethernet HWaddr 00:30:4F:2B:0A:D6 inet addr:192,168,1,23 Bcast:255,255,255,255 Mask:255.255,255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:l RX packets:71 errors:0 dropped:0 overruns:0 frame:0 TX packets:27 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:12418 <12.1 Kb) TX bytes:3608 <3.5 Kb> Interrupt:10 Base address:0x6000 -bash-2,05b# | |