Tuesday, July 21, 2009

Samba share from MAC over WAN

Setup loopback adapter on MAC using command below and then use SSH Port forwarding.

sudo ifconfig lo0 10.0.0.1
sudo ssh -L 10.0.0.1:139:192.168.1.4:139 root@staran.webhop.net

Enable port 22 on Router and forward WAN traffic to 192.168.1.1. Note that the destination host is 192.168.1.4 and not 192.168.1.1.

No comments:

Post a Comment