Hi!
I am running Attitude Adjustment on my TP-LINK 3020. My ISP runs a hotspot that I have to connect to and so my interfaces are setup like this: http://i.imgur.com/ldpdctT.png, wifi: http://i.imgur.com/w8xCEdh.png
I have usb setup and have automounted my USB disks with block-mount. I have also done pivot overlay method and now have 3 gigs of space for /overlay.
I want to run a NFS on the router. So I did the following:
1. Installed 'nfs-kernel-server unfs3'
2. vim /etc/exports
'/media 192.168.1.0/255.255.255.0(rw,sync,no_subtree_check)'
3. Ran:
/etc/init.d/portmap start
/etc/init.d/unfs3 start
/etc/init.d/portmap enable
/etc/init.d/unfs3 enable
Now I know that I must execute these commands (wiki.openwrt.org/doc/howto/nfs.server) but dont know what I must set NET_LAN and IF_LAN variables in the shell.
$IPT -A INPUT -j ACCEPT -i eth0.1 -s $NET_LAN -p tcp --dport 111
$IPT -A INPUT -j ACCEPT -i eth0.1 -s $NET_LAN -p udp --dport 111
$IPT -A INPUT -j ACCEPT -i eth0.1 -s $NET_LAN -p tcp --dport 32777:32780
$IPT -A INPUT -j ACCEPT -i eth0.1 -s $NET_LAN -p udp --dport 32777:32780
$IPT -t raw -A INPUT -i $IF_LAN -s $NET_LAN -p tcp --dport 32777:32780 -j CT --notrack
$IPT -t raw -A INPUT -i $IF_LAN -s $NET_LAN -p udp --dport 32777:32780 -j CT --notrack
$IPT -t raw -A OUTPUT -o $IF_LAN -d $NET_LAN -p tcp --dport 32777:32780 -j CT --notrack
$IPT -t raw -A OUTPUT -o $IF_LAN -d $NET_LAN -p udp --dport 32777:32780 -j CT --notrack
I also dont know how to connect to my NFS server from my computer running OSX.
Thanks for your help!
