Hardware Reference
In-Depth Information
eth1 Link encap:Ethernet HWaddr 00:1d:60:40:58:e6
...
It's the number following inet addr: , which in my case is 137.112.41.35 .
TIP
If you are on a wireless network, find the IP address associated with wlan0 .
Then run the following, using your host's IP address:
host$ sudo iptables -t nat -A PREROUTING -p tcp -s 0/0 \
-d 137.112.41.35 --dport 1080 -j DNAT --to 192.168.7.2:80
Now browse to your host computer at port 1080 . That is, if your host's IP address is
123.456.789.0 , enter 123.456.789.0:1080 . The :1080 specifies what port
number to use. The request will be forwarded to the server on your Bone listening to port
80 . (I used 1080 here, in case your host is running a web server of its own on port 80 .)
Search WWH ::




Custom Search