lost the ability to ssh

jeremy jozwik jerjoz.forums at gmail.com
Mon Sep 6 21:59:27 CEST 2010

On Mon, Sep 6, 2010 at 12:54 PM, jeremy jozwik <jerjoz.forums at gmail.com> wrote:

running as eth2 is going somewhere

ip address add dev eth2
ip link set dev eth2 up
ifconfig eth2 netmask up
route add -host dev eth2
iptables -A POSTROUTING -t nat -j MASQUERADE -s
sysctl -w net.ipv4.ip_forward=1
ip addr add dev eth2

$ ping
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=64 time=1.47 ms
64 bytes from icmp_seq=2 ttl=64 time=1.21 ms
64 bytes from icmp_seq=3 ttl=64 time=1.24 ms
--- ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2013ms
rtt min/avg/max/mdev = 1.215/1.313/1.479/0.118 ms

actually...  i think i may have had a massive brain fart on this whole thing.

ssh ROOT[!!!]@ works find, eth2 it is. thanks for the
brain wave osmosis.

More information about the community mailing list