Not entirely clear what you're trying to do or what you mean trying to set the server up to access from anywhere.
For the FTP, you'll first need an FTP service. Run:
Quote:
sudo apt-get install proftpd
sudo nano /etc/proftpd/proftpd.conf
|
Find the following by scrolling down the screen:
Delete the # character from that line then press Ctrl+X > Y > enter, then run:
Quote:
sudo service proftpd restart
|
Once it runs you'll be able to log into the FTPd using your Ubuntu server user account.
Once you've done that you'll want to make sure your router is pointing your port forward setting to the right IP. You can confirm the correct IP with ifconfig:
You'll be shown something like the following.
Quote:
eth0 Link encap:Ethernet HWaddr 08:00:27:2f:e7:75
inet addr:192.168.42.34 Bcast:192.168.42.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe2f:e775/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2342 errors:0 dropped:0 overruns:0 frame:0
TX packets:2659 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1368959 (1.3 MiB) TX bytes:257063 (251
|
Don't worry about all of it; just look at the interface (eth0, eth1, wlan0 etc) that appears to be the busiest. You're looking for the
inet addr. That's your machine's network IP given by the router. Make sure your port forward is set to forward to this IP. The port should remain the same.
Once you've done all of that and it works have a look online for a guide to configuring proftpd to use SFTP (secure).