[Solved] vsftpd setup for outside access

Build it and learn to secure your system/server.


Re: vsftpd setup for outside access

Postby tanmay.01 » Mon Jul 01, 2013 12:39 pm

Did you try my solution.. I think it would be enough.
HP ENVY 15
•3rd generation Intel(R) Core(TheeMahn) i5-3210M Processor (2.5 GHz with Turbo Boost up to 3.1 GHz)
• 1GB Radeon(TheeMahn) HD 7750M GDDR5 Graphics [HDMI]
• 6GB 1600DDR3 System Memory (2 Dimm)
• 750GB 7200 rpm Hard Drive
• Intel 2x2 802.11a/b/g/n WLAN + Bluetooth(R)
• Full-size Radiance backlit keyboard.

Image
User avatar
tanmay.01
Moderator
 
Posts: 253
Joined: Wed Dec 07, 2011 1:03 pm
Location: India
Age: 27
Operating System: Other Linux



Re: vsftpd setup for outside access

Postby jslick1jim » Mon Jul 01, 2013 1:03 pm

iam working on it.
ImageMotherboard Msi Eclipse Sli
Cpu intel i7 920
Mem 6gig ddr3
x-fi extreme audio
ps2 keyboard
usb razer mouse
2 sata2 320 wd hd
2 ide 320 wd hd
2 segate 1tb hd
4 wd black 1tb hd
Visontek 5870
Hp Officejet Pro 8500 wireless
Lian Li PC-343B Modular Black Aluminum Cube Case
32in Olevia LCD HD TV
Ultimate Edition 3.4 64 bit
jslick1jim
U.E. Graduate
U.E. Graduate
 
Posts: 89
Joined: Fri Nov 21, 2008 1:00 pm
Age: 62
Operating System: Ultimate Edition 3.4 64 BIT



Re: vsftpd setup for outside access

Postby jslick1jim » Mon Jul 01, 2013 1:13 pm

tanmay.01 wrote:How is your NAT configured or your firewall configured..?
FTP's on linux use passive ftp connection.
ANd are you using ssh..?

Add following to /etc/vsftpd.conf
Code: Select all
connect_from_port_20=YES
pasv_enable=YES
pasv_addr_resolve=YES
pasv_address=myaddress.no-ip.org
pasv_min_port=4242
pasv_max_port=4252


So which ports do i forward on my modem? 20 ?
ImageMotherboard Msi Eclipse Sli
Cpu intel i7 920
Mem 6gig ddr3
x-fi extreme audio
ps2 keyboard
usb razer mouse
2 sata2 320 wd hd
2 ide 320 wd hd
2 segate 1tb hd
4 wd black 1tb hd
Visontek 5870
Hp Officejet Pro 8500 wireless
Lian Li PC-343B Modular Black Aluminum Cube Case
32in Olevia LCD HD TV
Ultimate Edition 3.4 64 bit
jslick1jim
U.E. Graduate
U.E. Graduate
 
Posts: 89
Joined: Fri Nov 21, 2008 1:00 pm
Age: 62
Operating System: Ultimate Edition 3.4 64 BIT



Re: vsftpd setup for outside access

Postby tanmay.01 » Mon Jul 01, 2013 1:50 pm

Check my complete guide viewtopic.php?f=127&t=9294

You need to forward 20, 21 on both tcp and udp
Also group forward fort 4242 to 4252

on your router.
HP ENVY 15
•3rd generation Intel(R) Core(TheeMahn) i5-3210M Processor (2.5 GHz with Turbo Boost up to 3.1 GHz)
• 1GB Radeon(TheeMahn) HD 7750M GDDR5 Graphics [HDMI]
• 6GB 1600DDR3 System Memory (2 Dimm)
• 750GB 7200 rpm Hard Drive
• Intel 2x2 802.11a/b/g/n WLAN + Bluetooth(R)
• Full-size Radiance backlit keyboard.

Image
User avatar
tanmay.01
Moderator
 
Posts: 253
Joined: Wed Dec 07, 2011 1:03 pm
Location: India
Age: 27
Operating System: Other Linux



Re: vsftpd setup for outside access

Postby jslick1jim » Mon Jul 01, 2013 2:06 pm

Thank you i'll post back when i get done.
If i don't get it today be a week before i get back too it, work keeps me on the road week at a time.
It takes me awhile using nano or vi never really got it down. :(
ImageMotherboard Msi Eclipse Sli
Cpu intel i7 920
Mem 6gig ddr3
x-fi extreme audio
ps2 keyboard
usb razer mouse
2 sata2 320 wd hd
2 ide 320 wd hd
2 segate 1tb hd
4 wd black 1tb hd
Visontek 5870
Hp Officejet Pro 8500 wireless
Lian Li PC-343B Modular Black Aluminum Cube Case
32in Olevia LCD HD TV
Ultimate Edition 3.4 64 bit
jslick1jim
U.E. Graduate
U.E. Graduate
 
Posts: 89
Joined: Fri Nov 21, 2008 1:00 pm
Age: 62
Operating System: Ultimate Edition 3.4 64 BIT



Re: vsftpd setup for outside access

Postby ryanvade » Mon Jul 01, 2013 4:09 pm

No Xorg?
Image

Laptop: HP dv6t-7000 CTO Desktop: Compaq Presario SR21632wm
i5 2450m Pentium D 960 @ 4 GHz
6 GB ram 2 GB ram
Intel HD 3000 Graphics / Nvidia GT 630M Nvidia GT 520 @ 820 MHz
Diamond II-B 3.10-rc4/Windows 7 Home Premium KDE | Windows 7 Starter/Arch Linux

Paid supporter of the Linux Foundation
User avatar
ryanvade
Moderator
 
Posts: 499
Joined: Sat Apr 28, 2012 10:54 am
Operating System: Other Linux



Re: vsftpd setup for outside access

Postby jslick1jim » Mon Jul 01, 2013 7:40 pm

No only thing is webmin which i make good use of.
ImageMotherboard Msi Eclipse Sli
Cpu intel i7 920
Mem 6gig ddr3
x-fi extreme audio
ps2 keyboard
usb razer mouse
2 sata2 320 wd hd
2 ide 320 wd hd
2 segate 1tb hd
4 wd black 1tb hd
Visontek 5870
Hp Officejet Pro 8500 wireless
Lian Li PC-343B Modular Black Aluminum Cube Case
32in Olevia LCD HD TV
Ultimate Edition 3.4 64 bit
jslick1jim
U.E. Graduate
U.E. Graduate
 
Posts: 89
Joined: Fri Nov 21, 2008 1:00 pm
Age: 62
Operating System: Ultimate Edition 3.4 64 BIT



Re: vsftpd setup for outside access

Postby jslick1jim » Mon Jul 01, 2013 10:50 pm

Ok thats enough of this for today.
I got local access of root which is not to be!?
And got no external access!?
sounds like i got more work in front of me.
get it next week :(

Thanks guys

[b][b]That is no remote ftp access[/b][/b]
ive access to apache remotely
ImageMotherboard Msi Eclipse Sli
Cpu intel i7 920
Mem 6gig ddr3
x-fi extreme audio
ps2 keyboard
usb razer mouse
2 sata2 320 wd hd
2 ide 320 wd hd
2 segate 1tb hd
4 wd black 1tb hd
Visontek 5870
Hp Officejet Pro 8500 wireless
Lian Li PC-343B Modular Black Aluminum Cube Case
32in Olevia LCD HD TV
Ultimate Edition 3.4 64 bit
jslick1jim
U.E. Graduate
U.E. Graduate
 
Posts: 89
Joined: Fri Nov 21, 2008 1:00 pm
Age: 62
Operating System: Ultimate Edition 3.4 64 BIT



Re: vsftpd setup for outside access

Postby jslick1jim » Wed Jul 03, 2013 7:05 am

Well it does work. :D But not like i wanted got to use sftp.

http://kb.iu.edu/data/akqg.html
ImageMotherboard Msi Eclipse Sli
Cpu intel i7 920
Mem 6gig ddr3
x-fi extreme audio
ps2 keyboard
usb razer mouse
2 sata2 320 wd hd
2 ide 320 wd hd
2 segate 1tb hd
4 wd black 1tb hd
Visontek 5870
Hp Officejet Pro 8500 wireless
Lian Li PC-343B Modular Black Aluminum Cube Case
32in Olevia LCD HD TV
Ultimate Edition 3.4 64 bit
jslick1jim
U.E. Graduate
U.E. Graduate
 
Posts: 89
Joined: Fri Nov 21, 2008 1:00 pm
Age: 62
Operating System: Ultimate Edition 3.4 64 BIT



Re: vsftpd setup for outside access

Postby tanmay.01 » Wed Jul 03, 2013 7:28 am

Did my method work for you.. (becasue i tried it myself) .. ? If no how did you solve it ? And mark the thread as solved.
HP ENVY 15
•3rd generation Intel(R) Core(TheeMahn) i5-3210M Processor (2.5 GHz with Turbo Boost up to 3.1 GHz)
• 1GB Radeon(TheeMahn) HD 7750M GDDR5 Graphics [HDMI]
• 6GB 1600DDR3 System Memory (2 Dimm)
• 750GB 7200 rpm Hard Drive
• Intel 2x2 802.11a/b/g/n WLAN + Bluetooth(R)
• Full-size Radiance backlit keyboard.

Image
User avatar
tanmay.01
Moderator
 
Posts: 253
Joined: Wed Dec 07, 2011 1:03 pm
Location: India
Age: 27
Operating System: Other Linux

PreviousNext

Return to Server and Security

Who is online

Users browsing this forum: No registered users and 0 guests